sindresorhus / p-try
Start a promise chain
☆58Updated 3 years ago
Alternatives and similar repositories for p-try:
Users that are interested in p-try are comparing it to the libraries listed below
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- 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…☆93Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Write a package.json file☆88Updated 9 months ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 10 months ago
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆59Updated 3 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Import a globally installed module☆58Updated last year
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆66Updated 2 months ago
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Find the closest package.json file☆163Updated last year
- Get the first fulfilled promise that satisfies the provided testing function☆75Updated 2 months ago
- ☆45Updated 2 years ago
- Read a package.json file☆165Updated last year
- Iterate over promises serially☆50Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Easily handle defaults for your options☆74Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 months ago
- The cmd-shim used in npm☆77Updated last week
- Get the set npm registry URL☆55Updated 2 weeks ago
- Create and parse HTTP Content-Type header☆136Updated 9 months ago
- Monorepo for NodeLib libraries☆72Updated 3 months ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago