{"analyzedAt":"2022-06-28T19:55:51.436Z","collected":{"metadata":{"name":"vue-mny","scope":"unscoped","version":"0.3.1","description":"Currency formatting for all currencies, and all languages. As a simple Vue plugin.","keywords":["vue","money","currency","formatting","format","vuejs","EUR","USD","mny","vue-mny"],"date":"2018-04-12T03:09:20.492Z","author":{"name":"Cas Bloem"},"publisher":{"username":"casbloem","email":"casbloem@outlook.com"},"maintainers":[{"username":"casbloem","email":"casbloem@outlook.com"}],"repository":{"type":"git","url":"git+https://github.com/casbloem/vue-mny.git"},"links":{"npm":"https://www.npmjs.com/package/vue-mny","homepage":"https://github.com/casbloem/vue-mny#readme","repository":"https://github.com/casbloem/vue-mny","bugs":"https://github.com/casbloem/vue-mny/issues"},"license":"MIT","releases":[{"from":"2022-05-29T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":0},{"from":"2022-03-30T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":0},{"from":"2021-12-30T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":0},{"from":"2021-06-28T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":0},{"from":"2020-06-28T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":0}],"hasTestScript":true,"readme":"# vue-mny\r\nCurrency formatting for all currencies, and all languages. As a simple Vue plugin.\r\n\r\n\r\n[![GitHub last commit](https://img.shields.io/github/last-commit/casbloem/vue-mny.svg)](#)\r\n[![GitHub version](https://img.shields.io/github/package-json/v/casbloem/vue-mny.svg)](https://github.com/casbloem/vue-mny)\r\n\r\n\r\n[![npm version](https://img.shields.io/npm/v/vue-mny.svg)](https://npmjs.com/package/vue-mny)\r\n[![npm downloads](https://img.shields.io/npm/dt/vue-mny.svg)](https://npmjs.com/package/vue-mny)\r\n[![Build Status](https://travis-ci.org/casbloem/vue-mny.svg?branch=master)](#)\r\n\r\n\r\n#### v0.3.1   \r\n\r\n\r\n## Setup\r\n```bash\r\nnpm install vue-mny --save\r\n```\r\n\r\n```javascript\r\nconst vueMny = require('vue-mny');\r\nVue.use(vueMny, {\r\n    locale: 'en-US',\r\n    currency: 'USD',\r\n    currencyDisplay: 'symbol',\r\n});\r\n```\r\n\r\n## Usage    \r\n![easyway](https://user-images.githubusercontent.com/5813001/38654333-01b58384-3e0f-11e8-9a0a-c9edd4aed56b.png)     \r\n```javascript\r\n<span v-mny=\"moneyVariable\"></span>    \r\n```     \r\n    \r\n\r\n![withoptions](https://user-images.githubusercontent.com/5813001/38654346-126e7b68-3e0f-11e8-8d10-a32b73a7d058.png)      \r\n\r\n```javascript \r\n<span v-mny=\"{ input: moneyVariable, currency: 'EUR' }\"></span>    \r\n\r\n// shorthand:\r\n<span v-mny.code=\"moneyVariable\"></span>\r\n```  \r\n\r\n\r\n## Options \r\n```javascript\r\n{\r\n    locale: 'en-US',\r\n    currency: 'USD',\r\n    currencyDisplay: 'symbol',\r\n}\r\n```\r\n\r\n\r\n### locale\r\n*default:* `en-US`    \r\nA string with a [BCP 47 language tag](https://www.w3.org/International/articles/language-tags/).\r\n\r\n### currency\r\n\r\n*default:* `USD`   \r\n\r\nPossible values are the [ISO 4217 currency codes](https://www.ibm.com/support/knowledgecenter/en/SSZLC2_7.0.0/com.ibm.commerce.payments.developer.doc/refs/rpylerl2mst97.htm), such as `USD` for the US dollar, `EUR` for the euro, or `CNY` for the Chinese RMB.\r\n\r\n### currencyDisplay\r\n*default:* `symbol`   \r\nHow to display the currency in currency formatting. Possible values are `symbol` to use a localized currency symbol such as €, `code` to use the ISO currency code, `name` to use a localized currency name such as `dollar`.\r\n\r\n\r\n\r\n## Changelog\r\n\r\n**version 0.3.1**   \r\n- Patch\r\n\r\n**version 0.3.0**   \r\n- Major improvements..."},"npm":{"downloads":[{"from":"2022-06-27T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":0},{"from":"2022-06-21T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":2},{"from":"2022-05-29T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":17},{"from":"2022-03-30T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":139},{"from":"2021-12-30T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":225},{"from":"2021-06-28T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":425}],"starsCount":1},"github":{"starsCount":2,"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":"casbloem","commitsCount":25}],"commits":[{"from":"2022-06-21T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":0},{"from":"2022-05-29T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":0},{"from":"2022-03-30T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":0},{"from":"2021-12-30T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":0},{"from":"2021-06-28T00:00:00.000Z","to":"2022-06-28T00:00:00.000Z","count":0}],"statuses":[{"context":"continuous-integration/travis-ci/push","state":"success"}]},"source":{"files":{"readmeSize":2169,"testsSize":1969},"badges":[{"urls":{"original":"https://img.shields.io/npm/v/vue-mny.svg","shields":"https://img.shields.io/npm/v/vue-mny.svg","content":"https://img.shields.io/npm/v/vue-mny.json"},"info":{"service":"npm","type":"version","modifiers":{"type":"v"}}},{"urls":{"original":"https://img.shields.io/npm/dt/vue-mny.svg","shields":"https://img.shields.io/npm/dt/vue-mny.svg","content":"https://img.shields.io/npm/dt/vue-mny.json"},"info":{"service":"npm","type":"downloads","modifiers":{"type":"dt"}}},{"urls":{"original":"https://travis-ci.org/casbloem/vue-mny.svg?branch=master","service":"https://api.travis-ci.org/casbloem/vue-mny.svg?branch=master","shields":"https://img.shields.io/travis/casbloem/vue-mny/master.svg","content":"https://img.shields.io/travis/casbloem/vue-mny/master.json"},"info":{"service":"travis","type":"build","modifiers":{"branch":"master"}}}]}},"evaluation":{"quality":{"carefulness":0.355,"tests":0.85,"health":1,"branding":0.44999999999999996},"popularity":{"communityInterest":5,"downloadsCount":46.333333333333336,"downloadsAcceleration":-0.12802511415525114,"dependentsCount":0},"maintenance":{"releasesFrequency":0,"commitsFrequency":0,"openIssues":0.7,"issuesDistribution":0.7}},"score":{"final":0.555418456394858,"detail":{"quality":0.8422660594860013,"popularity":0.03487383382337764,"maintenance":0.8300937048882155}}}