Getting Started with Deno in Production

Stop wrestling with tooling. Deno's secure, all-in-one runtime is production-ready and fully compatible with your existing Node.js projects.

Getting Started with Deno in Production
#1about 2 minutes

What is Deno and why was it created

Deno is a modern, open-source JavaScript runtime built in Rust by the original creator of Node.js.

#2about 3 minutes

Installing Deno and initializing a new project

Install Deno with a single command and use `deno init` to scaffold a new project with essential files.

#3about 2 minutes

Setting up the VS Code extension for Deno

Install the official Deno VS Code extension to enable the Language Server Protocol for features like auto-completion and error highlighting.

#4about 2 minutes

Using Deno's built-in test runner and framework

Run tests without third-party dependencies using the built-in `deno test` command and assertion libraries from the standard library or JSR.

#5about 3 minutes

Understanding the Deno standard library and deno.json

Leverage the Deno standard library for common tasks and manage project dependencies and scripts within the `deno.json` configuration file.

#6about 5 minutes

Exploring Deno's global cache and built-in tooling

Deno uses a global cache instead of a `node_modules` folder and includes built-in tools for type checking, linting, and formatting.

#7about 4 minutes

Using the Deno API for file I/O and servers

Interact with the file system, create a basic HTTP server with `Deno.serve`, and use standard web APIs like `fetch` directly in the runtime.

#8about 4 minutes

Understanding Deno's Node.js compatibility and security

Use Node.js built-in modules via the `node:` specifier and manage runtime access to sensitive APIs through Deno's explicit permission model.

#9about 5 minutes

How to run an existing Node.js project with Deno

Run an existing Node.js application in Deno by using `deno install` to handle dependencies and executing its scripts from `package.json`.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles

From learning to earning

Jobs that call for the skills explored in this talk.