sindresorhus / p-tryLinks
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
Sorting:
- Detect the dominant newline character of a string☆55Updated last year
- Check if a value is a plain object☆102Updated last year
- 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…☆94Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Convert a value to an array☆129Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a string☆111Updated 4 years ago
- Wordwrap a string with ANSI escape codes☆126Updated last year
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 3 years ago
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Updated 4 years ago
- Check if your package was installed globally☆70Updated last year
- Tests whether one path is inside another path☆42Updated 5 years ago
- Indent each line in a string☆113Updated 3 years ago
- Make a shallow clone of an object, array or primitive.☆29Updated 5 years ago
- Check if something is a Node.js stream☆112Updated 8 months ago
- Get the path of the caller module☆64Updated 3 years ago
- Check if a file path is a binary file☆46Updated last year
- normalizes package metadata, typically found in package.json file.☆201Updated 2 weeks ago
- Get the auth token set for an npm registry☆34Updated 5 months ago
- Find the closest package.json file☆164Updated last month
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆122Updated 4 months ago
- Sort the keys of an object☆104Updated 10 months ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 4 months ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated 11 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- Get the path of the parent module☆77Updated last year
- Manipulate the HTTP Vary header☆61Updated last week