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
- Detect the dominant newline character of a string☆55Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Check if a value is a plain object☆102Updated 11 months ago
- Reduce a list of values using promises into a promise for a value☆69Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 10 months ago
- Find the closest package.json file☆162Updated last year
- Easily handle defaults for your options☆74Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆66Updated last month
- Check if a file path is a binary file☆44Updated 11 months ago
- Iterate over promises serially☆50Updated 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…☆92Updated 2 years ago
- Write a package.json file☆88Updated 8 months ago
- Get the path of the parent module☆77Updated last year
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Monorepo for NodeLib libraries☆72Updated 3 months ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated last month
- A better `Promise.race()`☆46Updated 2 years ago
- Manipulate the HTTP Vary header☆61Updated 10 months ago
- Resolve the path of a package regardless of it having an entry point☆55Updated 2 years ago
- Get the set npm registry URL☆54Updated this week
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a string☆111Updated 3 years ago
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 4 years ago
- Import a globally installed module☆58Updated last year
- Check if something is a promise☆46Updated 3 years ago