{"library":"is-network-error","type":"library","category":null,"description":"Detect Fetch network errors across Node.js, Bun, Deno, and browsers. v1.3.2 – stable, low release cadence. Unlike manual checks (e.g., error.message.includes('fetch')), it handles the non-standardized error differences across runtimes. Useful for conditional retry logic or fallback handling in fetch-based code. Written in TypeScript, ships type definitions. Requires Node >=16. Minimal, zero-dependency package.","language":"javascript","status":"active","version":"1.3.2","tags":["javascript","network","error","fetch","whatwg","detect","check","typeerror","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install is-network-error","imports":["import isNetworkError from 'is-network-error'","import type isNetworkError from 'is-network-error'","const { default: isNetworkError } = await import('is-network-error')"]},{"cmd":"yarn add is-network-error","imports":[]},{"cmd":"pnpm add is-network-error","imports":[]}],"homepage":"https://github.com/sindresorhus/is-network-error#readme","github":"https://github.com/sindresorhus/is-network-error","docs":null,"changelog":null,"pypi":null,"npm":"is-network-error","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}