sindresorhus / p-state
Inspect the state of a promise
☆128Updated 11 months ago
Alternatives and similar repositories for p-state:
Users that are interested in p-state are comparing it to the libraries listed below
- Split an iterable into evenly sized chunks☆154Updated last year
- Block the main thread for a given amount of time☆124Updated last year
- Make a synchronous function have a timeout☆125Updated 5 months ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- 🎀 Just the cutest and tiniest queue/deque implementation!☆112Updated 4 months ago
- Make an asynchronous function synchronous☆313Updated 2 years ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 6 months ago
- A tiny (215B) and fast utility to expand a flattened object☆202Updated last year
- Detect whether the terminal supports Unicode☆84Updated 5 months ago
- CLI tool for testing given ESlint rules against multiple repositories at once.☆131Updated this week
- Like `Promise.all()` but for `Map` and `Object`☆195Updated last year
- The regular expression parser for ECMAScript.☆155Updated last year
- Get the ID of the process that uses a certain port☆138Updated last month
- Serialize objects to JSON with handling for circular references☆154Updated 8 months ago
- JOSS can serialize almost every JavaScript data type and data structure, so data can be seamlessly exchanged between browsers and servers…☆55Updated 2 years ago
- A tiny (195B to 224B) utility to recursively list all (total) files in a directory☆152Updated last year
- Minimalistic update notifications for command line interfaces☆166Updated 8 months ago
- Read and write files atomically and reliably.☆164Updated 7 months ago
- Check if your code is running as an npm script☆55Updated 3 years ago
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated last year
- An implementation of window.fetch in Node.js using Minipass streams☆55Updated this week
- Quickly attach multiple ESM Loaders and/or Require Hooks together but without the repetitive `--experimental-loader` and/or `--require` N…☆50Updated 3 years ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆98Updated last year
- Object.hasOwn() proposal for ECMAScript☆134Updated 3 years ago
- ☆47Updated 7 years ago
- A tiny (153B) utility to compare semver strings.☆124Updated 7 months ago
- Check if stdout or stderr is interactive☆116Updated last year
- ☆77Updated 8 months ago
- Add editor-like tab-to-indent functionality to <textarea>, in a few bytes☆161Updated last year
- ECMAScript proposal for Deduplicating method of Array☆140Updated 2 years ago