New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

currency-icons

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

currency-icons

Icons for all currencies

  • 1.0.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
183
decreased by-20.09%
Maintainers
1
Weekly downloads
 
Created
Source

Currency Icons

Icons for all circulating currencies in the world, generated from Wikipedia data. Now with automatic weekly updates!

Samples

CodeNameSymbolIcon
GBPBritish pound£pound
EUREuro
CZKCzech koruna
ANGNetherlands Antillean guilderƒ
NPRNepalese rupeeरू

Sources

  • Currency data comes from this wikipedia page.
  • Icons are generated using the Noto Sans Light font.

Generate

poetry install
npm install
npm run build

Use

import icons from 'currency-icons';

console.log(icons["GBP"])
{
  "name": "British pound",
  "symbol": "£",
  "icon": "data:image/png;base64,iVBORw0KGgoAAAANS..."
}

Why use this package

  • Others are not up-to-date or are incorrect
  • This is the only package that provides images, this is important because if you display currency symbols directly to your users, some of the currency symbols will be displayed as tofu (those ugly boxes) because the end user isn't using a font that supports those glyphs.

License

Keywords

FAQs

Package last updated on 28 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc