lurq

npm package

Home

connect-history-api-fallback

connect-history-api-fallback is middleware that allows Single Page Applications (SPAs) to handle navigation using the HTML5 History API by redirecting requests for non-existing directories to a specified index page. It helps prevent 404 errors when users refresh or directly access routes other than the landing page.

lurq health score
45/100
Confidence
unproven
Weekly downloads
17,961,473
Latest version
2.0.0
Last release
Jun 27, 2022
License
MIT

Should you depend on connect-history-api-fallback?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks connect-history-api-fallback at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other routing packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 3, 2026; this page refreshes every 24 hours. Source repository.