Coder Social home page Coder Social logo

thiagodp / country-to-currency Goto Github PK

View Code? Open in Web Editor NEW
37.0 2.0 8.0 1.18 MB

💵 Maps country codes (ISO 3166-1-alpha-2) to their default currency codes (ISO 4217)

License: MIT License

JavaScript 71.59% TypeScript 28.41%
country country-code currency currency-code iso-3166 iso-4217 locale i18n javascript typescript

country-to-currency's People

Contributors

davidmh avatar thiagodp avatar xaphod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

country-to-currency's Issues

CH: CHF

The default currency of CH (Switzerland) is not CHE, but CHF.

TR country code missing from type

I receive a typing error when trying to pass in a value which can be "TR" as the index value. On inspection, it seems that TR is missing from the index.d.ts file, despite "TR" being present in index.ts.

Consider: `SL: 'SLL',` -> `SL: 'SLE',`

This one is unclear, but it sounds like both are circulating in the country and they are transitioning to SLE. Using SLE would be more future proof in that case.

The Wikipedia page for Sierra Leone has the old Sierra Leone leon (SLL).

ChatGPT:

"Sierra Leone uses two currency codes: SLL for the old Leone and SLE for the new Leone. In 2021, it was announced that a new
Leone (SLE) would be introduced, worth 1,000 old Leones (SLL). This new Leone was introduced in July 2022, and both the old Leone (SLL) and new Leone (SLE) remained legal tender during the transition period. As of April 2023, both currencies were still in circulation, with the new Leone being the primary currency​​."

"Additionally, the European Union's Interinstitutional Style Guide confirms that Sierra Leone has two currencies in circulation, SLE and SLL, as part of the ISO 4217 codes. This reflects the ongoing transition from the old Leone to the new Leone, with both currencies being used simultaneously during the transition period​​."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.