sindresorhus / is-retry-allowed
Check whether a request can be retried based on the `error.code`
☆80Updated 3 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
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆66Updated 2 months ago
- Detect the dominant newline character of a string☆55Updated last year
- A better `Promise.race()`☆46Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 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…☆93Updated 2 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Parse HTTP X-Forwarded-For header☆57Updated 2 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Require global npm as a local node module.☆32Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 10 months ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Make a shallow clone of an object, array or primitive.☆29Updated 4 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Get the auth token set for an npm registry☆35Updated 2 months ago
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Sort an object's keys, including an optional key list☆31Updated 2 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 months ago
- Find the closest package.json file☆163Updated last year
- Sort the keys of an object☆103Updated 8 months ago
- Import a globally installed module☆58Updated last year
- Manipulate the HTTP Vary header☆61Updated 11 months ago