Skip to main content

Standard Library

Deno provides a set of standard modules that are audited by the core team and are guaranteed to work with Deno.

Standard library is available at: https://deno.land/std

Versioning and stability

Standard library is not yet stable and therefore it is versioned differently than Deno. For latest release consult https://deno.land/std or https://deno.land/std/version.ts. The standard library is released each time Deno is released.

We strongly suggest to always use imports with pinned version of standard library to avoid unintended changes. For example, rather than linking to the default branch of code, which may change at any time, potentially causing compilation errors or unexpected behavior:

// import the latest release, this should be avoided
import { copy } from "https://deno.land/std/fs/copy.ts";

instead, use a version of the std library which is immutable and will not change:

// imports from v0.206.0 of std, never changes
import { copy } from "https://deno.land/std@0.206.0/fs/copy.ts";