The Deno Standard Library
Go to file
Jesse Jackson 91cd23ab81
fix: improve type safety for browser-compatible modules (#995)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-07-06 11:15:37 +09:00
_util fix: improve type safety for browser-compatible modules (#995) 2021-07-06 11:15:37 +09:00
.github fix: improve type safety for browser-compatible modules (#995) 2021-07-06 11:15:37 +09:00
archive chore: update std for TypeScript 4.3 changes (#938) 2021-05-30 10:46:38 +10:00
async feat(async): add async/tee (#919) 2021-05-18 22:39:12 +09:00
bytes fix(io): Improve readDelims() performance (#867) 2021-04-24 14:26:34 -04:00
datetime docs(datetime): make README consistent in format (#933) 2021-05-24 18:23:51 +09:00
encoding feat(encoding/toml): fix bad string format. Improve coverage (#991) 2021-06-30 12:12:12 -04:00
examples chore: remove ESLint directives (#941) 2021-05-30 15:25:01 +09:00
flags
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 feat(hash): add BLAKE3 hash support (#994) 2021-07-01 14:26:56 +09:00
http fix: setCookie with maxAge of 0 (#992) 2021-06-30 14:02:22 -04:00
io fix(io/bufio): fix handling of trailing new line (#990) 2021-07-01 14:14:17 +09:00
log chore: update std for TypeScript 4.3 changes (#938) 2021-05-30 10:46:38 +10:00
mime feat(mime): make createPart of MultipartWriter public (#960) 2021-06-15 15:36:48 +09:00
node fix(node/module): More descriptive error in "createRequire" (#997) 2021-07-02 10:28:14 -04:00
path fix: improve type safety for browser-compatible modules (#995) 2021-07-06 11:15:37 +09: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: improve type safety for browser-compatible modules (#995) 2021-07-06 11:15:37 +09:00
textproto Improved textproto/mod.ts readability and maintainability (#859) 2021-04-27 09:23:06 -04:00
uuid
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
.gitignore chore: add coverage directories to gitignore (#914) 2021-05-13 14:16:14 +02:00
.gitmodules
browser-compat.tsconfig.json fix: improve type safety for browser-compatible modules (#995) 2021-07-06 11:15:37 +09:00
LICENSE
README.md
Releases.md 0.100.0 2021-06-29 11:46:47 -04:00
version.ts 0.100.0 2021-06-29 11:46:47 -04: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.