The Deno Standard Library
Go to file
2021-04-05 13:23:55 +09:00
_util update copyright to 2021 (denoland/deno#9081) 2021-02-01 10:46:59 +00:00
.github chore(codecov): ignore coverage of examples (#798) 2021-03-17 17:30:10 +09:00
archive feat: add io/buffer and io/util module (#808) 2021-03-22 22:45:35 +01:00
async property into method (converted type) (#778) 2021-03-17 00:41:12 -04:00
bytes docs(bytes): improve README.md (#737) 2021-02-18 22:23:03 +09:00
datetime docs(datetime): fix readme example (denoland/deno#9120) 2021-02-01 10:46:59 +00:00
encoding chore: add underscore prefix to unused variables (#837) 2021-04-04 21:04:36 +02:00
examples feat: add io/buffer and io/util module (#808) 2021-03-22 22:45:35 +01:00
flags test(flags): merge tests into one file (#702) 2021-02-03 11:47:32 -05:00
fmt fix(test): skip test cases which cause serde_v8 error (#828) 2021-04-02 00:28:39 +09:00
fs Remove unused testdata files (#744) 2021-02-19 08:11:53 -05:00
hash feat(node): add crypto.createHash (#757) 2021-02-26 03:09:39 +09:00
http fix(http): Remove unused readAll import (#817) 2021-03-25 09:37:01 -04:00
io feat: make bufio compatible to deploy (#831) 2021-04-02 09:29:32 +09:00
log update copyright to 2021 (denoland/deno#9081) 2021-02-01 10:46:59 +00:00
mime feat: add io/buffer and io/util module (#808) 2021-03-22 22:45:35 +01:00
node feat(node/fs): add ftruncate and ftruncateSync (#829) 2021-04-05 13:23:55 +09:00
path fix(path): enable and fix file URL tests (#804) 2021-03-15 13:09:18 +01:00
permissions update copyright to 2021 (denoland/deno#9081) 2021-02-01 10:46:59 +00:00
signal chore: update copyright to 2021 (denoland/deno#9092) 2021-02-01 10:46:59 +00:00
testing refactor: fix codes to pass no-unused-vars lint (#764) 2021-03-02 15:31:37 +09:00
textproto fix: encoder/decoder one instance (#790) 2021-03-08 09:19:42 +10:00
uuid refactor(uuid): small cleanups (#684) 2021-02-01 22:16:27 -05:00
wasi feat: add io/buffer and io/util module (#808) 2021-03-22 22:45:35 +01:00
ws feat: add io/buffer and io/util module (#808) 2021-03-22 22:45:35 +01:00
.editorconfig add charset & trim_trailing_whitespace (#158) 2019-01-26 14:09:53 -05:00
.gitattributes chore: Setup CI and tests 2021-02-01 12:20:35 +01:00
.gitignore feat(node): support conditional exports (#726) 2021-02-17 19:06:03 +09:00
.gitmodules chore: Setup CI and tests 2021-02-01 12:20:35 +01:00
LICENSE chore: update README and LICENSE (#634) 2021-02-01 12:43:02 +01:00
README.md chore(codecov): ignore coverage of examples (#798) 2021-03-17 17:30:10 +09:00
Releases.md 0.92.0 2021-04-02 16:01:56 +11:00
version.ts 0.92.0 2021-04-02 16:01:56 +11: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.