- Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.
- Secure by default. No file, network, or environment access, unless explicitly enabled.
- Supports TypeScript out of the box.
- Has built-in utils like a dependency inspector (deno info) and a code formatter (deno fmt).
- Has a set of reviewed (audited) standard modules that are guaranteed to work with Deno: deno.land/std
Run deno
in console to open REPL env. Just like with node.
deno run https://deno.land/std/examples/welcome.ts
After initial deno run
package will be cached.
deno install https://deno.land/std@0.73.0/http/file_server.ts
add PATH:
echo 'export PATH="$HOME/.deno/bin:$PATH"' >> ~/.zshrc
- TS or JS
- Secure by Default
- De-centralized packages
- STD library
- Modern JS
- ES Modules
- Top Level Await
- Browser compatible API
- WASM!
deno run server.ts
DeNO wILl MAke NodE jS ObsolEtE!!!!11!
nope