{"analyzedAt":"2022-06-25T20:42:01.665Z","collected":{"metadata":{"name":"vue-currency-format","scope":"unscoped","version":"1.0.1","description":"A Vue.js filter for formatting currency.","keywords":["vue.js","currency","format","money"],"date":"2022-01-28T10:44:30.490Z","author":{"name":"Aaron Lumsden"},"publisher":{"username":"aaronlumsden","email":"aaronlumsden@me.com"},"maintainers":[{"username":"aaronlumsden","email":"aaronlumsden@me.com"}],"repository":{"type":"git","url":"git+https://github.com/aaronlumsden/vue-currency-format.git"},"links":{"npm":"https://www.npmjs.com/package/vue-currency-format","homepage":"https://github.com/aaronlumsden/vue-currency-format#readme","repository":"https://github.com/aaronlumsden/vue-currency-format","bugs":"https://github.com/aaronlumsden/vue-currency-format/issues"},"license":"ISC","releases":[{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":3},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":3},{"from":"2020-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":4}],"readme":"# vue-currency-format\n A Vue.js filter for formatting currency. This is super useful when working with applications that display pricing. It works well with Stripe currency formatting ie 1025 becomes £10.25\n\n\n ## Installation\n\n To install from npm\n\n`npm install vue-currency-format --save`\n\nThen include it in your main vue file.\n\n```\nimport VueCurrencyFormat from 'vue-currency-format'\nVue.use(VueCurrencyFormat);\n```\n\nYou can also include some global options.\n\n```\nimport VueCurrencyFormat from 'vue-currency-format'\n\nVue.use(VueCurrencyFormat,{\n    local: 'en',\n    currency: 'GBP',\n    hideSubUnits: false,\n    subunitsValue: true\n});\n```\n\nThen in your vue component you can use it like this.\n`{{1025 | currency}}` The result would be `£10.25`\n\nor you can pass in options on an individual basis\n`{{1025 | currency(locale,currency,hideSubUnits,subunitsValue)}}`\n\n## Options\n\n\n| Option  | Default Value | Description\n| ------------- | ------------- | -------------\n| Locale | en  | A [BCP 47](https://tools.ietf.org/html/bcp47) language tag (for example en or de-DE). Default is undefined (use the runtime's default locale).\n| Currency  | GBP  | A [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code (for example USD or EUR).\n| hideSubUnits | false | Whether or not to show the sub units ie 1045 would be displayed as £10\n| subunitsValue | true | When set to true 1045 would be displayed as £1,025.00"},"npm":{"downloads":[{"from":"2022-06-24T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-06-18T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":3},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":29},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":90},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":90}],"starsCount":0},"github":{"starsCount":0,"forksCount":0,"subscribersCount":1,"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":"aaronlumsden","commitsCount":9}],"commits":[{"from":"2022-06-18T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":9},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":9}]},"source":{"files":{"readmeSize":1426,"testsSize":0}}},"evaluation":{"quality":{"carefulness":0.71,"tests":0,"health":1,"branding":0},"popularity":{"communityInterest":2,"downloadsCount":9.666666666666666,"downloadsAcceleration":0.02671232876712329,"dependentsCount":0},"maintenance":{"releasesFrequency":0.6861301369863014,"commitsFrequency":0.5760616438356164,"openIssues":0.7,"issuesDistribution":0.7}},"score":{"final":0.5104510324829922,"detail":{"quality":0.5119267201168272,"popularity":0.02366642036678577,"maintenance":0.995970769484483}}}