{"analyzedAt":"2022-07-10T15:24:37.235Z","collected":{"metadata":{"name":"currency-list","scope":"unscoped","version":"1.0.8","description":"Localized currency list","keywords":["currency","list","locale","symbol","ISO","4217","code"],"date":"2022-03-30T15:09:57.618Z","author":{"name":"Artūras Sotničenko"},"publisher":{"username":"tuturis","email":"0@arturas.me"},"maintainers":[{"username":"tuturis","email":"0@arturas.me"}],"repository":{"type":"git","url":"git+https://github.com/webplan-pro/currency-list.git"},"links":{"npm":"https://www.npmjs.com/package/currency-list","homepage":"https://github.com/webplan-pro/currency-list#readme","repository":"https://github.com/webplan-pro/currency-list","bugs":"https://github.com/webplan-pro/currency-list/issues"},"license":"MIT","devDependencies":{"@types/jest":"^27.4.1","jest":"^27.5.1","ts-jest":"^27.1.4","typescript":"^4.6.3"},"releases":[{"from":"2022-06-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":0},{"from":"2022-04-11T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":1},{"from":"2022-01-11T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":3},{"from":"2021-07-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":3},{"from":"2020-07-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":10}],"hasTestScript":true,"hasSelectiveFiles":true,"readme":"# Currency-list\n\nUtility package for localized currency list\n\n## Installation\n\nPackage available via:\n\n- NPM `npm install currency-list`\n\n## Usage\n\nModule exports `CurrencyList` and functions `get(currency_code, locale = 'en_us')` and `getAll(locale?)`\nwhere `currency_code` is ISO 4217 currency code and `locale` is ISO 3166‑1\n\n### Example\n\n```\nimport CurrencyList from 'currency-list'\n\nconsole.log(CurrencyList.getAll()) // Prints all currency lists for all locales\nconsole.log(CurrencyList.getAll('en_US')) // Prints all currency lists for en_US locale\nconsole.log(CurrencyList.get(\"EUR\"))\n/* Prints  {\n    name: 'Euro',\n    symbol_native: '€',\n    symbol: '€',\n    code: 'EUR',\n    name_plural: 'euros',\n    rounding: 0,\n    decimal_digits: 2\n  } as in default locale 'en_US'\n  */\nconsole.log(CurrencyList.get(\"UAH\", 'zh'))\n/* Prints {\n    name: '乌克兰格里夫纳',\n    symbol_native: '₴',\n    symbol: '₴',\n    code: 'UAH',\n    name_plural: 'Ukrainian hryvnias',\n    rounding: 0,\n    decimal_digits: 2\n  } as in 'zh' locale */\n```\n\n## Contributing\n\nAll contributions are welcome as pull request or issues in [github repository](github.com/webplan-pro/currency-list).\nMost contributions appreciated for name_plura attribute for each locale as it requires knowladge of the language.\n\n## Credits\n\nPrepared by [Webplan.pro](webplan.pro) from different public sources. Feel free to use it as you need in your apps or send updates into this public repository. It's under MIT license."},"npm":{"downloads":[{"from":"2022-07-09T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":46},{"from":"2022-07-03T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":1445},{"from":"2022-06-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":5237},{"from":"2022-04-11T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":10701},{"from":"2022-01-11T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":16570},{"from":"2021-07-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":21128}],"starsCount":0},"github":{"starsCount":3,"forksCount":1,"subscribersCount":2,"issues":{"count":3,"openCount":0,"distribution":{"3600":0,"10800":0,"32400":1,"97200":1,"291600":0,"874800":0,"2624400":1,"7873200":0,"23619600":0,"70858800":0,"212576400":0},"isDisabled":false},"contributors":[{"username":"tuturis","commitsCount":11}],"commits":[{"from":"2022-07-03T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":0},{"from":"2022-06-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":0},{"from":"2022-04-11T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":0},{"from":"2022-01-11T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":11},{"from":"2021-07-10T00:00:00.000Z","to":"2022-07-10T00:00:00.000Z","count":11}]},"source":{"files":{"readmeSize":1497,"testsSize":657}}},"evaluation":{"quality":{"carefulness":0.7899999999999999,"tests":0.6,"health":1,"branding":0},"popularity":{"communityInterest":7,"downloadsCount":3567,"downloadsAcceleration":37.713089802130895,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":1,"issuesDistribution":1}},"score":{"final":0.6174208509419967,"detail":{"quality":0.8196964067285537,"popularity":0.06151821662619408,"maintenance":0.9999444374407507}}}