You are viewing documentation generated from a user contribution or an upcoming release. The contents of this document may not have been reviewed by the Deno team. Click here to view the documentation for the latest release.
Edit

Node -> Deno cheatsheet

Node Deno
node file.js deno run file.ts
npm i -g deno install
npm i / npm install n/a ¹
npm run deno task
eslint deno lint
prettier deno fmt
rollup / webpack / etc deno bundle
package.json deno.json / deno.jsonc / import_map.json
tsc deno check ²
typedoc deno doc
jest / ava / mocha / tap / etc deno test
nodemon deno run/lint/test --watch
nexe / pkg deno compile
npm explain deno info
nvm / n / fnm deno upgrade
tsserver deno lsp
nyc / c8 / istanbul deno coverage
benchmarks deno bench

¹ See Linking to external code, the runtime downloads and caches the code on first use.

² Type checking happens automatically, TypeScript compiler is built into the deno binary.