deno_std
deno_std copied to clipboard
The Deno Standard Library
As it stands, @std/archive only contains one type of archive format, Tar. This proposal suggests that it should be renamed to its own @std module for the following reasons: 1....
Please add this utility to check the Promise status ```ts export type PromiseState = 'fulfilled' | 'rejected' | 'pending'; var t = Symbol('t'); /** * Return state (fulfilled/rejected/pending) of a...
As FS APIs in Deno works with file URL object, it would make sense to support file URL input with `path.dirname`. ```ts dirname(new URL("file:///path/to/dir/file")) // returns `/path/to/dir` on unix dirname(new...
I suggest a new `BidirectionalMap` class. It'd have all the methods/properties of [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) but with `getReverse()`, `hasReverse()`, etc. A contributor could use this #4985 as a baseline (closed for other...
**Is your feature request related to a problem? Please describe.** The poorly-named and overly-broad [`DOMException`](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) error subclass currently has no good way of distinguishing between its many possible causes. For...
Now that we have the `expect-error` directive (#5688), we should re-evaluate the use of the `no-eval` directive and move to `expect-error`, where appropriate ([context](https://github.com/denoland/std/pull/5688#issuecomment-2296069351)). This could be especially in `@std/assert`...
**Is your feature request related to a problem? Please describe.** I'm currently in the process of migrating some of my libraries to deno and noticed that `it.todo` and `describe.todo` are...
**Is your feature request related to a problem? Please describe.** The problem: there is a massive array of objects, and it is very, very large, I want to be able...
**Is your feature request related to a problem? Please describe.** I want to create a front matter with a code like this: ```yml --- title: Post title date: 2024-09-01 ---...
Create the draft of GitHub release when the tag of the form `release-YYYY.MM.DD` is created. The release note should be the same as the first H2 section of `Releases.md`