The Deno Standard Library
Go to file
Yusuke Tanaka b0f2088044
docs(csv): more examples for parse and CsvParseStream (#5605)
This commit adds more examples to `parse` function and `CsvParseStream` class to
cover all the provided options.

Also fixes a few other things:

- Replace stale description `ParseError` with the correct `SyntaxError`.
- Fix the default value of `comment` property. The old comment says the default
  value is `#`, but this was wrong.
- Get negative value in `fieldsPerRecord` option working in `parse` as
  documented

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-01 21:24:15 -07:00
_tools chore: remove requirement for @examples in constructors (#5485) 2024-07-19 13:07:02 +09:00
.github chore: clarify the policy about new features (#5581) 2024-07-31 12:33:03 +09:00
.vscode chore: add vscode settings (#4735) 2024-05-15 15:41:32 +09:00
archive chore: release 2024.07.02 (#5254) 2024-07-02 20:43:42 +09:00
assert chore(assert): mark options argument of AssertionError constructor unstable (#5573) 2024-07-30 11:15:52 +09:00
async test(async): improve test speed of async/pool_test.ts (#5611) 2024-08-02 12:32:55 +09:00
bytes chore: release 2024.07.09 (#5363) 2024-07-09 15:13:21 +09:00
cli refactor(cli): simplify argv and notFlags push (#5608) 2024-08-02 12:43:11 +10:00
collections chore: release 2024.07.19 (#5494) 2024-07-19 20:22:43 +09:00
crypto chore: release 2024.07.26 (#5554) 2024-07-26 19:45:22 +09:00
csv docs(csv): more examples for parse and CsvParseStream (#5605) 2024-08-01 21:24:15 -07:00
data_structures chore: release 2024.07.26 (#5554) 2024-07-26 19:45:22 +09:00
datetime chore(datetime): remove console log (#5610) 2024-08-02 07:40:37 +10:00
dotenv chore: release 2024.07.19 (#5494) 2024-07-19 20:22:43 +09:00
encoding chore: release 2024.07.09 (#5363) 2024-07-09 15:13:21 +09:00
expect docs(expect): add examples of matcher usages (#5553) 2024-07-26 19:39:06 +09:00
fmt chore: release fmt@1.0.0 (#5454) 2024-07-31 19:24:26 +09:00
front_matter refactor(front-matter): replace regexp factory with regexp literals (#5370) 2024-08-01 09:19:16 +10:00
fs docs(fmt,fs,text,yaml): fix Markdown alerts (#5568) 2024-07-29 21:31:14 +10:00
html feat(html/unstable): add isValidCustomElementName() (#5456) 2024-08-01 12:26:54 +09:00
http BREAKING(http): remove ETagSource (#5577) 2024-07-30 12:40:08 +09:00
ini fix(ini): correctly handle quoted values in parse() (#5592) 2024-08-02 11:53:41 +09:00
internal chore: release 2024.07.02 (#5254) 2024-07-02 20:43:42 +09:00
io refactor(io): use writeAll() within copy() (#5580) 2024-07-30 15:52:20 +10:00
json chore(json): remove redundant constructor examples (#5513) 2024-07-23 12:06:35 +09:00
jsonc chore(jsonc): tweak JsonValue export (#5546) 2024-07-25 16:46:08 +09:00
log docs(fs): fix options argument display (#5491) 2024-07-19 13:12:45 +09:00
media_types chore: release 2024.07.19 (#5494) 2024-07-19 20:22:43 +09:00
msgpack chore(msgpack): release msgpack@1.0.0 (#5210) 2024-07-12 00:22:27 +00:00
net chore: release net@1.0.0 (#5457) 2024-07-29 19:41:33 +09:00
path chore: release 2024.07.26 (#5554) 2024-07-26 19:45:22 +09:00
regexp chore(regexp): release regexp@1.0.0 (#5207) 2024-07-12 18:32:36 +10:00
semver docs(semver): fix Comparator example (#5585) 2024-07-31 15:54:59 +09:00
streams chore(streams): release streams@1.0.0 (#5518) 2024-07-23 12:24:03 +09:00
testing docs(testing): mention default serializer (#5590) 2024-07-31 16:45:22 +09:00
text docs(fmt,fs,text,yaml): fix Markdown alerts (#5568) 2024-07-29 21:31:14 +10:00
toml chore(toml): release toml@1.0.0 (#5204) 2024-07-10 01:03:29 +00:00
ulid fix(ulid): fix decode-time export path (#5432) 2024-07-15 12:14:36 +09:00
url deprecation(url): deprecate @std/url (#5530) 2024-08-02 12:53:11 +10:00
uuid chore: release uuid@1.0.0 (#5200) 2024-07-01 20:04:00 +10:00
webgpu chore: release 2024.07.02 (#5254) 2024-07-02 20:43:42 +09:00
yaml docs(fmt,fs,text,yaml): fix Markdown alerts (#5568) 2024-07-29 21:31:14 +10:00
.editorconfig chore: run test in Node.js (#5258) 2024-07-04 14:36:47 +09:00
.gitattributes
.gitignore chore: add vscode settings (#4735) 2024-05-15 15:41:32 +09:00
badge.svg chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
browser-compat.tsconfig.json chore: fix workspace field for browser-compat config (#5441) 2024-07-15 09:58:04 +09:00
deno.json chore: release fmt@1.0.0 (#5454) 2024-07-31 19:24:26 +09:00
LICENSE
README.md chore: update repo names (#5466) 2024-07-17 20:50:10 +09:00
Releases.md chore: update Releases.md (#5579) 2024-07-30 14:29:58 +09:00

Deno Standard Library

JSR @std codecov ci

High-quality APIs for Deno and the web. Use fearlessly.

Important

Newer versions of the Standard Library are now hosted on JSR. Older versions up till 0.224.0 are still available at deno.land/std.

Packages

The following list contains links to the Standard Library's packages and documentation:

Package Status Latest version
archive Unstable JSR
assert Settled JSR
async Settled JSR
bytes Settled JSR
cli Unstable JSR
collections Settled JSR
crypto Settled JSR
csv Settled JSR
data_structures Unstable JSR
datetime Unstable JSR
dotenv Unstable JSR
encoding Settled JSR
expect Unstable JSR
fmt Settled JSR
front_matter Settled JSR
fs Settled JSR
html Unstable JSR
http Unstable JSR
ini Unstable JSR
io Unstable JSR
json Settled JSR
jsonc Settled JSR
log Unstable JSR
media_types Settled JSR
msgpack Unstable JSR
net Unstable JSR
path Settled JSR
regexp Unstable JSR
semver Unstable JSR
streams Settled JSR
testing Settled JSR
text Unstable JSR
toml Settled JSR
ulid Unstable JSR
url Unstable JSR
uuid Settled JSR
webgpu Unstable JSR
yaml Settled JSR

Note

Settled status means a package is unlikely to have breaking changes, but has not yet achieved v1 status.

Stabilization

The Standard Library is now in the process of stabilizing its packages. See #4600 for details.

Architecture

Check out the architecture guide here.

Design

Check out the design documentation here.

Contributing

Check out the contributing guidelines here.

Releases

Package versions >=1.0.0 follow Semantic Versioning, and package versions <1.0.0 follow this proposal.

Badge

Built with the Deno Standard Library

<a href="https://jsr.io/@std">
  <img
    width="135"
    height="20"
    src="https://raw.githubusercontent.com/denoland/std/main/badge.svg"
    alt="Built with the Deno Standard Library"
  />
</a>
[![Built with the Deno Standard Library](https://raw.githubusercontent.com/denoland/std/main/badge.svg)](https://jsr.io/@std)

Frequently Asked Questions

Check out the frequently asked questions page here.