Releases: dr5hn/countrystatecity-countries-browser
Releases · dr5hn/countrystatecity-countries-browser
v1.0.0
@countrystatecity/countries-browser v1.0.0
Initial Release
Browser-native countries, states, and cities data — same API as the server package, works in React, Vue, Svelte, Vite, and any browser.
- fetch + jsDelivr CDN (no Node.js fs/path dependencies)
- ~5KB JS bundle, data loaded on-demand from CDN
- LRU in-memory cache for performance
- Configurable: self-host data, custom timeout, custom headers
- 250+ countries, 5,000+ states, 150,000+ cities
- 68 tests passing
- TypeScript types included
npm: https://www.npmjs.com/package/@countrystatecity/countries-browser
npm install @countrystatecity/countries-browser