| Sep | OCT | Nov |
| 10 | ||
| 2021 | 2022 | 2023 |
COLLECTED BY
Collection: Save Page Now
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.
(七)Has a number of companies interested in using and exploring Deno.
PowerShell (Windows):$curl -fsSL https://deno.land/install.sh | sh
Homebrew (Mac):$irm https://deno.land/install.ps1 | iex
See deno_install for more installation options.$brew install deno
Or a more complex one:$deno run https://deno.land/std@0.159.0/examples/welcome.ts
You can find a more in depth introduction, examples, and environment setup guides in the manual.import { serve } from "https://deno.land/std@0.159.0/http/server.ts";serve(req => new Response("Hello World\n"));
Format all supported files in the current directory and subdirectories:$deno lintChecked 54 files
Run a test:$deno fmtChecked 46 files
For the full list of tools and their options, see here.$deno test https://deno.land/std@0.159.0/testing/chai_example.tsrunning 3 tests from https://deno.land/std@0.159.0/testing/chai_example.tstest we can make chai assertions ... ok (8ms)test we can make chai expectations ... ok (2ms)test we can use chai should style ... ok (4ms)
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out (27ms)