The Deno Standard Library
Go to file
Asher Gomez 4e50956b4d work
2023-11-06 14:33:29 +11:00
_tools
.devcontainer
.github quieter 2023-11-02 16:50:42 +11:00
archive
assert
async chore(async): remove _exponentialBackoffWithJitter from public file (#3720) 2023-10-25 14:06:35 +09:00
bytes BREAKING: remove deprecated BytesList() (#3740) 2023-10-29 13:09:19 +09:00
collections chore: cleanup collections/CONTRIBUTING.md (#3741) 2023-10-31 14:38:29 +11:00
console refactor(console): format test names (#3756) 2023-11-02 10:10:43 +11:00
crypto docs(crypto): remove use of deprecated toHashString() (#3721) 2023-10-26 08:19:44 +09:00
csv chore: remove readableStreamFromReader() & StringReader() in CSV stream test (#3725) 2023-10-26 18:44:34 +09:00
datetime
dotenv BREAKING(dotenv): remove deprecated restrictEnvAccessTo option (#3705) 2023-10-22 10:54:32 +09:00
encoding
flags
fmt chore: cleanup old std/fmt files (#3742) 2023-10-29 13:18:48 +09:00
front_matter
fs fix(fs): expandGlob/expandGlobSync don't require full --allow-read perms on granted read permissions (#3692) 2023-10-24 16:51:33 +09:00
html
http fix: add [Symbol.dispose]() to MockListener() (#3760) 2023-11-02 00:29:36 +01:00
io chore: remove deprecated BytesList() in readDelim() (#3726) 2023-10-29 06:18:31 +09:00
json
jsonc
log
media_types chore: replace deprecated typeByExtension() in content_type.ts (#3727) 2023-10-29 06:32:09 +09:00
msgpack
path chore: address asher's comment 2023-11-02 16:51:51 +11:00
permissions
regexp
semver feat(semver): canParse (#3709) 2023-10-24 13:39:55 +09:00
signal
streams work 2023-11-06 14:33:29 +11:00
testing
text feat: add std/text with word-similarity helpers (#3488) 2023-11-05 21:49:00 +09:00
toml
ulid
url
uuid
wasi BREAKING: deprecate std/wasi (#3732) 2023-10-31 14:37:22 +11:00
yaml
.editorconfig
.gitattributes
.gitignore chore: add cov:* tasks (#3743) 2023-10-29 13:23:03 +09:00
.gitmodules
browser-compat.tsconfig.json
CONTRIBUTING.md docs: separate contributing guidelines (#3715) 2023-10-25 13:21:05 +09:00
deno.json add deno fmt --check 2023-11-02 16:50:42 +11:00
LICENSE
README.md docs: add "Stability" README section (#3745) 2023-10-31 17:17:28 +11:00
Releases.md 0.205.0 (#3761) 2023-11-02 00:34:17 +01:00
types.d.ts
version.ts 0.205.0 (#3761) 2023-11-02 00:34:17 +01:00

Deno Standard Library

codecov ci

High-quality APIs for Deno and the web. Use fearlessly.

Get Started

import { copy } from "https://deno.land/std@$STD_VERSION/fs/copy.ts";

await copy("./foo", "./bar");

See here for recommended usage patterns.

Documentation

Check out the documentation here.

  1. Include the version of the library in the import specifier.

    Good:

    import { copy } from "https://deno.land/std@0.204.0/fs/copy.ts";
    
  2. Only import modules that you require.

    Bad (when using only one function):

    import * as fs from "https://deno.land/std@$STD_VERSION/fs/mod.ts";
    

    Good (when using only one function):

    import { copy } from "https://deno.land/std@$STD_VERSION/fs/copy.ts";
    

    Good (when using multiple functions):

    import * as fs from "https://deno.land/std@$STD_VERSION/fs/mod.ts";
    
  3. Do not import symbols with an underscore in the name.

    Bad:

    import { _format } from "https://deno.land/std@$STD_VERSION/path/_common/format.ts";
    
  4. Do not import modules with an underscore in the path.

    Bad:

    import { filterInPlace } from "https://deno.land/std@$STD_VERSION/collections/_utils.ts";
    
  5. Do not import test modules or test data.

    Bad:

    import { test } from "https://deno.land/std@$STD_VERSION/front_matter/test.ts";
    

Stability

Sub-module Status
archive Unstable
assert Stable
async Stable
bytes Stable
collections Stable
console Unstable
csv Stable
datetime Unstable
dotenv Unstable
encoding Unstable
flags Unstable
fmt Stable
front_matter Unstable
fs Stable
html Unstable
http Unstable
io Deprecated
json Stable
jsonc Stable
log Unstable
media_types Stable
msgpack Unstable
path Unstable
permissions Deprecated
regexp Unstable
semver Unstable
signal Deprecated
streams Unstable
testing Stable
toml Stable
ulid Unstable
url Unstable
uuid Stable
wasi Deprecated
yaml Stable

For background and discussions regarding the stability of the following sub-modules, see #3489.

Contributing

Check out the contributing guidelines here.

Releases

The Standard Library is versioned independently of the Deno CLI. This will change once the Standard Library is stabilized. See here for the compatibility of different versions of the Deno Standard Library and the Deno CLI.