Gathering detailed insights and metrics for @jsxtools/uid
Gathering detailed insights and metrics for @jsxtools/uid
Gathering detailed insights and metrics for @jsxtools/uid
Gathering detailed insights and metrics for @jsxtools/uid
npm install @jsxtools/uid
Typescript
Module System
Node Version
NPM Version
59.9
Supply Chain
63.9
Quality
75.5
Maintenance
100
Vulnerability
100
License
TypeScript (83.3%)
JavaScript (16.7%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
1,596
Last Day
2
Last Week
10
Last Month
41
Last Year
184
9 Stars
31 Commits
1 Forks
2 Watching
2 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.6
Package Id
@jsxtools/uid@1.0.6
Unpacked Size
9.40 kB
Size
3.96 kB
File Count
7
NPM Version
lerna/3.20.2/node@v13.10.1+x64 (darwin)
Node Version
13.10.1
Cumulative downloads
Total Downloads
Last day
0%
2
Compared to previous day
Last week
25%
10
Compared to previous week
Last month
720%
41
Compared to previous month
Last year
-30.8%
184
Compared to previous year
No dependencies detected.
uid returns a unique URL-safe ID.
It is 187 bytes (197 gzipped).
1npm install @jsxtools/uid
1import uid from '@jsxtools/uid'; 2 3// give <body> a unique ID with 5 characters, like "wAl_H" 4// in 1s at 4000 IDs/s it has a 1% probability of at least 1 collision 5document.body.id = uid(5); 6 7// give <body> a unique ID like "wAl_Hh9fYRe" 8// in 4d at 4000 IDs/s it has a 1% probability of at least 1 collision 9document.body.id = uid(11); 10 11// give <body> a unique ID like "wAl_Hh9fYReEakFYN-7qr" 12// in 10,000,000y at 4000 IDs/s it has a 1% probability of at least 1 collision 13document.body.id = uid(21);
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 1/29 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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