1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 01:59:06 -05:00
denoland-deno/std
Casper Beyer e8968e6bf4
BREAKING(std/wasi): rename Module to Context (#7110)
This commit renames Module and ModuleOptions to context to avoid stutter
confusion, e.g avoid having documentation that says things like
instantiate the snapshot's module's module.
2020-08-24 18:21:06 +02:00
..
_util Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
archive fix(std/tar): directory type bug (#6905) 2020-07-30 12:01:31 -04:00
async feat(std/async): add pooledMap utility (#6898) 2020-07-29 02:44:34 +02:00
bytes doc(std/bytes): Fix wrong import in the example code (copyBytes) (#6787) 2020-07-18 15:06:42 -04:00
datetime refactor(std/datetime): remove currentDayOfYear (#7059) 2020-08-18 16:30:09 -04:00
encoding fix(std/encoding/toml): Stop TOML parser from detecting numbers in strings. (#7064) 2020-08-17 17:48:15 -04:00
examples test(std): remove unstable from multiple tests (#6882) 2020-07-26 15:52:08 -04:00
flags Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
fmt Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
fs docs(fs/walk): fix code example (#7166) 2020-08-23 11:34:12 +02:00
hash Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
http feat(std/http): add --no-dir-listing flag to file_server (#6808) 2020-08-12 11:38:25 -04:00
io Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
log fix: Make std work with isolatedModules (#7016) 2020-08-12 12:01:36 +02:00
mime Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
node feat(std/node): add URL export (#7132) 2020-08-21 22:39:56 -04:00
path fix: Allow isolated "%"s when parsing file URLs (#7108) 2020-08-21 15:37:06 +02:00
permissions Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
signal Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
testing fix(std/node): misnamed assert exports (#7123) 2020-08-20 11:56:31 -04:00
textproto Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
uuid Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
wasi BREAKING(std/wasi): rename Module to Context (#7110) 2020-08-24 18:21:06 +02:00
ws Use dprint for internal formatting (#6682) 2020-07-14 15:24:17 -04:00
README.md chore(std): edit style guide link to deno manual (#6490) 2020-07-14 14:54:13 +02:00
tsconfig_test.json fix: Make std work with isolatedModules (#7016) 2020-08-12 12:01:36 +02:00
version.ts v1.3.1 2020-08-21 18:11:33 +02: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 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.