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
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Check if a value is a plain object☆102Updated 10 months ago
- Iterate over promises serially☆50Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Manipulate the HTTP Vary header☆61Updated 10 months 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
- Reduce a list of values using promises into a promise for a value☆69Updated 2 years ago
- Import a globally installed module☆58Updated last year
- Get the first fulfilled promise that satisfies the provided testing function☆74Updated last month
- Monorepo for NodeLib libraries☆70Updated 2 months ago
- Get a random temporary file path☆79Updated 2 years ago
- programmatic npm API☆110Updated 3 years ago
- Write a package.json file☆88Updated 7 months ago
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Read a package.json file☆165Updated last year
- Require global npm as a local node module.☆32Updated 2 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Indent each line in a string☆113Updated 2 years ago
- Get the set npm registry URL☆54Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Check if something is a Node.js stream☆110Updated 4 months ago
- Check if a file path is a binary file☆44Updated 10 months ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆49Updated 3 years ago
- Get the auth token set for an npm registry☆35Updated last month
- Stringify an object sorting scalars before objects, and defaulting to 2-space indent☆25Updated 2 years ago