Deno 1.31, the latest version of the Node.js rival runtime for JavaScript, TypeScript, and WebAssembly, adds package.json
support. The new feature is one of several improvements designed to make it easier for developers to transition from existing Node.js projects.
Deno now will automatically detect a package.json
and use it to install and resolve dependencies used. This also enables the running of project-specific scripts defined in the scripts
section with deno task
. However, current support is limited to simple scripts. Programs such as rimraf
or cross-env
will not yet work, but support for them will be added in an upcoming release.
To read this article in full, please click here