The Deno Standard Library
Go to file
denobot c8d8a08e45
0.161.0 (#2818)
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
2022-10-27 01:23:36 +02:00
_tools chore: correct ignored files for checks, linting and formatting (#2789) 2022-10-18 10:35:39 -04:00
_util chore: Avoid using rid-based filesystem functions (#2763) 2022-10-10 10:07:24 -04:00
.devcontainer chore: add development container configuration (#1938) 2022-02-21 14:23:43 +11:00
.github BREAKING: remove deprecated std/hash module (#2786) 2022-10-23 11:12:18 -04:00
archive chore: Avoid using rid-based filesystem functions (#2763) 2022-10-10 10:07:24 -04:00
async docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
bytes docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
collections feat(collections): improve types of partition module (#2744) 2022-10-04 11:18:53 -04:00
crypto feat(crypto): createHash utility (#2805) 2022-10-25 15:48:13 -04:00
datetime docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
dotenv docs(dotenv): added missing permission flag in example (#2646) 2022-09-13 17:16:43 +09:00
encoding docs: add/improve JSDoc comments for various modules (#2764) 2022-10-11 11:29:29 -04:00
examples chore(examples): Converting Deno Streams to Web Streams (#2765) 2022-10-10 12:11:17 -04:00
flags docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
fmt docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
fs fix(fs/expandGlob): globstar false does not take effect (#2571) (#2779) 2022-10-18 10:40:00 -04:00
http feat(crypto): createHash utility (#2805) 2022-10-25 15:48:13 -04:00
io chore: Avoid using rid-based filesystem functions (#2763) 2022-10-10 10:07:24 -04:00
log chore: Avoid using rid-based filesystem functions (#2763) 2022-10-10 10:07:24 -04:00
media_types chore: remove void and Promise<void> return types (#2550) 2022-08-24 10:21:57 +09:00
node chore: drop Deno.getGid() and Deno.getUid() (#2816) 2022-10-26 19:02:10 -04:00
path docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
permissions docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
semver chore: remove void and Promise<void> return types (#2550) 2022-08-24 10:21:57 +09:00
signal docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
streams docs(streams): remove obsolete note (#2803) 2022-10-24 13:30:20 -04:00
testing docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
uuid chore(uuid): cleanup unused internal functions (#2797) 2022-10-21 17:40:24 +09:00
wasi chore: remove _deno_unstable.ts (#2600) 2022-09-05 13:55:53 +09:00
.editorconfig chore(node): add asn1.js (#1971) 2022-02-28 20:55:56 +09:00
.gitattributes chore: try to disable language stats for node/ directory (#2063) 2022-03-25 17:16:47 +01:00
.gitignore BREAKING: remove deprecated std/hash module (#2786) 2022-10-23 11:12:18 -04:00
.gitmodules chore: Setup CI and tests 2021-02-01 12:20:35 +01:00
browser-compat.tsconfig.json fix: improve type safety for browser-compatible modules (#995) 2021-07-06 11:15:37 +09:00
deno.json feat(node): list remaining Node tests in documentation (#2787) 2022-10-25 15:50:02 -04:00
LICENSE chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
README.md chore(ci): clean up Doctest /node step in CI (#2629) 2022-09-08 14:00:44 +09:00
Releases.md 0.161.0 (#2818) 2022-10-27 01:23:36 +02:00
test_import_map.json chore: remove outdated std import (#2627) 2022-09-07 20:18:44 +09:00
version.ts 0.161.0 (#2818) 2022-10-27 01:23:36 +02: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

After cloning don't forget to git submodule update --init.

Before opening a PR make sure to:

  • have the latest Deno version installed locally
  • add tests that cover your changes.
  • deno task test passes.
  • deno fmt --check passes.
  • deno task lint passes.

Give the PR a descriptive title.

Examples of good titles:

  • fix(http): Fix race condition in server
  • docs(fmt): Update docstrings
  • feat(log): Handle nested messages

Examples of bad titles:

  • 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

About CI checks:

We currently have 9 checks on CI. Each PR should pass all of these checks to be accepted.

  • test with Deno canary on Windows
  • test with Deno canary on Linux
  • test with Deno canary on macOS
  • test Node polyfill with Deno canary on Windows
  • test Node polyfill with Deno canary on Linux
  • test Node polyfill with Deno canary on macOS
  • lint
  • wasm crypto check
  • CLA

For maintainers:

To release a new version a tag in the form of x.y.z should be added.