You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Ryan Dahl 7564617575
0.89.0
2 days ago
.github test(path): update test cases for canary (#775) 2 days ago
_util update copyright to 2021 (denoland/deno#9081) 1 month ago
archive chore: update copyright year (denoland/deno#9094) 1 month ago
async fix(async): make pooledMap() errors catchable (denoland/deno#9217) 1 month ago
bytes docs(bytes): improve README.md (#737) 2 weeks ago
datetime docs(datetime): fix readme example (denoland/deno#9120) 1 month ago
encoding refactor: fix codes to pass `no-unused-vars` lint (#764) 3 days ago
examples refactor: fix codes to pass `no-unused-vars` lint (#764) 3 days ago
flags test(flags): merge tests into one file (#702) 4 weeks ago
fmt refactor: fix codes to pass `no-unused-vars` lint (#764) 3 days ago
fs Remove unused testdata files (#744) 2 weeks ago
hash feat(node): add crypto.createHash (#757) 1 week ago
http refactor: fix codes to pass `no-unused-vars` lint (#764) 3 days ago
io BREAKING(io/streams): Strengthen iterator to readable stream conversion (#735) 1 week ago
log update copyright to 2021 (denoland/deno#9081) 1 month ago
mime BREAKING(encoding): remove module utf8.ts (#728) 2 weeks ago
node feat(node): add truncate and truncateSync (#765) 2 days ago
path test(path): update test cases for canary (#775) 2 days ago
permissions update copyright to 2021 (denoland/deno#9081) 1 month ago
signal chore: update copyright to 2021 (denoland/deno#9092) 1 month ago
testing refactor: fix codes to pass `no-unused-vars` lint (#764) 3 days ago
textproto BREAKING(encoding): remove module utf8.ts (#728) 2 weeks ago
uuid refactor(uuid): small cleanups (#684) 1 month ago
wasi refactor: fix codes to pass `no-unused-vars` lint (#764) 3 days ago
ws refactor: fix codes to pass `no-unused-vars` lint (#764) 3 days ago
.editorconfig add charset & trim_trailing_whitespace (#158) 2 years ago
.gitattributes chore: Setup CI and tests 1 month ago
.gitignore feat(node): support conditional exports (#726) 2 weeks ago
.gitmodules chore: Setup CI and tests 1 month ago
LICENSE chore: update README and LICENSE (#634) 1 month ago
README.md chore: fix typo in contributing section (#709) 3 weeks ago
Releases.md 0.89.0 2 days ago
version.ts 0.89.0 2 days ago

README.md

Deno Standard Modules

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.