Gathering detailed insights and metrics for @farhansyah/imask-svelte
Gathering detailed insights and metrics for @farhansyah/imask-svelte
npm install @farhansyah/imask-svelte
Typescript
Module System
Node Version
NPM Version
TypeScript (93.31%)
JavaScript (3.67%)
HTML (2.96%)
Ruby (0.05%)
Total Downloads
559
Last Day
1
Last Week
2
Last Month
10
Last Year
248
5,011 Stars
956 Commits
262 Forks
30 Watching
9 Branches
29 Contributors
Minified
Minified + Gzipped
Latest Version
7.0.0-alpha.2-0
Package Id
@farhansyah/imask-svelte@7.0.0-alpha.2-0
Unpacked Size
8.01 kB
Size
3.23 kB
File Count
7
NPM Version
9.6.6
Node Version
20.2.0
Publised On
08 Jun 2023
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
100%
2
Compared to previous week
Last month
-28.6%
10
Compared to previous month
Last year
-20.3%
248
Compared to previous year
@imask/svelte
npm install @imask/svelte
1<input 2 {value} 3 use:imask={options} 4 on:accept={accept} 5 on:complete={complete} 6> 7 8<script> 9 import { imask } from '@imask/svelte'; 10 11 const options = { 12 mask: '{8}000000', 13 lazy: false 14 }; 15 16 let value = ''; 17 18 function accept({ detail: maskRef }) { 19 console.log('accept', maskRef.value); 20 value = maskRef.value; 21 } 22 23 function complete({ detail: maskRef }) { 24 console.log('complete', maskRef.unmaskedValue); 25 } 26</script>
More options see in a guide.
Currently plugin does not have component for input with 2-way binding support because it is not possible to pass all event listeners to child (issue).
Workaround is here: https://svelte.dev/repl/b590cddb69f4452b8f7704bd1e721e76?version=3.16.7
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
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
Found 2/27 approved changesets -- score normalized to 0
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
Reason
31 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-20
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