sindresorhus / is-retry-allowed
Check whether a request can be retried based on the `error.code`
☆78Updated 2 years ago
Alternatives and similar repositories for is-retry-allowed:
Users that are interested in is-retry-allowed are comparing it to the libraries listed below
- Detect the dominant newline character of a string☆55Updated last year
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆65Updated 3 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Import a globally installed module☆57Updated last year
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Find the closest package.json file☆161Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 8 months ago
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Get the auth token set for an npm registry☆35Updated last month
- Check if the process is running with elevated privileges☆40Updated 3 years ago
- Iterate over promises serially☆50Updated 2 years ago
- Easily handle defaults for your options☆73Updated last year
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 7 months ago
- Strip the final newline character from a string/buffer☆36Updated 2 months ago
- Get the set npm registry URL☆53Updated 2 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated last year
- Get the path of the parent module☆77Updated last year
- Write a package.json file☆89Updated 5 months ago