1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/std
Ry Dahl c016684653
refactor: reorganize flags (#3389)
- Remove ability to specify run arguments like `--allow-net` after the
  script argument. It's too hacky to make work with clap.
- Remove `--v8-options`, instead use `--v8-flags=--help`
- Give more descriptive names to unit tests in flags.rs
- Assume argv and subcommand into DenoFlags struct so the output of
  flags module is only DenoFlags rather than the tuple (subcommand, flags,
  argv).
- Improve CLI help text
- Make `deno run` specific args like `--allow-net` only show up in 'deno
  help run' instead of as global flags in `deno help`.
- Removes `deno version` to simplify our implementation and be closer to
  clap defaults. `deno -V` now only shows Deno's version and not V8's nor
  TypeScript. `Deno.versions` can be used to see that information.
- Prevent clap from auto-detecting terminal width and attempting to wrap
  text.
2019-11-26 08:06:32 -08:00
..
archive Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
bytes Move everything into std subdir 2019-10-09 17:10:09 -04:00
datetime fix: std/datetime toIMF bug (#3357) 2019-11-16 08:24:07 -05:00
encoding feat: Add std/encoding/yaml module (#3361) 2019-11-18 09:39:32 -05:00
examples Use top-level for-await in various places (#3217) 2019-10-28 15:58:35 -04:00
flags Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
fmt Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
fs fix: error handling in std/fs/walk() (#3318) 2019-11-14 22:22:33 -05:00
http refactor: reorganize flags (#3389) 2019-11-26 08:06:32 -08:00
installer Reenable std tests that were disabled during merge (#3159) 2019-10-21 11:58:45 -04:00
io Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
log Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
media_types std: Move fs/path to the top-level (#3100) 2019-10-16 14:39:33 -04:00
mime Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
multipart Move everything into std subdir 2019-10-09 17:10:09 -04:00
node std/node: add some Node.js polyfill to require() (#3382) 2019-11-19 16:44:59 -05:00
path std: Move fs/path to the top-level (#3100) 2019-10-16 14:39:33 -04:00
prettier support load yaml/yml prettier config (#3370) 2019-11-18 21:15:52 -05:00
strings Run deno_std tests in github actions 2019-10-09 17:22:22 -04:00
testing run std test with cargo test (#3344) 2019-11-15 13:31:53 -05:00
textproto Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
util Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
uuid Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
ws Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05:00
xeval Move everything into std subdir 2019-10-09 17:10:09 -04:00
manual.md refactor: reorganize flags (#3389) 2019-11-26 08:06:32 -08:00
README.md Run deno_std tests in github actions 2019-10-09 17:22:22 -04:00
style_guide.md Change magic table-of-contents thing (#3197) 2019-10-24 17:58:57 -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/

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.