npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

currency-info-sphere

v1.0.7

Published

A lightweight JavaScript library for country information, currency details, ISO codes, currency symbols, and fast country-to-currency lookup.

Readme

🌍 Currency Info Sphere

npm version License: MIT

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.


✨ Features

  • 🌍 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

📦 Installation

npm install currency-info-sphere

🚀 Usage

import { 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);

Example Output

{
  name: "United States",
  commonName: "United States Dollar / Dollar",
  currency: "USD",
  symbol: "$",
  isoCode: "US",
  flag: "us"
}

📋 Data Structure

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 |


🎥 Demo Video

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.


💡 Use Cases

This package is ideal for:

  • Currency converters
  • Finance applications
  • Banking systems
  • E-commerce websites
  • Travel applications
  • Country selectors
  • Internationalization (i18n)
  • Educational projects
  • Dashboard applications

🤝 Contributing

Contributions are welcome!

If you'd like to improve this package:

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Open a Pull Request

❤️ Support the Project

If you find this package helpful, please consider:

  • ⭐ Starring the GitHub repository
  • 🐞 Reporting bugs
  • 💡 Suggesting new features
  • 🤝 Contributing improvements

📄 License

This project is licensed under the MIT License.


👨‍💻 Author

Zeeshan Khan

GitHub: https://github.com/zkromeo


If you find this package useful, don't forget to ⭐ star the repository on GitHub!