sindresorhus / p-tryLinks
Start a promise chain
☆60Updated 3 months ago
Alternatives and similar repositories for p-try
Users that are interested in p-try are comparing it to the libraries listed below
Sorting:
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆130Updated 4 months ago
- Check if a value is a plain object☆103Updated last year
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Updated 4 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…☆95Updated 3 years ago
- Indent each line in a string☆115Updated 3 years ago
- Check if something is a Node.js stream☆115Updated last year
- Ponyfill for Error#captureStackTrace☆63Updated 3 years ago
- Get the set npm registry URL☆57Updated 8 months ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Check if your package was installed globally☆71Updated 2 years ago
- Easily handle defaults for your options☆76Updated 2 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆125Updated 4 months ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 3 years ago
- Parse HTTP X-Forwarded-For header☆58Updated last week
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Find the closest package.json file☆166Updated 7 months ago
- Strip UTF-8 byte order mark (BOM) from a string☆112Updated 4 years ago
- Create a MD5 hash with hex encoding☆47Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- ☆45Updated 3 years ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆112Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Check if something is a promise☆46Updated 4 years ago
- Import a module like with `require()` but from the current working directory☆54Updated 3 years ago
- Check whether a request can be retried based on the `error.code`☆82Updated 3 years ago
- Check if a file path is a binary file☆49Updated last year
- Tests whether one path is inside another path☆43Updated 5 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Updated 4 years ago