Node and npm modules
Many people will want to leverage code and libraries that are built for Node, in particular the large set of packages available on the npm registry.
There are currently several ways to do this - check out the links below to learn more about these methods.
- Using
npm:
specifiers andnode:
specifiers - package.json compatibility
- Using CDNs
Unstable compatibility features
Node and npm compatiblity is an ongoing project for the Deno team. As such, there are a number of unstable features aimed at improving compatibility that you may want to reference. Please check out the unstable feature flags documentation for options that may improve your project's compatibility with code written for Node.js.