{"analyzedAt":"2022-07-09T08:35:32.073Z","collected":{"metadata":{"name":"iso-currency","scope":"unscoped","version":"0.2.12","description":"AngularJS filter that retrieves currency symbols according to ISO 4217 currency codes.","date":"2022-05-02T08:59:06.012Z","author":{"name":"Simon Wicki","email":"sim.wicki@gmail.com","username":"zwacky"},"publisher":{"username":"zwacky","email":"sim.wicki@gmail.com"},"maintainers":[{"username":"zwacky","email":"sim.wicki@gmail.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/zwacky/isoCurrency.git"},"links":{"npm":"https://www.npmjs.com/package/iso-currency"},"license":"MIT","dependencies":{"uglify-js":"^3.3.2","vinyl":"^2.2.1"},"devDependencies":{"@babel/preset-env":"^7.16.11","angular":"^1.4.6","angular-mocks":"^1.4.6","babel-preset-es2015":"^6.24.1","bootstrap":"3.4.*","browser-sync":"2.26.3","connect-history-api-fallback":"^1.1.0","del":"^2.2.0","gulp":"^4.0.0","gulp-babel":"^8.0.0","gulp-concat":"~2.6.1","gulp-jshint":"^2.0.0","gulp-less":"~1.2.3","gulp-load-plugins":"^2.0.7","gulp-minify-css":"~0.3.1","gulp-ng-annotate":"^1.1.0","gulp-sourcemaps":"2.6.5","gulp-uglify":"~0.2.1","jshint":"2.10.1","jshint-stylish":"^2.1.0","merge-stream":"^1.0.0","multipipe":"0.0.2","rimraf":"~2.2.6","run-sequence":"^1.1.5","testem":"^0.9.5"},"releases":[{"from":"2022-06-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":1},{"from":"2022-04-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":2},{"from":"2022-01-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":3},{"from":"2021-07-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":4},{"from":"2020-07-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":4}],"hasTestScript":true,"readme":"# isoCurrency [![Build Status](https://travis-ci.org/zwacky/isoCurrency.svg?branch=master)](https://travis-ci.org/zwacky/isoCurrency)\n\nAngularJS filter that retrieves currency symbols according to ISO 4217 currency codes.\n\n## Installation\n\n- `npm install iso-currency`\n- or `bower install iso-currency`\n- add `'isoCurrency'` to your angular.module dependency, usually in app.js\n\n## Demo\n\nhttp://jsfiddle.net/nqf0ye00/55/\n\n## Usage\n\n### Use to display a value with a currency symbol\n\nInstead of directly using the currency symbol, you only need the 3 char long currency code (e.g. USD or JPY).\nIt will take the right symbol, format and fraction size. The latter can be overridden by providing\nan explicity fraction size value after the currency field (see below).\n\n```javascript\n// in controller\n$scope.amount = 50.50;\n$scope.currency = 'USD';\n\n// in template\n{{ amount | isoCurrency:currency }} // $50.50\n{{ amount | isoCurrency:currency:0 }} // $50\n```\n\n### Use to display a currency symbol based on a currency code\n\nIf you need the currency symbol only, you can just additionally add isoCurrency.common in your app.js, \nand then you can use iso4217.getCurrencyByCode() method directly.\n\n```\ncurrency = iso4217.getCurrencyByCode('EUR')\ncurrency == {text: \"Euro\", fraction: 2, symbol: \"€\"}\n```\n\nThis will return an object so that you just specify currency.symbol to access the symbol value.\n\n## Contribute and test\n\n- `gulp watch` and get started\n- `gulp && testem ci` to start the tests\n\n## Currency reference\n\nMainly taken from the list of https://en.wikipedia.org/wiki/ISO_4217. If something is missing, feel free to create a PR."},"npm":{"downloads":[{"from":"2022-07-08T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":646},{"from":"2022-07-02T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":4725},{"from":"2022-06-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":19875},{"from":"2022-04-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":53871},{"from":"2022-01-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":97598},{"from":"2021-07-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":155562}],"starsCount":1},"github":{"starsCount":66,"forksCount":28,"subscribersCount":4,"issues":{"count":54,"openCount":0,"distribution":{"3600":8,"10800":4,"32400":3,"97200":9,"291600":3,"874800":3,"2624400":5,"7873200":3,"23619600":12,"70858800":2,"212576400":2},"isDisabled":false},"contributors":[{"username":"lloydwatkin","commitsCount":1},{"username":"liorMar","commitsCount":1},{"username":"jacquesdev","commitsCount":2},{"username":"michelem09","commitsCount":1},{"username":"philBrown","commitsCount":1},{"username":"nedyalkov","commitsCount":2},{"username":"konclave","commitsCount":1},{"username":"dependabot[bot]","commitsCount":12},{"username":"zwacky","commitsCount":14},{"username":"kunalpowar","commitsCount":2},{"username":"guillaumeparis2000","commitsCount":1},{"username":"hemstreet","commitsCount":1},{"username":"demisx","commitsCount":1}],"commits":[{"from":"2022-07-02T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":0},{"from":"2022-06-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":0},{"from":"2022-04-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":3},{"from":"2022-01-10T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":5},{"from":"2021-07-09T00:00:00.000Z","to":"2022-07-09T00:00:00.000Z","count":11}]},"source":{"files":{"readmeSize":1636,"testsSize":1384},"badges":[{"urls":{"original":"https://travis-ci.org/zwacky/isoCurrency.svg?branch=master","service":"https://api.travis-ci.org/zwacky/isoCurrency.svg?branch=master","shields":"https://img.shields.io/travis/zwacky/isoCurrency/master.svg","content":"https://img.shields.io/travis/zwacky/isoCurrency/master.json"},"info":{"service":"travis","type":"build","modifiers":{"branch":"master"}}}],"linters":["jshint"]}},"evaluation":{"quality":{"carefulness":0.42,"tests":0.6,"health":1,"branding":0.15},"popularity":{"communityInterest":112,"downloadsCount":17957,"downloadsAcceleration":88.07914764079149,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9178938356164383,"commitsFrequency":0.3890753424657534,"openIssues":1,"issuesDistribution":0.14036068146745206}},"score":{"final":0.5845452529558048,"detail":{"quality":0.8242703094900014,"popularity":0.14276553926279634,"maintenance":0.8208463467623593}}}