Currency Info Sphere is a lightweight JavaScript library that provides comprehensive country and currency information. It includes official country names, currency names, ISO currency codes, country ISO codes, currency symbols, and country flags—all from a local JSON dataset with no API calls required.
Perfect for React, JavaScript, Node.js, and other web applications that need reliable country and currency data.
- 🌍 Country information
- 💰 Currency names and ISO currency codes
- 🔤 Currency symbols
- 🚩 Country flags
- 📦 Lightweight and fast
- ⚡ No API key required
- 🌐 Works offline
- 📄 Easy JSON-based data
- 🚀 Compatible with React, Node.js, Next.js, Vue, and other JavaScript frameworks
npm install currency-info-sphereimport { countriesCurrencyInfo } from "currency-info-sphere";
// Get all countries
console.log(countriesCurrencyInfo);
// Find a specific country
const countryInfo = countriesCurrencyInfo.find(
(country) => country.name === "United States",
);
console.log(countryInfo);{
name: "United States",
commonName: "United States Dollar / Dollar",
currency: "USD",
symbol: "$",
isoCode: "US",
flag: "us"
}Each object contains the following properties:
| Property | Description |
|---|---|
name |
Official country name |
commonName |
Common currency name |
currency |
ISO 4217 currency code |
symbol |
Currency symbol |
isoCode |
ISO country code |
flag |
Country flag code |
Watch a quick demonstration of the package:
Demo Video
https://raw.githubusercontent.com/zkromeo/CurrencyInfoSphere/master/public/demo-video.mp4
Note: GitHub README files don't reliably support embedded
<video>elements. Linking directly to the video provides a better experience.
This package is ideal for:
- Currency converters
- Finance applications
- Banking systems
- E-commerce websites
- Travel applications
- Country selectors
- Internationalization (i18n)
- Educational projects
- Dashboard applications
Contributions are welcome!
If you'd like to improve this package:
- Fork the repository
- Create a feature branch
- Commit your changes
- Open a Pull Request
If you find this package helpful, please consider:
- ⭐ Starring the GitHub repository
- 🐞 Reporting bugs
- 💡 Suggesting new features
- 🤝 Contributing improvements
This project is licensed under the MIT License.
Zeeshan Khan
GitHub: https://github.com/zkromeo
If you find this package useful, don't forget to ⭐ star the repository on GitHub!