{"analyzedAt":"2022-06-27T15:11:22.995Z","collected":{"metadata":{"name":"@piotrgorecki/i18n-currency-name","scope":"piotrgorecki","version":"1.3.0","description":"Translate currency code (ISO 4217) to localized currency name.","keywords":["i18n","currency","ISO4217"],"date":"2022-06-27T15:00:02.984Z","author":{"name":"Piotr Górecki"},"publisher":{"username":"piotrgorecki","email":"piotr.gorecki.dev@outlook.com"},"maintainers":[{"username":"piotrgorecki","email":"piotr.gorecki.dev@outlook.com"}],"repository":{"type":"git","url":"git+https://github.com/piotrgorecki/i18n-currency-name.git"},"links":{"npm":"https://www.npmjs.com/package/%40piotrgorecki%2Fi18n-currency-name","homepage":"https://github.com/piotrgorecki/i18n-currency-name#readme","repository":"https://github.com/piotrgorecki/i18n-currency-name","bugs":"https://github.com/piotrgorecki/i18n-currency-name/issues"},"license":"MIT","devDependencies":{"eslint":"^5.12.0","jest":"^23.6.0"},"releases":[{"from":"2022-05-28T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":0},{"from":"2022-03-29T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":0},{"from":"2021-12-29T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":0},{"from":"2021-06-27T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":0},{"from":"2020-06-27T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":0}],"hasTestScript":true,"readme":"# i18n-currency-name\n[![](https://img.shields.io/npm/v/@piotrgorecki/i18n-currency-name.svg)](https://www.npmjs.com/package/@piotrgorecki/i18n-currency-name)\n[![install size](https://packagephobia.now.sh/badge?p=@piotrgorecki/i18n-currency-name)](https://packagephobia.now.sh/result?p=@piotrgorecki/i18n-currency-name)\n\n\nTranslates the currency code ([ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)) to the localized currency name.\n\n## Install\n\n```sh\n$ npm install @piotrgorecki/i18n-currency-name\n$ yarn add @piotrgorecki/i18n-currency-name\n```\n\n## Usage\n\n```js\nvar currencyToName = require(\"@piotrgorecki/i18n-currency-name\");\n\ncurrencyToName(\"USD\", \"de\")  // \"Dollar\"\ncurrencyToName(\"USD\", \"en\")  // \"US Dollar\"\ncurrencyToName(\"USD\", \"es\")  // \"Dólar estadounidense\"\ncurrencyToName(\"USD\", \"pl\")  // \"Dolar Amerykański\"\ncurrencyToName(\"XYZ\", \"en\")  // undefined\ncurrencyToName(\"USD\", \"xyz\") // undefined\n```\n\n### Supported locals\n```js\n[\"da\", \"de\", \"el\", \"en\", \"es\", \"fi\", \"fr\", \"it\", \"ja\", \"ko\", \"lt\", \"nb\", \"pl\", \"pt\", \"ro\", \"sv\", \"tr\", \"ua\", \"ur\", \"zh\"]\n```"},"npm":{"downloads":[{"from":"2022-06-26T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":0},{"from":"2022-06-20T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":358},{"from":"2022-05-28T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":1457},{"from":"2022-03-29T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":4808},{"from":"2021-12-29T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":8343},{"from":"2021-06-27T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":15241}],"starsCount":0},"github":{"starsCount":1,"forksCount":1,"subscribersCount":0,"issues":{"count":0,"openCount":0,"distribution":{"3600":0,"10800":0,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":0,"23619600":0,"70858800":0,"212576400":0},"isDisabled":false},"contributors":[{"username":"piotrgorecki","commitsCount":12}],"commits":[{"from":"2022-06-20T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":1},{"from":"2022-05-28T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":1},{"from":"2022-03-29T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":1},{"from":"2021-12-29T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":1},{"from":"2021-06-27T00:00:00.000Z","to":"2022-06-27T00:00:00.000Z","count":1}]},"source":{"files":{"readmeSize":1068,"testsSize":2219},"badges":[{"urls":{"original":"https://img.shields.io/npm/v/@piotrgorecki/i18n-currency-name.svg","shields":"https://img.shields.io/npm/v/@piotrgorecki/i18n-currency-name.svg","content":"https://img.shields.io/npm/v/@piotrgorecki/i18n-currency-name.json"},"info":{"service":"npm","type":"version","modifiers":{"type":"v"}}}],"linters":["eslint"]}},"evaluation":{"quality":{"carefulness":0.84,"tests":0.6,"health":1,"branding":0.15},"popularity":{"communityInterest":3,"downloadsCount":1602.6666666666667,"downloadsAcceleration":2.8510844748858446,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":0.9,"issuesDistribution":0.9}},"score":{"final":0.6401480042804355,"detail":{"quality":0.9122664597383469,"popularity":0.04717078421070707,"maintenance":0.9998808339576686}}}