sindresorhus / p-state
Inspect the state of a promise
☆129Updated last year
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 2 years ago
- Create a transform stream using await instead of callbacks☆70Updated last year
- Detect whether the terminal supports Unicode☆85Updated 7 months ago
- 🎀 Just the cutest and tiniest queue/deque implementation!☆112Updated 6 months ago
- Switch git branches by their pull request title☆67Updated 2 years ago
- Read and write files atomically and reliably.☆165Updated 8 months ago
- Make a synchronous function have a timeout☆125Updated 7 months ago
- Make an asynchronous function synchronous☆318Updated 2 years ago
- ☆120Updated 2 years ago
- A tiny (183B to 210B) and fast utility to ascend parent directories☆153Updated 7 months ago
- Get the ID of the process that uses a certain port☆143Updated 3 months ago
- Parse an HTML string into `DocumentFragment` or one `Element`, in a few bytes (in browser)☆95Updated last year
- noop functions to help formatters and syntax highlighters recognize embedded code☆97Updated last year
- Like `Promise.all()` but for `Map` and `Object`☆195Updated last year
- ☆48Updated 7 years ago
- A tiny (215B) and fast utility to expand a flattened object☆202Updated last year
- Check if stdout or stderr is interactive☆116Updated last year
- CLI tool for testing given ESlint rules against multiple repositories at once.☆131Updated last week
- Render a gif and provide frames to draw.☆39Updated 4 years ago
- Check if your code is running as an npm script☆55Updated 3 years ago
- Microservice that forwards you to error messages☆99Updated 11 months ago
- Makes a request to NASA's Astronomy Picture of the Day (APOD) and makes it the background image☆30Updated 2 years ago
- ☆95Updated last year
- A sorted queue, based on an array-backed binary heap☆107Updated 11 months ago
- Make a synchronous function asynchronous by running it in a worker☆249Updated 7 months ago
- A simple bundler for your delicious modules☆169Updated 2 years ago
- DOM event delegation, in <1KB☆193Updated 5 months ago
- Object.hasOwn() proposal for ECMAScript☆134Updated 3 years ago
- A tiny (153B) utility to compare semver strings.☆125Updated 9 months ago