deno/std
Ryan Dahl e9424bf6b5
Revert "feat: add Deno.osName()" (#6261)
Deno.build.os provides the same functionality

This reverts commit 6ccf9037a6.
2020-06-12 09:53:53 -04:00
..
_util refactor(std): remove testing dependencies from non-test code (#5838) 2020-06-07 09:20:33 -04:00
archive fix(std/archive): untar (#6217) 2020-06-10 17:10:47 -04:00
async improve deferred test (#5459) 2020-05-15 16:59:44 -04:00
bytes feat(std/bytes): add hasSuffix and contains functions, update docs (#4801) 2020-05-20 16:32:28 +02:00
datetime refactor(std): remove testing dependencies from non-test code (#5838) 2020-06-07 09:20:33 -04:00
encoding make std deno-lint clean (#6240) 2020-06-12 09:19:29 -04:00
examples fix(cli/js/process): Strengthen socket types based on pipes (#4836) 2020-06-09 13:18:18 +02:00
flags refactor(std): remove testing dependencies from non-test code (#5838) 2020-06-07 09:20:33 -04:00
fmt make std deno-lint clean (#6240) 2020-06-12 09:19:29 -04:00
fs make std deno-lint clean (#6240) 2020-06-12 09:19:29 -04:00
hash make std deno-lint clean (#6240) 2020-06-12 09:19:29 -04:00
http make std deno-lint clean (#6240) 2020-06-12 09:19:29 -04:00
io refactor(std): remove testing dependencies from non-test code (#5838) 2020-06-07 09:20:33 -04:00
log feat(std/log): inline and deferred statement resolution logging (#5192) 2020-06-12 09:27:41 -04:00
mime refactor(std): remove testing dependencies from non-test code (#5838) 2020-06-07 09:20:33 -04:00
node Revert "feat: add Deno.osName()" (#6261) 2020-06-12 09:53:53 -04:00
path make std deno-lint clean (#6240) 2020-06-12 09:19:29 -04:00
permissions Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
signal refactor(std/signal): Replace setTimeout with IIFE (#6153) 2020-06-07 09:23:52 -04:00
testing fix(std/testing/bench): Make progress callback async (#6175) 2020-06-09 11:19:06 -04:00
textproto make std deno-lint clean (#6240) 2020-06-12 09:19:29 -04:00
uuid refactor(std): remove testing dependencies from non-test code (#5838) 2020-06-07 09:20:33 -04:00
ws make std deno-lint clean (#6240) 2020-06-12 09:19:29 -04:00
README.md fix(std): fix broken style guide link (#5211) 2020-05-11 20:36:24 -04:00
version.ts v1.0.5 2020-06-03 12:52:01 -04:00

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.