Gathering detailed insights and metrics for @imask/svelte
Gathering detailed insights and metrics for @imask/svelte
Gathering detailed insights and metrics for @imask/svelte
Gathering detailed insights and metrics for @imask/svelte
npm install @imask/svelte
Typescript
Module System
Node Version
NPM Version
81.7
Supply Chain
78.5
Quality
79.8
Maintenance
100
Vulnerability
100
License
TypeScript (93.31%)
JavaScript (3.67%)
HTML (2.96%)
Ruby (0.05%)
Total Downloads
565,195
Last Day
1,445
Last Week
6,121
Last Month
43,162
Last Year
328,239
5,011 Stars
956 Commits
262 Forks
30 Watching
9 Branches
29 Contributors
Minified
Minified + Gzipped
Latest Version
7.6.1
Package Id
@imask/svelte@7.6.1
Unpacked Size
14.86 kB
Size
4.30 kB
File Count
13
NPM Version
lerna/8.1.2/node@v21.7.3+arm64 (darwin)
Node Version
21.7.3
Publised On
21 May 2024
Cumulative downloads
Total Downloads
Last day
-15.5%
1,445
Compared to previous day
Last week
-8.7%
6,121
Compared to previous week
Last month
-24.8%
43,162
Compared to previous month
Last year
147%
328,239
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
GitHub workflow tokens follow principle of least privilege
Details
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
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
Found 2/27 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
Reason
31 existing vulnerabilities detected
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