Bun 1.1 JavaScript toolkit backs Windows 10
InfoWorld | Node.js
by
2w ago
Bun 1.1, the latest version of the Bun toolkit and drop-in Node.js replacement for building, testing, and running JavaScript and TypeScript, now supports Windows 10. The latest version is also more compatible with Node.js. To read this article in full, please click here ..read more
Visit website
Deno boosts dependency management with JSR
InfoWorld | Node.js
by
3w ago
Deno 1.42, the latest release of the JavaScript, TypeScript, and WebAssembly runtime, introduces support for JSR, a new package registry for JavaScript and TypeScript. The release also improves Node and NPM compatibility and startup times. Deno 1.42 was announced March 28. Users can upgrade in their terminal by running the deno upgrade command. Deno 1.42 allows users to consume and publish modules to the JSR package registry directly from Deno, using the deno add and deno publish subcommands. At the same time, Deno continues to support NPM. JSR offers a modern, TypeScript-first and cross-platf ..read more
Visit website
Deno shrinks deno compile binaries
InfoWorld | Node.js
by
2M ago
The developers of the Deno TypeScript/JavaScript runtime have reduced the size of deno compile binaries and introduced an official Linux ARM64 build with the newly released Deno 1.41 version. This latest release of the Node.js rival was unveiled February 22. Users can upgrade their Deno installation by running the following command in the terminal: deno upgrade Deno Land said the binaries produced by the deno compile command in Deno 1.41 are as much as 50% smaller than in previous versions. A “Hello World” program compiled to a 116MB binary on Mac ARM in Deno 1.40 compiled to just 58MB in De ..read more
Visit website
Deno adds API for date and time operations
InfoWorld | Node.js
by
3M ago
Deno 1.40, the latest version of the JavaScript runtime positioned as a rival to Node.js, has been launched with a Temporal API for advanced date and time operations. The update was announced January 25. Deno can be accessed from deno.com. The Temporal API is intended to address shortcomings of the existing Date object in JavaScript. It’s available with the –-unstable-temporal flag. Temporal acts as a top-level namespace that brings a modern date/time API to JavaScript. Temporal provides separate classes for date-only, time-only, and other scoped use cases, making code more readable and preven ..read more
Visit website
Deno adds Deno Cron for job scheduling
InfoWorld | Node.js
by
5M ago
Deno Land, the developers of the Deno TypeScript/JavaScript runtime, have introduced Deno Cron, a feature the company describes as an easy way to create scheduled jobs. Announced November 29 and available behind the --unstable flag in Deno 1.38, Deno.cron() is a function that takes three parameters: the name of the scheduled job, the schedule, and the handler, the latter being the function executed on the schedule provided. Deno Cron’s schedule uses the Unix cron format and the UTC time zone. Deno Cron handlers can perform actions such as updating state in Deno KV, pinging a website, sending e ..read more
Visit website
Deno 1.38 features HTML documentation, hot module replacement
InfoWorld | Node.js
by
6M ago
The Deno runtime for JavaScript, TypeScript, and WebAssembly has been updated with new HTML capabilities. The latest updates enhance documentation and client-side navigation in Deno and the Fresh web framework, respectively. Unveiled November 2, Deno 1.38 offers “significant” improvements to the deno doc command, highlighted by an ability to produce documentation using a new deno doc --html feature. When selected, deno doc produces a static site with documentation. Deno 1.38 also features a capability for hot module replacement; an –-unstable-hmr flag detects changes and reloads the ..read more
Visit website
Using JavaScript's built-in objects
InfoWorld | Node.js
by
6M ago
JavaScript's built-in objects include Object, JSON, console, String, Math, Date, and the window and global objects. These are some of the most important and useful parts of the JavaScript language. Together, they are essential elements of the programming environment in both the browser and server-side platforms like Node. The Object in JavaScript Object is the root object of all prototypes in JavaScript. Aside from providing the foundation for the JavaScript object model, Object imparts important methods such as toString() and assign(). Every object in JavaScript has these ..read more
Visit website
Node.js 21 brings WebSocket client
InfoWorld | Node.js
by
6M ago
Node.js 21, the latest release of the open source cross-platform JavaScript runtime, has arrived, featuring a built-in WebSocket client and support for globs in the platform’s test runner. Announced October 17, Node.js 21 is equipped with an experimental, browser-compatible WebSocket implementation, enabled through the --experimental-websocket flag. WebSocket enables two-way communication between a browser and server, with no need to poll the server for a reply. To read this article in full, please click here ..read more
Visit website
Latest Node.js boosts stream performance
InfoWorld | Node.js
by
7M ago
Node.js v20.8.0 has arrived, offering performance improvements for streams in the popular JavaScript runtime environment. Published as the “current” version of Node.js on September 29 and offering the platform’s latest features, Version 20.8.0 can be downloaded from nodejs.org. Stream performance improvements were made to writeable and readable streams, improving creation and destruction by roughly 15% and reducing memory overhead of each stream. Other highlights include performance improvements for readable webstream, boosting readable stream async iterator consumption by about 140%, and impr ..read more
Visit website
Deno runtime now integrates with Jupyter Notebook
InfoWorld | Node.js
by
7M ago
Deno runtime proponents are touting the simplification of software development via the use of Jupyter Notebook in Deno 1.37. This latest version of the runtime for JavaScript, TypeScript, and WebAssembly also features improved editor support for Visual Studio Code. To read this article in full, please click here ..read more
Visit website

Follow InfoWorld | Node.js on FeedSpot

Continue with Google
Continue with Apple
OR