The Deno Standard Library
Go to file
2024-06-20 18:13:50 +09:00
_tools docs(json): lint @std/json docs (#4798) 2024-06-18 10:10:57 +00:00
.github chore(fs): release fs@1.0.0-rc.1 (#5091) 2024-06-20 16:43:18 +10:00
.vscode chore: add vscode settings (#4735) 2024-05-15 15:41:32 +09:00
archive chore: release 2024.06.06 (#4984) 2024-06-06 20:26:57 +09:00
assert chore: release 2024.06.12 (#5031) 2024-06-12 15:22:43 +09:00
async BREAKING(async): make abortablePromise() and abortableAsyncIterable() private (#5056) 2024-06-19 15:26:44 +10:00
bytes chore(bytes): release bytes@1.0.0 (#4746) 2024-06-06 20:54:50 +10:00
cli chore(cli): release cli@1.0.0-rc.1 (#5068) 2024-06-18 19:30:12 +09:00
collections chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
crypto chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
csv chore: release 2024.06.06 (#4984) 2024-06-06 20:26:57 +09:00
data_structures chore(data-structures): release data-structures@1.0.0-rc.1 (#4987) 2024-06-10 16:21:33 +12:00
datetime chore: release 2024.06.06 (#4984) 2024-06-06 20:26:57 +09:00
dotenv chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
encoding chore: release 2024.06.06 (#4984) 2024-06-06 20:26:57 +09:00
expect chore: release 2024.06.03 (#4935) 2024-06-03 15:44:03 +09:00
fmt chore: release 2024.06.06 (#4984) 2024-06-06 20:26:57 +09:00
front_matter chore: release 2024.06.03 (#4935) 2024-06-03 15:44:03 +09:00
fs refactor(fs): improve expandGlob() implementation and testing (#5089) 2024-06-20 16:39:45 +09:00
html chore(html): release html@1.0.0-rc.1 (#4962) 2024-06-06 07:05:36 +10:00
http chore: release 2024.06.17 (#5062) 2024-06-17 18:53:28 +09:00
ini chore: release 2024.06.12 (#5031) 2024-06-12 15:22:43 +09:00
internal chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
io BREAKING(streams): remove iterateReader, readableStreamFromReader, readerFromIterable, readerFromStreamReader, writableStreamFromWriter, and writerFromStreamWriter (#5060) 2024-06-17 19:02:38 +09:00
json test(json): improve json testing (#5075) 2024-06-18 20:38:18 +09:00
jsonc test(jsonc): remove dead code and improve testing (#5093) 2024-06-20 18:13:50 +09:00
log chore: release 2024.06.06 (#4984) 2024-06-06 20:26:57 +09:00
media_types chore: add @example title check to doc checker (#4823) 2024-05-22 15:08:36 +10:00
msgpack chore(msgpack): release msgpack@1.0.0-rc.1 (#5030) 2024-06-12 18:59:57 +12:00
net chore: release 2024.06.12 (#5031) 2024-06-12 15:22:43 +09:00
path chore: release 2024.06.17 (#5062) 2024-06-17 18:53:28 +09:00
regexp chore(regexp): release regexp@1.0.0-rc.1 (#5024) 2024-06-11 22:19:12 +12:00
semver chore: release 2024.06.06 (#4984) 2024-06-06 20:26:57 +09:00
streams fix(streams): prevent earlyZipReadableStreams() from possibly using excessive memory (#5082) 2024-06-20 05:36:58 +00:00
testing refactor(testing): remove FakeTime.start setter (#5050) 2024-06-18 14:36:51 +10:00
text chore(text): release text@1.0.0-rc.1 (#5026) 2024-06-11 22:40:14 +12:00
toml chore(toml): release toml@1.0.0-rc.1 (#4969) 2024-06-06 07:41:42 +10:00
ulid chore: release 2024.06.17 (#5062) 2024-06-17 18:53:28 +09:00
url chore(url): release url@1.0.0-rc.1 (#4981) 2024-06-06 19:59:52 +00:00
uuid chore(uuid): release uuid@1.0.0-rc.1 (#4867) 2024-05-31 22:03:36 +10:00
webgpu chore: release 2024.06.06 (#4984) 2024-06-06 20:26:57 +09:00
yaml chore: release 2024.05.29 (#4883) 2024-05-29 18:56:12 +09:00
.editorconfig chore: update .editorconfig (#4685) 2024-05-07 16:15:29 +09:00
.gitattributes Remove std/node, it was merged into Deno itself (#3206) 2023-02-22 10:28:55 -05:00
.gitignore chore: add vscode settings (#4735) 2024-05-15 15:41:32 +09:00
badge.svg chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
browser-compat.tsconfig.json chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
deno.json chore(fs): release fs@1.0.0-rc.1 (#5091) 2024-06-20 16:43:18 +10:00
LICENSE chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
README.md docs: link to stabilization schedule in README (#4944) 2024-06-04 13:22:08 +10:00
Releases.md chore: release 2024.06.17 (#5062) 2024-06-17 18:53:28 +09:00

Deno Standard Library

JSR @std codecov ci

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

Note

Newer versions of the Standard Library are now hosted on JSR. Older versions up till 0.224.0 are still available at deno.land/std.

Packages

The following list contains links to the Standard Library's packages and documentation:

Package Status Latest version
archive Unstable JSR
assert Settled JSR
async Settled JSR
bytes Settled JSR
cli Unstable JSR
collections Settled JSR
crypto Settled JSR
csv Settled JSR
data_structures Unstable JSR
datetime Unstable JSR
dotenv Unstable JSR
encoding Settled JSR
expect Unstable JSR
fmt Settled JSR
front_matter Settled JSR
fs Settled JSR
html Unstable JSR
http Unstable JSR
ini Unstable JSR
io Unstable JSR
json Settled JSR
jsonc Settled JSR
log Unstable JSR
media_types Settled JSR
msgpack Unstable JSR
net Unstable JSR
path Settled JSR
regexp Unstable JSR
semver Unstable JSR
streams Settled JSR
testing Settled JSR
text Unstable JSR
toml Settled JSR
ulid Unstable JSR
url Unstable JSR
uuid Settled JSR
webgpu Unstable JSR
yaml Settled JSR

Note: Settled status means a package is unlikely to have breaking changes, but has not yet achieved v1 status.

Stabilization

The Standard Library is now in the process of stabilizing its packages. See #4600 for the release schedule.

Each package must go through the following steps to achieve stabilization:

  1. Publish version 1.0.0-rc.1 once meeting the following requirements:
    1. Approved by at least 2 maintainers. There must be consensus that the design, documentation and implementation of the package are good and that it is unlikely to undergo breaking changes in the future.
    2. 100% documented, passing deno doc --lint checks and adhering to the documentation guidelines.
    3. Maximum possible test coverage
    4. No open issues or pull requests that might lead to breaking changes. For example, issues that suggest new non-breaking features are fine to exist at stabilization.
  2. Allow 1 month for the community and the core team to review the package and handle any feedback. There must be consensus that the design, documentation and implementation of the package are good and that it is unlikely to undergo breaking changes in the future.
  3. If there are no remaining issues, publish version 1.0.0. If there are remaining issues, extend the waiting period to allow further time for a resolution. Then, repeat this step.

Architecture

Check out the architecture guide here.

Design

Minimal Exports

Files are structured to minimize the number of dependencies they incur and the amount of effort required to manage them, both for the maintainer and the user. In most cases, only a single function or class, alongside its related types, are exported. In other cases, functions that incur negligible dependency overhead will be grouped together in the same file.

Contributing

Check out the contributing guidelines here.

Releases

New versions of packages are published every 1 or 2 weeks. Package versions

=1.0.0 follow Semantic Versioning, and package versions <1.0.0 follow this proposal.

Badge

Built with the Deno Standard Library

<a href="https://jsr.io/@std">
  <img
    width="135"
    height="20"
    src="https://raw.githubusercontent.com/denoland/deno_std/main/badge.svg"
    alt="Built with the Deno Standard Library"
  />
</a>
[![Built with the Deno Standard Library](https://raw.githubusercontent.com/denoland/deno_std/main/badge.svg)](https://jsr.io/@std)

Frequently Asked Questions

Check out the frequently asked questions page here.