@retrofix/is-network-error
v1.1.0
Published
Check if a value is a Fetch network error
Maintainers
Readme
Rebundled by RetroFixJS
This is a rebundle of is-network-error that provides dual CommonJS/ES module support.
Note: This is a transitional tool, not a long-term solution. ESM is the future, but some projects still need CJS compatibility.
Original Package Information
| Info | Link | |----------------|------------------------------------------------| | Package | https://www.npmjs.com/package/is-network-error | | Repository | https://github.com/sindresorhus/is-network-error | | Funding | https://github.com/sponsors/sindresorhus |
RetroFixJS Project
https://github.com/yelliver/RetroFixJS
RetroFixJS is an automated tool that patches, rebundles, and publishes libraries with dual module support for both CommonJS and ESM environments.
Usage
Use this rebundled version of is-network-error with npm aliases to maintain your original import paths - no code
changes needed!
Choose one of these two methods:
Method 1: CLI Installation
# Install via CLI with an npm alias
npm install is-network-error@npm:@retrofix/is-network-errorMethod 2: Package.json Configuration
{
"dependencies": {
"is-network-error": "npm:@retrofix/is-network-error@latest"
}
}