sindresorhus / p-defer
Create a deferred promise
☆78Updated 10 months ago
Alternatives and similar repositories for p-defer:
Users that are interested in p-defer are comparing it to the libraries listed below
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆91Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Make a function mimic another one☆94Updated 3 months ago
- Reduce a list of values using promises into a promise for a value☆69Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Start a promise chain☆58Updated 3 years ago
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- Monorepo for NodeLib libraries☆70Updated last month
- Read a package.json file☆166Updated last year
- Check if your package was installed globally☆70Updated last year
- Break out of a promise chain☆23Updated 3 years ago
- Make your own nested errors☆68Updated last year
- Iterate over promises serially☆50Updated 2 years ago
- Get the first fulfilled promise that satisfies the provided testing function☆73Updated this week
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 3 months ago
- Import a globally installed module☆57Updated last year
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Check if something is a promise☆46Updated 3 years ago
- Write a package.json file☆89Updated 6 months ago
- Find the closest package.json file☆162Updated last year
- Get the real path of the system temp directory☆83Updated 2 years ago
- Log the value/error of a promise☆26Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Lazy number range generator☆81Updated last year