1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/std
木杉 481fcfc8bd
file_server: use text/typescript instead of application/typescript (#4620)
I just tried it and found that using application/typescript, the browser will download 
the file directly, I think that .ts should be mapped to application/javascript or 
text/typescript
2020-04-07 10:06:22 -04:00
..
archive Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ (#4565) 2020-04-01 15:23:39 -04:00
bytes Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ (#4565) 2020-04-01 15:23:39 -04:00
datetime used native padStart/End where possible (#4537) 2020-03-31 12:34:13 +02:00
encoding Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ (#4565) 2020-04-01 15:23:39 -04:00
examples Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ (#4565) 2020-04-01 15:23:39 -04:00
flags feat(std/flags): pass key and value to unknown (#4637) 2020-04-06 09:27:10 -04:00
fmt Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
fs fix erroneous assert (#4608) 2020-04-03 13:49:05 -04:00
http file_server: use text/typescript instead of application/typescript (#4620) 2020-04-07 10:06:22 -04:00
io Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ (#4565) 2020-04-01 15:23:39 -04:00
log Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
mime Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ (#4565) 2020-04-01 15:23:39 -04:00
node Add exists and existsSync to std/node (#4655) 2020-04-06 23:43:14 -04:00
path feat: Add common to std/path (#4527) 2020-03-30 11:36:55 -04:00
permissions Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
signal Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
testing remove std/testing/runner.ts (#4649) 2020-04-06 18:50:56 +02:00
textproto Drop headers with trailing whitespace in header name (#4642) 2020-04-06 09:58:46 -04:00
types Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
util Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
uuid Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
ws Move encode, decode helpers to /std/encoding/utf8.ts, delete /std/strings/ (#4565) 2020-04-01 15:23:39 -04:00
manual.md doc: Fix some typos and improve a few sentences in the std manual (#4522) 2020-03-29 22:23:57 -04:00
README.md Remove media_types from std/README.md (#4650) 2020-04-06 19:16:18 -04:00
style_guide.md doc: Improve the style guide (#4627) 2020-04-04 13:11:43 -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.