deno_std
deno_std copied to clipboard
The Deno Standard Library
**Changes** This PR removes the `NOTSET` `LogLevel`. **Reasoning** Instead of `NOTSET` loggers should be initialized with the default set `LogLevel` (which is `INFO`).
```ts let { UntarStream } = await import('jsr:@std/tar/untar-stream') let { dirname, normalize } = await import('jsr:@std/path') let { ensureDir } = await import('jsr:@std/fs') let url = 'https://bitcoincore.org/bin/bitcoin-core-28.0/bitcoin-28.0-x86_64-linux-gnu.tar.gz' for await (let...
Support Iterable for `slidingWindows` While working here I have made the errors a bit more granular. With light benchmarking I have also made the array use case around ~2x faster...
This pull request fixes a highly probable bug in the JSDocs example where if the directory already exists, it throws an error, or if the directory's directory doesn't exist, it...
**Is your feature request related to a problem? Please describe.** Currently, there is no utility in the `jsr:@std` repo that simplifies the construction of URLs with dynamic path parameters and...
Thank you to all for the work on this project. The JSR page for @std/expect states "Jest compatible `expect` assertion functions" While trying to use `toMatchObject` I noticed it doesn't...
Currently we have a `debounce()` function but not a `throttle()` one. Reference: https://developer.mozilla.org/en-US/docs/Glossary/Throttle
**Describe the bug** I wanted to make my project to use [`deno install`](https://docs.deno.com/runtime/reference/cli/install) and vendoring, but I encountered a strange problem, namely that when setting `"vendor": true` in the `deno.json`...
When outputting CSV fields that are small numbers, the output can end up in scientific notation. This can confuse spreadsheet software.  **Describe the solution you'd like** A StringifyOption to...