2018-12-18 18:25:49 -05:00
|
|
|
# Deno Standard Modules
|
2018-11-07 14:28:47 -05:00
|
|
|
|
2019-01-15 12:28:09 -05:00
|
|
|
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.
|
2019-01-03 11:40:09 -05:00
|
|
|
|
2019-01-15 12:28:09 -05:00
|
|
|
Contributions are welcome!
|
2019-01-03 11:40:09 -05:00
|
|
|
|
2019-01-15 12:28:09 -05:00
|
|
|
## How to use
|
2019-01-03 11:40:09 -05:00
|
|
|
|
2019-01-15 12:28:09 -05:00
|
|
|
These modules are tagged in accordance with Deno releases. So, for example, the
|
2019-10-09 17:22:22 -04:00
|
|
|
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/`
|
2019-01-03 11:40:09 -05:00
|
|
|
|
2019-01-15 12:28:09 -05:00
|
|
|
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.
|
2018-12-24 10:28:01 -05:00
|
|
|
|
2019-04-13 15:30:56 -04:00
|
|
|
## Documentation
|
|
|
|
|
|
|
|
Here are the dedicated documentations of modules:
|
|
|
|
|
2019-08-30 13:42:31 -04:00
|
|
|
- [colors](fmt/colors.ts)
|
2019-04-13 15:30:56 -04:00
|
|
|
- [datetime](datetime/README.md)
|
2019-05-30 09:50:29 -04:00
|
|
|
- [encoding](encoding/README.md)
|
2019-04-13 15:30:56 -04:00
|
|
|
- [examples](examples/README.md)
|
|
|
|
- [flags](flags/README.md)
|
|
|
|
- [fs](fs/README.md)
|
|
|
|
- [http](http/README.md)
|
|
|
|
- [log](log/README.md)
|
|
|
|
- [media_types](media_types/README.md)
|
|
|
|
- [strings](strings/README.md)
|
|
|
|
- [testing](testing/README.md)
|
2019-07-11 10:23:14 -04:00
|
|
|
- [uuid](uuid/README.md)
|
2019-05-20 09:22:15 -04:00
|
|
|
- [ws](ws/README.md)
|
2019-04-13 15:30:56 -04:00
|
|
|
|
2019-02-12 18:23:49 -05:00
|
|
|
## Contributing
|
2019-01-03 23:13:21 -05:00
|
|
|
|
2019-05-16 16:23:25 -04:00
|
|
|
deno_std is a loose port of [Go's standard library](https://golang.org/pkg/).
|
2019-10-09 17:22:22 -04:00
|
|
|
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.
|
2019-05-16 16:23:25 -04:00
|
|
|
|
|
|
|
Please ensure the copyright headers cite the code's origin.
|
|
|
|
|
2019-02-12 18:23:49 -05:00
|
|
|
Follow the [style guide](https://deno.land/style_guide.html).
|