2019-10-12 19:23:18 +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.
|
|
|
|
|
2018-12-18 23:25:49 +00:00
|
|
|
# Deno Standard Modules
|
2018-11-07 19:28:47 +00:00
|
|
|
|
2019-01-04 04:11:40 +00:00
|
|
|
[![Build Status](https://dev.azure.com/denoland/deno_std/_apis/build/status/denoland.deno_std?branchName=master)](https://dev.azure.com/denoland/deno_std/_build/latest?definitionId=2?branchName=master)
|
2018-11-07 19:28:47 +00:00
|
|
|
|
2019-01-15 17:28:09 +00: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 16:40:09 +00:00
|
|
|
|
2019-01-15 17:28:09 +00:00
|
|
|
Contributions are welcome!
|
2019-01-03 16:40:09 +00:00
|
|
|
|
2019-01-15 17:28:09 +00:00
|
|
|
## How to use
|
2019-01-03 16:40:09 +00:00
|
|
|
|
2019-01-15 17:28:09 +00:00
|
|
|
These modules are tagged in accordance with Deno releases. So, for example, the
|
2019-03-02 20:49:39 +00: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 16:40:09 +00:00
|
|
|
|
2019-01-15 17:28:09 +00: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 15:28:01 +00:00
|
|
|
|
2019-04-13 19:30:56 +00:00
|
|
|
## Documentation
|
|
|
|
|
|
|
|
Here are the dedicated documentations of modules:
|
|
|
|
|
2019-08-30 17:42:31 +00:00
|
|
|
- [colors](fmt/colors.ts)
|
2019-04-13 19:30:56 +00:00
|
|
|
- [datetime](datetime/README.md)
|
2019-05-30 13:50:29 +00:00
|
|
|
- [encoding](encoding/README.md)
|
2019-04-13 19:30:56 +00: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)
|
|
|
|
- [prettier](prettier/README.md)
|
|
|
|
- [strings](strings/README.md)
|
|
|
|
- [testing](testing/README.md)
|
2019-07-11 14:23:14 +00:00
|
|
|
- [uuid](uuid/README.md)
|
2019-05-20 13:22:15 +00:00
|
|
|
- [ws](ws/README.md)
|
2019-04-13 19:30:56 +00:00
|
|
|
|
2019-02-12 23:23:49 +00:00
|
|
|
## Contributing
|
2019-01-04 04:13:21 +00:00
|
|
|
|
2019-05-16 20:23:25 +00:00
|
|
|
deno_std is a loose port of [Go's standard library](https://golang.org/pkg/).
|
|
|
|
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.
|
|
|
|
|
2019-02-12 23:23:49 +00:00
|
|
|
Follow the [style guide](https://deno.land/style_guide.html).
|