The Deno Standard Library
Go to file
2023-10-29 13:23:03 +09:00
_tools chore(_tools): update status towards stabilization (#3636) 2023-09-13 22:16:05 +09:00
.devcontainer chore: add development container configuration (#1938) 2022-02-21 14:23:43 +11:00
.github chore: add cov:* tasks (#3743) 2023-10-29 13:23:03 +09:00
archive fix(archive/untar.ts): cannot access symlinks in archives (#3686) 2023-10-06 15:33:36 +09:00
assert fix(assert): fix swapping of multiline str diff (#3685) 2023-10-04 10:43:58 +09:00
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 refactor: move unstable std/collections files (#3700) 2023-10-18 10:24:46 +09:00
console refactor: cleanup usage of double equals (#3566) 2023-08-25 18:04:43 +09: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 fix(datetime): fix dayOfYear when the timezone has DST (#3668) 2023-09-26 14:04:05 +09:00
dotenv BREAKING(dotenv): remove deprecated restrictEnvAccessTo option (#3705) 2023-10-22 10:54:32 +09:00
encoding refactor: remove top-level arrow sytnax use (#3687) 2023-10-11 16:19:48 +09:00
flags refactor: cleanup usage of double equals (#3566) 2023-08-25 18:04:43 +09:00
fmt chore: cleanup old std/fmt files (#3742) 2023-10-29 13:18:48 +09:00
front_matter BREAKING(front_matter): deprecate language-specific test functions (#3654) 2023-10-11 16:21:06 +09:00
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 BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
http chore(http): remove iterateReader() from file_server_test.ts (#3730) 2023-10-28 11:34:08 +09:00
io chore: remove deprecated BytesList() in readDelim() (#3726) 2023-10-29 06:18:31 +09:00
json test(json): fix expectation of ConcatenatedJsonParseStream test (#3598) 2023-09-01 11:26:59 +09:00
jsonc BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
log fix(log): rotating file handler sync setup and destroy (#3543) 2023-08-29 16:48:52 +09:00
media_types chore: replace deprecated typeByExtension() in content_type.ts (#3727) 2023-10-29 06:32:09 +09:00
msgpack chore(msgpack): get rid of testing/asserts usage (#3597) 2023-09-01 11:31:43 +09:00
path BREAKING(path): split path into per-os modules, deprecate legacy os-specific exports (#3649) 2023-09-28 19:54:53 +09:00
permissions BREAKING(permissions): deprecate permissions module (#3567) 2023-08-25 17:20:02 +09:00
regexp BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
semver feat(semver): canParse (#3709) 2023-10-24 13:39:55 +09:00
signal refactor(_util): remove _util/os (#3564) 2023-08-25 18:07:43 +09:00
streams refactor: avoid internally using strings for numbers (#3665) 2023-09-21 19:23:28 +09:00
testing refactor: move unstable std/collections files (#3700) 2023-10-18 10:24:46 +09:00
toml fix(toml/parse): fix edge cases (#3509) 2023-07-30 18:23:34 +09:00
ulid feat(ulid): port /x/ulid module (#3582) 2023-09-12 20:31:03 +09:00
url BREAKING(path): split path into per-os modules, deprecate legacy os-specific exports (#3649) 2023-09-28 19:54:53 +09:00
uuid BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
wasi BREAKING(dotenv): fix dotenv permissions (#3578) 2023-08-29 16:36:26 +09:00
yaml refactor: remove top-level arrow sytnax use (#3687) 2023-10-11 16:19:48 +09:00
.editorconfig chore(node): add asn1.js (#1971) 2022-02-28 20:55:56 +09:00
.gitattributes Remove std/node, it was merged into Deno itself (#3206) 2023-02-22 10:28:55 -05:00
.gitignore chore: add cov:* tasks (#3743) 2023-10-29 13:23:03 +09:00
.gitmodules chore: Setup CI and tests 2021-02-01 12:20:35 +01:00
browser-compat.tsconfig.json fix: improve type safety for browser-compatible modules (#995) 2021-07-06 11:15:37 +09:00
CONTRIBUTING.md docs: separate contributing guidelines (#3715) 2023-10-25 13:21:05 +09:00
deno.json chore: add cov:* tasks (#3743) 2023-10-29 13:23:03 +09:00
LICENSE chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
README.md docs: re-write README (#3731) 2023-10-28 16:50:54 +09:00
Releases.md 0.204.0 (#3695) 2023-10-13 00:54:04 +02:00
types.d.ts chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +09:00
version.ts 0.204.0 (#3695) 2023-10-13 00:54:04 +02: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";
    

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.