The Deno Standard Library
Go to file
2021-02-01 10:46:58 +00:00
_util feat(fmt): Sort named import and export specifiers (denoland/deno#7711) 2021-02-01 10:46:58 +00:00
.ci Update eslint and @typescript-eslint (#621) 2019-10-05 12:02:34 -04:00
archive fix(tar): fix constant condition (denoland/deno#8010) 2021-02-01 10:46:58 +00:00
async docs: end sentences with a period in markdown (denoland/deno#7813) 2021-02-01 10:46:58 +00:00
bytes docs(bytes): add missing docs to README (denoland/deno#7885) 2021-02-01 10:46:58 +00:00
datetime Remove timezone dependent tests (denoland/deno#8131) 2021-02-01 10:46:58 +00:00
encoding fix(encoding): base64 properly encodes mbc and handles Uint8Arrays (denoland/deno#7807) 2021-02-01 10:46:58 +00:00
examples rename(testing): rename assert*Contains to assert*Includes (denoland/deno#7951) 2021-02-01 10:46:58 +00:00
flags docs: version all imports in README (denoland/deno#7442) 2021-02-01 10:46:58 +00:00
fmt docs: end sentences with a period in markdown (denoland/deno#7813) 2021-02-01 10:46:58 +00:00
fs docs: fix typo in fs README.md (denoland/deno#8104) 2021-02-01 10:46:58 +00:00
hash upgrade: deno_doc, deno_lint, dprint, swc (denoland/deno#8077) 2021-02-01 10:46:58 +00:00
http fix: path traversal in http/file_server.ts (denoland/deno#8134) 2021-02-01 10:46:58 +00:00
io fix(io): remove trivial internal util.ts module (denoland/deno#8032) 2021-02-01 10:46:58 +00:00
log docs: version all imports in README (denoland/deno#7442) 2021-02-01 10:46:58 +00:00
mime fix(io): remove trivial internal util.ts module (denoland/deno#8032) 2021-02-01 10:46:58 +00:00
node feat(node/crypto): randomBytes and pbkdf2 (denoland/deno#8191) 2021-02-01 10:46:58 +00:00
path docs(path): fix typo in globToRegExp docs (denoland/deno#8081) 2021-02-01 10:46:58 +00:00
permissions Use dprint for internal formatting (denoland/deno#6682) 2021-02-01 10:46:58 +00:00
signal docs: end sentences with a period in markdown (denoland/deno#7813) 2021-02-01 10:46:58 +00:00
testing feat(testing): Add assertExists assertion (denoland/deno#7874) 2021-02-01 10:46:58 +00:00
textproto chore: add copyright (denoland/deno#7593) 2021-02-01 10:46:58 +00:00
uuid docs(uuid): creat -> create (denoland/deno#8064) 2021-02-01 10:46:58 +00:00
wasi fix(wasi): remove stray console.log call (denoland/deno#8156) 2021-02-01 10:46:58 +00:00
ws docs: version all imports in README (denoland/deno#7442) 2021-02-01 10:46:58 +00:00
.editorconfig add charset & trim_trailing_whitespace (#158) 2019-01-26 14:09:53 -05:00
.eslintignore Update eslint and @typescript-eslint (#621) 2019-10-05 12:02:34 -04:00
.eslintrc.json Update eslint and @typescript-eslint (#621) 2019-10-05 12:02:34 -04:00
.gitignore Eslint fixes (#356) 2019-04-24 07:41:22 -04:00
azure-pipelines.yml ci: bump deno to v0.20.0 (#627) 2019-10-08 22:42:24 +02:00
format.ts Implement expandGlob() and expandGlobSync() (#617) 2019-10-02 13:59:27 -04:00
LICENSE Happy New Year (#58) 2019-01-02 09:56:17 -05:00
README.md chore: edit style guide link to deno manual (denoland/deno#6490) 2021-02-01 10:46:58 +00:00
tsconfig_test.json feat(unstable): revert "enable importsNotUsedAsValues by default denoland/deno#7413" (denoland/deno#7800) 2021-02-01 10:46:58 +00:00
version.ts v0.76.0 2021-02-01 10:46:58 +00:00

NOTICE: The deno_std repository has been moved to the main Deno repo

https://github.com/denoland/deno/tree/master/std

All PRs and issues should be directed to denoland/deno, not here.

We are in a transitional phase now as we update various references to this repository. Eventually this repo will be archived.

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!

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

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.