nodejs
By Paul Krill 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 ...
Info World
By Paul Krill 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....
Info World
By Matthew Tyson 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...
Info World
By Paul Krill 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. Announced April 1 and described as a “huge update,” Bun 1.1 is said to be faster and more reliable than earlier releases, with many bug fixes. Bun now supports Windows 10 and higher, making the runtime accessible to Windows developers. Everything from the Bun runtime to the test runner, package handler, and bundler will work on Windows. Intended as a drop-in re...
Info World
By Paul Krill 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 a...
Info World
By Paul Krill 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 jus...
Info World
閲覧を続けるには、ノアドット株式会社が「プライバシーポリシー」に定める「アクセスデータ」を取得することを含む「nor.利用規約」に同意する必要があります。
「これは何?」という方はこちら