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%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
10 Stars
14 Commits
3 Forks
1 Watchers
1 Branches
2 Contributors
Updated on Oct 12, 2024
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
Published on
Jan 27, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
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
2 existing vulnerabilities detected
Details
Reason
Found 1/14 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
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-07-07
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