The Deno Standard Library
Go to file
2021-07-26 14:08:13 +02:00
_util fix(testing/asserts): cater for different class constructor functions (#1000) 2021-07-22 13:53:53 +09:00
.github chore: enable doc type checking (#1050) 2021-07-23 19:09:38 +09:00
archive fix(testing/asserts): cater for different class constructor functions (#1000) 2021-07-22 13:53:53 +09:00
async chore: enable doc type checking (#1050) 2021-07-23 19:09:38 +09:00
bytes test(bytes): improve tests for equals, startsWith and endsWith (#1021) 2021-07-12 08:32:48 -04:00
collections chore: enable doc type checking (#1050) 2021-07-23 19:09:38 +09:00
datetime chore: enable doc type checking (#1050) 2021-07-23 19:09:38 +09:00
encoding fix(encoding/base64url): throw TypeError in case of invalid base64url string (#1040) 2021-07-26 14:08:13 +02:00
examples feat: add copy util to std/io (#1016) 2021-07-12 14:46:07 +02:00
flags chore: enable doc type checking (#1050) 2021-07-23 19:09:38 +09:00
fmt fix: improve type safety for browser-compatible modules (#995) 2021-07-06 11:15:37 +09:00
fs feat(fs/walk): show path in walk error (#875) 2021-04-30 15:49:41 +09:00
hash fix(testing/asserts): cater for different class constructor functions (#1000) 2021-07-22 13:53:53 +09:00
http test(http): fix flaky file_server test (#1059) 2021-07-23 22:16:52 +09:00
io chore: enable doc type checking (#1050) 2021-07-23 19:09:38 +09:00
log chore: update std for TypeScript 4.3 changes (#938) 2021-05-30 10:46:38 +10:00
mime feat: add copy util to std/io (#1016) 2021-07-12 14:46:07 +02:00
node fix(testing/asserts): cater for different class constructor functions (#1000) 2021-07-22 13:53:53 +09:00
path fix(path): Add question mark as a glob indicator (#1024) 2021-07-12 08:07:00 -04:00
permissions chore: remove Promise<void> return type annotation (#819) 2021-04-05 07:49:05 -04:00
signal chore: remove Promise<void> return type annotation (#819) 2021-04-05 07:49:05 -04:00
testing fix(testing): assertThrowsAsync always reporting Error instead of actual error class (#1051) 2021-07-26 18:58:29 +09:00
textproto Improved textproto/mod.ts readability and maintainability (#859) 2021-04-27 09:23:06 -04:00
uuid BREAKING std/uuid: rework v4 and v5 module (#971) 2021-07-09 14:27:41 +02:00
wasi chore: remove Promise<void> return type annotation (#819) 2021-04-05 07:49:05 -04:00
ws chore: remove Promise<void> return type annotation (#819) 2021-04-05 07:49:05 -04:00
.editorconfig
.gitattributes chore: Setup CI and tests 2021-02-01 12:20:35 +01:00
.gitignore build(hash): switch from wasm-pack to using wasm-bindgen directly (#999) 2021-07-07 14:40:46 -04: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
LICENSE chore: update README and LICENSE (#634) 2021-02-01 12:43:02 +01:00
README.md fix: update branch in README link (#1031) 2021-07-13 19:34:43 +05:30
Releases.md 0.102.0 2021-07-19 19:52:43 +02:00
version.ts 0.102.0 2021-07-19 19:52:43 +02:00

Deno Standard Modules

codecov

These modules do not have external dependencies and they are reviewed by the Deno core team. The intention is to have a standard set of high quality code that all Deno projects can use fearlessly.

Contributions are welcome!

Releases

Standard library is currently tagged independently of Deno version. This will change once the library is stabilized.

To check compatibility of different version of standard library with Deno CLI see this list.

How to use

These modules will eventually be tagged in accordance with Deno releases but as of today we do not yet consider them stable and so we version the standard modules differently from the Deno runtime to reflect this.

It is strongly recommended that you link to tagged releases to avoid unintended updates and breaking changes.

Don't link to / import any module whose path:

  • Has a name or parent with an underscore prefix: _foo.ts, _util/bar.ts.
  • Is that of a test module or test data: test.ts, foo_test.ts, testdata/bar.txt.

Don't import any symbol with an underscore prefix: export function _baz() {}.

These elements are not considered part of the public API, thus no stability is guaranteed for them.

Documentation

To browse documentation for modules:

Contributing

NOTE: This repository was unarchived and synced on Feb, 1st, 2021. If you already had it cloned, we suggest to do a fresh clone to avoid git conflicts.

deno_std is a loose port of Go's standard library. When in doubt, simply port Go's source code, documentation, and tests. There are many times when the nature of JavaScript, TypeScript, or Deno itself justifies diverging from Go, but if possible we want to leverage the energy that went into building Go. We generally welcome direct ports of Go's code.

Please ensure the copyright headers cite the code's origin.

Follow the style guide.

Opening a pull request

Before opening a PR make sure to:

  • there are tests that cover the changes.
  • deno test --unstable --allow-all passes.
  • deno fmt --check passes without changing files.
  • deno lint --unstable passes.

Give the PR a descriptive title.

Examples of good title:

  • fix(http): Fix race condition in server
  • docs(fmt): Update docstrings
  • feat(log): Handle nested messages

Examples of bad title:

  • fix #7123
  • update docs
  • fix bugs

Ensure there is a related issue and it is referenced in the PR text.

For contributions to the Node compatibility library please check the std/node contributing guide

For maintainers:

To release a new version a tag in the form of x.y.z should be added.