sindresorhus / p-stateView external linksLinks
Inspect the state of a promise
☆133Sep 23, 2025Updated 4 months ago
Alternatives and similar repositories for p-state
Users that are interested in p-state are comparing it to the libraries listed below
Sorting:
- Split an iterable into evenly sized chunks☆156Dec 27, 2023Updated 2 years ago
- Make an asynchronous function synchronous☆326Feb 3, 2026Updated last week
- Detect whether the terminal supports Unicode☆87Sep 9, 2024Updated last year
- 🛕 Reuse GitHub Actions workflows across repositories☆267Feb 2, 2021Updated 5 years ago
- Block the main thread for a given amount of time☆128Jan 19, 2026Updated 3 weeks ago
- Get the ID of the process that uses a certain port☆149Jan 12, 2026Updated last month
- Cooperative get-port implementation☆10Jul 10, 2022Updated 3 years ago
- Merge multiple regexes and strings into one, preserving all the flags, automatically escaping the strings☆14Aug 27, 2024Updated last year
- Run promise-returning & async functions repeatedly until you end it☆48Feb 2, 2026Updated last week
- Render a gif and provide frames to draw.☆38Jan 13, 2021Updated 5 years ago
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated 8 months ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆56Sep 11, 2025Updated 5 months ago
- noop functions to help formatters and syntax highlighters recognize embedded code☆99Dec 11, 2023Updated 2 years ago
- Like `Promise.all()` but for `Map` and `Object`☆200Sep 21, 2025Updated 4 months ago
- Tiny queue data structure☆431Nov 11, 2025Updated 3 months ago
- TypeScript with some extras for type-checking.☆29Oct 1, 2025Updated 4 months ago
- Simple wildcard matching☆34Sep 15, 2025Updated 4 months ago
- Sort an array of numbers☆18Sep 18, 2025Updated 4 months ago
- Which GitHub page are you on? Is it an issue? Is it a list? Perfect for your WebExtension or userscript.☆133Feb 6, 2026Updated last week
- Check if your code is running as an npm script☆56Sep 18, 2021Updated 4 years ago
- A tiny (128B) utility to check if a value is a prime number☆51Apr 13, 2023Updated 2 years ago
- Zero-effort nanomodule to submit a `<form>` element via `fetch` and receive the response☆20Jun 29, 2022Updated 3 years ago
- Split a string on the first occurrence of a given separator☆75Aug 20, 2025Updated 5 months ago
- Regular expression for matching reserved filename characters☆53Sep 14, 2025Updated 4 months ago
- Create a transform stream using await instead of callbacks☆70Oct 31, 2023Updated 2 years ago
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Show time elapsed while recording☆36Dec 6, 2022Updated 3 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Read and write files atomically and reliably.☆172Updated this week
- Get the version of a binary in semver format☆36Apr 3, 2024Updated last year
- Alfred workflow to control the Plash app☆30Nov 4, 2023Updated 2 years ago
- ⚛️ Simple way to create a custom React renderer☆222Feb 7, 2022Updated 4 years ago
- Get the path of the parent module☆79Sep 15, 2025Updated 4 months ago
- Get the user's default shell☆41Sep 11, 2025Updated 5 months ago
- 📆 A microscopic parser for standard cron expressions.☆19Apr 17, 2025Updated 9 months ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Make a synchronous function asynchronous by running it in a worker☆253Sep 21, 2024Updated last year
- Makes a request to NASA's Astronomy Picture of the Day (APOD) and makes it the background image☆31Sep 24, 2022Updated 3 years ago
- Generate dank mnemonic seed phrases in the terminal☆122Apr 1, 2022Updated 3 years ago