NPM compatibility in the Deno JavaScript/TypeScript runtime has reached the stable stage, meaning developers leveraging Deno now can import more than 1.3 million NPM modules.

NPM compatibility is featured in Deno 1.28, unveiled November 14. NPM support makes it easier to build apps, the Deno developers said, because developers now can use persistent data modules such as MySQL, Mongoose, and Prisma, and front end frameworks such as React and Vue. The project has posted instructions for getting started with Prisma, Mongoose, and Apollo.

Deno’s builders said using NPM is safer with Deno, due to Deno’s secure-by-default, opt-in permissions model. Importing NPM modules is done through URLs in a standard-compliant fashion. Developers can use NPM packages by importing an

1
npm:

specifier.

To read this article in full, please click here


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *