Gathering detailed insights and metrics for @titou10/v-money
Gathering detailed insights and metrics for @titou10/v-money
Gathering detailed insights and metrics for @titou10/v-money
Gathering detailed insights and metrics for @titou10/v-money
npm install @titou10/v-money
Typescript
Module System
Node Version
NPM Version
TypeScript (92.4%)
JavaScript (7.6%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
7,921
Last Day
12
Last Week
46
Last Month
195
Last Year
1,348
10 Stars
14 Commits
3 Forks
2 Watching
1 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
1.2.0
Package Id
@titou10/v-money@1.2.0
Unpacked Size
11.12 kB
Size
4.34 kB
File Count
13
NPM Version
10.4.0
Node Version
20.10.0
Publised On
27 Jan 2024
Cumulative downloads
Total Downloads
Last day
-25%
12
Compared to previous day
Last week
-19.3%
46
Compared to previous week
Last month
112%
195
Compared to previous month
Last year
-33.7%
1,348
Compared to previous year
1
5
A"v-money"
directive for Vue.js that sets the masked and unmasked value of an"input"
component (eg the "v-text-field"
component from vuetify)
It is a specialized form of amask
It is based on@vuejs-tips/v-money
1npm install @titou10/v-money --save 2yarn add @titou10/v-money 3bower install @titou10/v-money --save
1import Vue from "vue"; 2import money from "@titou10/v-money"; 3 4// register directive v-money 5Vue.use(money, { precision: 4 });
1<template> 2 <input v-model.lazy="price" v-money="money" /> 3</template> 4 5<script> 6 import { money } from "@titou10/v-money"; 7 export default { 8 directives: { money }, 9 data() { 10 return { 11 price: 123.45, 12 rawPrice: null, 13 money: { 14 decimal: ",", 15 thousands: ".", 16 prefix: "R$ ", 17 suffix: " #", 18 precision: 2, 19 unmaskedVar: "rawPrice" 20 } 21 }; 22 } 23 }; 24</script>
property | Required | Type | Default | Description |
---|---|---|---|---|
precision | true | Number | 2 | How many decimal places |
decimal | false | String | "." | Decimal separator |
thousands | false | String | "," | Thousands separator |
prefix | false | String | "" | Currency symbol followed by a Space, like "R$ " |
suffix | false | String | "" | Percentage for example: " %" |
unmaskedVar | false | String | null | name of an attribute in "data" to receive the unmasked value |
This package has been created because the@vuejs-tips/v-money
does not provide a way to get the unmasked value when it is used as a directive
Most of the credit goes to:
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/14 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More