InfoWorld | Node.js
775 FOLLOWERS
InfoWorld, the leading voice in emerging enterprise technology, is the go-to resource for developers, architects, and business leaders launching next-generation initiatives on scalable cloud platforms, where such future-focused tech as AI/machine learning, big data analytics, and NoSQL databases evolve continuously. InfoWorld serves those determined to seek business advantage by staying ahead..
InfoWorld | Node.js
4M ago
Deno Land has released Deno 1.44, the latest version of the JavaScript, TypeScript, and WebAssembly runtime rivaling Node.js. The upgrade adds support for private NPM registries, letting developers use internal packages with Deno by configuring an .npmrc file. Performance of the Deno runtime also has been improved.
To read this article in full, please click here ..read more
InfoWorld | Node.js
5M ago
With newly introduced Deno 1.43, the developers of the JavaScript/TypeScript runtime have enhanced its language server, speeding up auto-completion performance and improving memory consumption.
Introduced May 1, Deno 1.43 can be accessed via running the deno upgrade command in a terminal.
Deno Land developers have reworked many aspects of the Deno language server, commonly referred to as Deno LSP, which provides auto-completion in the editor and other capabilities. With Deno 1.43, auto-completion now takes less than one second in larger projects when it used to take six to eight seconds, Deno ..read more
InfoWorld | Node.js
6M ago
Node.js 22, the latest version of the popular JavaScript runtime, has arrived, featuring require() support for ECMAScript modules, an improved WebSocket client, and an updated version of the Google V8 JavaScript engine.
Announced April 24, version 22 of the event-driven, asynchronous runtime can be downloaded from Nodejs.org. The release adds require() support for synchronous ECMAScript module graphs under the flag: --experimental-require-module. If this flag is enabled and the ES module meets a couple of requirements, require() will load the requested module. Additionally, Node.js 2 ..read more
InfoWorld | Node.js
6M ago
Promises are a central mechanism for handling asynchronous code in JavaScript. You will find them in many JavaScript libraries and frameworks, where they're used to manage the results of an action. The fetch() API is one example of promises at work. As a developer, you might not be familiar with creating and using promises outside of an existing product, but it's surprisingly simple. Learning how to create promises will help you understand how libraries use them. It also puts a powerful asynchronous programming mechanism at your disposal.
Asynchronous programming with promises
I ..read more
InfoWorld | Node.js
6M 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
InfoWorld | Node.js
7M 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
InfoWorld | Node.js
8M 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
InfoWorld | Node.js
9M 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
InfoWorld | Node.js
11M 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
InfoWorld | Node.js
1y 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