The Deno Standard Library
Go to file
Ryan Dahl 2cce592c15 Revert "Remove ansi_term dependency"
Broke colors
https://github.com/denoland/deno/issues/4112#issuecomment-590545385

This reverts commit c250778704a4e0065e54e6bf6ca6c39d556a6d8d.
2021-02-01 10:46:57 +00:00
.ci Update eslint and @typescript-eslint (#621) 2019-10-05 12:02:34 -04:00
archive refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
bytes refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
datetime refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
encoding Revert "Remove ansi_term dependency" 2021-02-01 10:46:57 +00:00
examples disable examples/chat tests for windows (denoland/deno#4109) 2021-02-01 10:46:57 +00:00
flags refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
fmt refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
fs rename Deno.Err -> Deno.errors (denoland/deno#4093) 2021-02-01 10:46:57 +00:00
http rename Deno.Err -> Deno.errors (denoland/deno#4093) 2021-02-01 10:46:57 +00:00
io fix: [ws] sock shouldn't throw eof error when failed to read frame (denoland/deno#4083) 2021-02-01 10:46:57 +00:00
log refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
media_types refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
mime refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
node rename Deno.Err -> Deno.errors (denoland/deno#4093) 2021-02-01 10:46:57 +00:00
path refactor: remove unneeded ErrorKinds (denoland/deno#3936) 2021-02-01 10:46:57 +00:00
signal refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
strings refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
testing rename Deno.Err -> Deno.errors (denoland/deno#4093) 2021-02-01 10:46:57 +00:00
textproto fix: [ws] sock shouldn't throw eof error when failed to read frame (denoland/deno#4083) 2021-02-01 10:46:57 +00:00
util Enable TS strict mode by default (denoland/deno#3899) 2021-02-01 10:46:57 +00:00
uuid refactor: rewrite tests in to use Deno.test (denoland/deno#3930) 2021-02-01 10:46:57 +00:00
ws fix: createSecKey logic (denoland/deno#4063) 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 doc: Remove old link to deno types output (denoland/deno#4111) 2021-02-01 10:46:57 +00:00
README.md feat: dprint formatter (denoland/deno#3820) 2021-02-01 10:46:56 +00:00
style_guide.md update references to testing/mod.ts in manual (denoland/deno#3973) 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/

It's strongly recommended that you link to tagged releases rather than the master branch. The project is still young and we expect disruptive renames in the future.

Documentation

Here are the dedicated documentations of 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.