sindresorhus / p-try
Start a promise chain
☆57Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for p-try
- Detect the dominant newline character of a string☆55Updated last year
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆120Updated 6 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if a value is a plain object☆102Updated 6 months ago
- ☆45Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- Check if your package was installed globally☆70Updated 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…☆91Updated last year
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Import a module like with `require()` but from the current working directory☆53Updated 2 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆65Updated 3 years ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- An ESnext spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.☆32Updated last year
- Easily handle defaults for your options☆73Updated last year
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- A better `Promise.race()`☆46Updated last year
- Manipulate the HTTP Vary header☆61Updated 6 months ago
- Parse the things that can be arguments to `npm install`☆125Updated last month
- Check whether a request can be retried based on the `error.code`☆78Updated 2 years ago
- Create a lazily evaluated value☆69Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆120Updated last year
- recursively find the closest package.json☆48Updated last year
- Get a random temporary file path☆79Updated last year
- Import a globally installed module☆57Updated 10 months ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a string☆111Updated 3 years ago