- Notifications
You must be signed in to change notification settings - Fork5.5k
A modern runtime for JavaScript and TypeScript.
License
denoland/deno
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Deno(/ˈdiːnoʊ/, pronounceddee-no
) is a JavaScript, TypeScript, and WebAssembly runtime with securedefaults and a great developer experience. It's built onV8,Rust, andTokio.
Learn more about the Deno runtimein the documentation.
Install the Deno runtime on your system using one of the commands below. Notethat there are a number of ways to install Deno - a comprehensive list ofinstallation options can be foundhere.
Shell (Mac, Linux):
curl -fsSL https://deno.land/install.sh| sh
PowerShell (Windows):
irm https://deno.land/install.ps1| iex
Homebrew (Mac):
brew install deno
Chocolatey (Windows):
choco install deno
WinGet (Windows):
winget install--id=DenoLand.Deno
Complete instructions for building Deno from source can be found in the manualhere.
Deno can be used for many different applications, but is most commonly used tobuild web servers. Create a file calledserver.ts
and include the followingTypeScript code:
Deno.serve((_req:Request)=>{returnnewResponse("Hello, world!");});
Run your server with the following command:
deno run --allow-net server.ts
This should start a local web server onhttp://localhost:8000.
Learn more about writing and running Deno programsin the docs.
- Deno Docs: official guides and reference docs forthe Deno runtime,Deno Deploy, and beyond.
- Deno Standard Library: officially supported commonutilities for Deno programs.
- deno.land/x: registry for third-party Deno modules.
- Developer Blog: Product updates, tutorials, andmore from the Deno team.
We appreciate your help! To contribute, please read ourcontributing instructions.
About
A modern runtime for JavaScript and TypeScript.