sindresorhus / p-tryLinks
Start a promise chain
☆60Updated 4 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
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆63Updated 3 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…☆95Updated 3 years ago
- Check if your package was installed globally☆71Updated 2 years ago
- Indent each line in a string☆115Updated 3 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Updated 5 months ago
- A static list of the Node.js builtin modules from the latest Node.js version☆125Updated 5 months ago
- Check if a value is a plain object☆104Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last week
- Easily handle defaults for your options☆76Updated 2 years ago
- Check if a file path is a binary file☆49Updated last year
- Wordwrap a string with ANSI escape codes☆131Updated 5 months ago
- Check if something is a Node.js stream☆115Updated last year
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago
- Check if something is a promise☆45Updated 4 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆45Updated 4 years ago
- Get the set npm registry URL☆57Updated 9 months ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆112Updated 3 years ago
- Get the path of the parent module☆79Updated 4 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Updated 5 years ago
- Regular expression for matching reserved filename characters☆53Updated 4 months ago
- Manipulate the HTTP Vary header☆62Updated last week
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 4 years ago
- Filter object keys and values into a new object☆105Updated last year
- Parse HTTP X-Forwarded-For header☆58Updated last week
- Import a module like with `require()` but from the current working directory☆54Updated 3 years ago
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆59Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆41Updated last year
- Import a globally installed module☆59Updated 2 years ago