1.1.0 • Published 9 months ago

@retrofix/is-network-error v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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

InfoLink
Packagehttps://www.npmjs.com/package/is-network-error
Repositoryhttps://github.com/sindresorhus/is-network-error
Fundinghttps://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-error

Method 2: Package.json Configuration

{
  "dependencies": {
    "is-network-error": "npm:@retrofix/is-network-error@latest"
  }
}