sindresorhus / is-retry-allowedLinks
Check whether a request can be retried based on the `error.code`
☆81Updated 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
Sorting:
- Detect the dominant newline character of a string☆55Updated last year
- Parse HTTP X-Forwarded-For header☆58Updated 3 weeks ago
- Wait for any promise to be fulfilled☆54Updated 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 2 years ago
- Indent each line in a string☆113Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 5 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 5 months ago
- Iterate over promises serially☆50Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 6 years ago
- Get the auth token set for an npm registry☆34Updated 2 weeks ago
- A better `Promise.race()`☆46Updated 2 years ago
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Make a function mimic another one☆95Updated 9 months ago
- Get the path of the caller module☆65Updated 3 years ago
- Regular expression for matching reserved filename characters☆50Updated 3 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated last year
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated 2 years ago
- A list of directories you should ignore by default☆23Updated 3 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 3 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- Get the first fulfilled promise that satisfies the provided testing function☆76Updated 6 months ago