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.
 
William Perron ace6052f1e
Update issue templates (#973)
2 days ago
.github Update issue templates (#973) 2 days ago
_util update copyright to 2021 (denoland/deno#9081) 5 months ago
archive chore: update std for TypeScript 4.3 changes (#938) 3 weeks ago
async feat(async): add async/tee (#919) 1 month ago
bytes fix(io): Improve readDelims() performance (#867) 2 months ago
datetime docs(datetime): make README consistent in format (#933) 4 weeks ago
encoding fix(encoding/binary): respect non 0 byte offsets (#826) 3 weeks ago
examples chore: remove ESLint directives (#941) 3 weeks ago
flags test(flags): merge tests into one file (#702) 4 months ago
fmt chore: remove ESLint directives (#941) 3 weeks ago
fs feat(fs/walk): show path in walk error (#875) 2 months ago
hash docs(hash,http): add module descriptions (#934) 3 weeks ago
http docs(hash,http): add module descriptions (#934) 3 weeks ago
io chore: remove ESLint directives (#941) 3 weeks ago
log chore: update std for TypeScript 4.3 changes (#938) 3 weeks ago
mime feat(mime): make createPart of MultipartWriter public (#960) 3 days ago
node fix(node/events): fix EventEmitter#removeAllListeners (#968) 4 days ago
path docs(path): rewrite README to fill examples (#952) 2 weeks ago
permissions chore: remove `Promise<void>` return type annotation (#819) 2 months ago
signal chore: remove `Promise<void>` return type annotation (#819) 2 months ago
testing fix(testing/asserts): fix handling of Weak* objects (#951) 2 weeks ago
textproto Improved textproto/mod.ts readability and maintainability (#859) 2 months ago
uuid refactor(uuid): small cleanups (#684) 5 months ago
wasi chore: remove `Promise<void>` return type annotation (#819) 2 months ago
ws chore: remove `Promise<void>` return type annotation (#819) 2 months ago
.editorconfig add charset & trim_trailing_whitespace (#158) 2 years ago
.gitattributes chore: Setup CI and tests 5 months ago
.gitignore chore: add coverage directories to gitignore (#914) 1 month ago
.gitmodules chore: Setup CI and tests 5 months ago
LICENSE chore: update README and LICENSE (#634) 5 months ago
README.md chore(codecov): ignore coverage of examples (#798) 3 months ago
Releases.md 0.99.0 2 days ago
version.ts 0.99.0 2 days ago

README.md

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.