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
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Check if a value is a plain object☆102Updated 10 months ago
- Check if your package was installed globally☆70Updated last year
- Monorepo for NodeLib libraries☆70Updated 2 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
- Get the path of the caller module☆64Updated 3 years ago
- programmatic npm API☆110Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- ☆45Updated 2 years ago
- Easily handle defaults for your options☆73Updated last year
- Get the path of the parent module☆77Updated last year
- Manipulate the HTTP Vary header☆61Updated 9 months ago
- Indent each line in a string☆113Updated 2 years ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Find the closest package.json file☆162Updated last year
- An ESnext spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.☆32Updated 2 months ago
- Compressible Content-Type / mime checking.☆99Updated 11 months ago
- Convert a value to an array☆130Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 weeks ago
- Check if something is a promise☆46Updated 3 years ago
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Make a function mimic another one☆94Updated 4 months ago
- Import a globally installed module☆57Updated last year
- Check if a file path is a binary file☆44Updated 10 months ago