The Deno Standard Library
Go to file
Linus Unnebäck 5403de37d5 refactor(fs): use every instead of reduce (denoland/deno#5323)
The previous usage of `reduce` was basically implementing the `every`

A small difference is that the new implementation will stop checking 
as soon as one element have returned false, which will reduce 
the number of unnecessary checks.
2021-02-01 10:46:57 +00:00
_util BREAKING: reorganization (denoland/deno#5087) 2021-02-01 10:46:57 +00:00
.ci Update eslint and @typescript-eslint (#621) 2019-10-05 12:02:34 -04:00
archive BREAKING: Remove Deno.EOF, use null instead (denoland/deno#4953) 2021-02-01 10:46:57 +00:00
async BREAKING: reorganization (denoland/deno#5087) 2021-02-01 10:46:57 +00:00
bytes BREAKING: reorder io/utils copyBytes arguments (denoland/deno#5022) 2021-02-01 10:46:57 +00:00
datetime BREAKING: remove overload of Deno.test() (denoland/deno#4951) 2021-02-01 10:46:57 +00:00
encoding Fix typos across the repo (denoland/deno#5295) 2021-02-01 10:46:57 +00:00
examples BREAKING: reorganization (denoland/deno#5087) 2021-02-01 10:46:57 +00:00
flags BREAKING: reorganization (denoland/deno#5087) 2021-02-01 10:46:57 +00:00
fmt Fix typos (denoland/deno#5441) 2021-02-01 10:46:57 +00:00
fs refactor(fs): use every instead of reduce (denoland/deno#5323) 2021-02-01 10:46:57 +00:00
hash feat: add hash/fnv (denoland/deno#5403) 2021-02-01 10:46:57 +00:00
http Add .css to the MEDIA_TYPES. (denoland/deno#5367) 2021-02-01 10:46:57 +00:00
io BREAKING: reorganization (denoland/deno#5087) 2021-02-01 10:46:57 +00:00
log adjust docs for log (denoland/deno#4984) 2021-02-01 10:46:57 +00:00
mime Fix typos across the repo (denoland/deno#5295) 2021-02-01 10:46:57 +00:00
node fix: setTimeout and friends have too strict types (denoland/deno#5412) 2021-02-01 10:46:57 +00:00
path Fix typos across the repo (denoland/deno#5295) 2021-02-01 10:46:57 +00:00
permissions Update to Prettier 2 and use ES Private Fields (denoland/deno#4498) 2021-02-01 10:46:57 +00:00
signal BREAKING: reorganization (denoland/deno#5087) 2021-02-01 10:46:57 +00:00
testing fix(testing): Provide message and diff for assertStrictEq (denoland/deno#5417) 2021-02-01 10:46:57 +00:00
textproto fix link (denoland/deno#5333) 2021-02-01 10:46:57 +00:00
uuid BREAKING: reorganization (denoland/deno#5087) 2021-02-01 10:46:57 +00:00
ws shorten example (denoland/deno#5448) 2021-02-01 10:46:57 +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
manual.md Multi page manual (denoland/deno#5110) 2021-02-01 10:46:57 +00:00
README.md fix: fix broken style guide link (denoland/deno#5211) 2021-02-01 10:46:57 +00:00
version.ts v0.51.0 2021-02-01 10:46:57 +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 are tagged in accordance with Deno releases. So, for example, the v0.3.0 tag is guaranteed to work with deno v0.3.0. You can link to v0.3.0 using the URL https://deno.land/std@v0.3.0/. Not specifying a tag will link to the master branch.

It is strongly recommended that you link to tagged releases to avoid unintended updates.

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.

No stability is guaranteed for these files.

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.