sindresorhus

is-network-error

Check if a value is a Fetch network error

by sindresorhus

JavaScript

JavaScript96.6%
TypeScript3.4%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
timkelty

PR #10 copied Cloudflare's unpunctuated documentation label into the existing message set. Workerd instead constructs for disconnections. This replaces the mistaken matcher with the actual runtime shape and updates the type guard to . Workerd source · Workerd test

timkelty · 1mo ago
sldavidson

We are running into unexpected behavior with in our App not retrying in some Safari network errors. I think I have tracked it down to the Safari check in this library. The error message that is getting logged in our systems for the is: `message === 'Load failed'message.startsWith('Load failed')`?

sldavidson · 5mo ago
Structured data for AI agents

Repository: sindresorhus/is-network-error. Description: Check if a value is a Fetch network error Stars: 164, Forks: 10. Primary language: JavaScript. Languages: JavaScript (96.6%), TypeScript (3.4%). License: MIT. Latest release: v1.3.2 (5mo ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, kayone, Kikobeats, gnuletik, timkelty.