Installations
npm install futoin-uuid
Releases
Unable to fetch releases
Developer
futoin
Developer Guide
Module System
CommonJS
Min. Node Version
>=10
Typescript Support
No
Node Version
18.15.0
NPM Version
9.6.2
Statistics
1 Stars
28 Commits
3 Watching
6 Branches
1 Contributors
Updated on 27 Mar 2023
Languages
JavaScript (100%)
Total Downloads
Cumulative downloads
Total Downloads
3,683
Last day
0%
1
Compared to previous day
Last week
-50%
6
Compared to previous week
Last month
38.9%
50
Compared to previous month
Last year
-16%
494
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
About
A primitive wrapper of uuid package for UUID v4 generation with Base64 encoding.
The reason is to get a universal and short UUID representation in printable characters which can be efficiently used in JSON and databases without special UUID type.
It produces only 22 characters instead of canonical 36 hexdecimal chars with separators.
Documentation --> FutoIn Guide
Author: Andrey Galkin
Installation for Node.js
Command line:
1$ npm install futoin-uuid --save
or:
1$ yarn add futoin-uuid --save
Examples
1const UUIDTool = require('futoin-uuid'); 2 3UUIDTool.genBin(); // -> Buffer(16) 4UUIDTool.genB64(); // -> String(22)
API documentation
UUIDTool
Common tool for UUID generation and use in transactions
Kind: global class
UUIDTool.genBin() ⇒ Buffer
Generate UUID v4
Kind: static method of UUIDTool
Returns: Buffer
- buffer of 16 items
UUIDTool.genB64() ⇒ string
Generate UUID v4 encoded in Base64 without padding
Kind: static method of UUIDTool
Returns: string
- 22 characters
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0
Reason
8 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/28 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2
/10
Last Scanned on 2024-11-25
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