Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/examples

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
Index
chat
cat.ts

An implementation of cat.

catj.ts
colors.ts

An example using std/fmt/colors.

curl.ts

Basic CLI to fetch URLs and log body to console.

echo_server.ts

A simple echo server which listens on port :8080.

flags.ts

Example of using std/flags to log arguments to the console.

gist.ts
welcome.ts

Welcome to Deno!

xeval.ts

Run a script for each new-line or otherwise delimited chunk of standard input.