📝 Edit page
➕ Add page
Deno
A secure runtime for JavaScript and TypeScript
Topics
Pages
Content
Wikipedia excerpt:Deno is a runtime for JavaScript and TypeScript that is based on the V8 JavaScript engine and the Rust programming language.
It was created by Ryan Dahl, original creator of Node.js, and is focused on productivity. It was announced by Dahl in 2018 during his talk “10 Things I Regret About Node.js”.
Deno explicitly takes on the role of both runtime and package manager within a single executable, rather than requiring a separate package-management program.
Key links
- 🏠 Homepage: https://deno.land/
- 📗 Docs: https://deno.land/manual
- 👨💻 Repo:
- 📦 Packages registry: https://deno.land/x
- 🌐 Wikipedia
Tutorials
- 100 second intro (YouTube)
-
Deno Tutorial on LYTY site
- The tutorial is broken into sections like “Hello World” and “Package Management”.
Cheatsheets
My related projects
Migrating from Node to Deno
- Deno replaces Node as JavaScript runner and bundler.
- No need for
package.json
. - Deno handles TypeScript - no external dependency needed.
- Deno can be used to format and lint code - no external dependencies needed.
- Deno handles JSX, so you can use React easily.
- Deno can be used to bundle multiple JS files, without installing Webpack. You may run into complexity with adding support for
.vue
files though, as Deno doesn’t support them. Or you need to restructure your components and views as.js
files. - Deno doesn’t support minification. But
npx esbuild --minify ...
is a great choice that is modern and performant. - You can easily use
make
andMakefile
for running tasks in place of usingpackage.json
scripts.