Gathering detailed insights and metrics for pvtsutils
Gathering detailed insights and metrics for pvtsutils
Gathering detailed insights and metrics for pvtsutils
Gathering detailed insights and metrics for pvtsutils
pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.
npm install pvtsutils
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
3 Stars
125 Commits
6 Forks
6 Watching
2 Branches
6 Contributors
Updated on 22 Nov 2024
Minified
Minified + Gzipped
TypeScript (95.83%)
JavaScript (4.17%)
Cumulative downloads
Total Downloads
Last day
-12.5%
576,513
Compared to previous day
Last week
1.2%
3,259,430
Compared to previous week
Last month
-2.1%
13,900,667
Compared to previous month
Last year
40.8%
161,839,953
Compared to previous year
1
pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.
npm install pvtsutils
1const utils = require("pvtsutils");
The pvtsutils
namespace will always be available globally and also supports AMD loaders.
There is an index.d.ts file which makes easy to use current module as external
Helps to convert string
to ArrayBuffer
and back
Convert support next encoding types hex
, utf8
, binary
, base64
, base64url
. utf8
is default.
Converts string to buffer
1const buf = Convert.FromString("some string", "hex");
Converts buffer to string
1const str = Convert.ToString(buf, "utf8");
Copies properties from objects to a target object. More info
1const obj = assign({}, {name: "Bob"}, {age: 12}); // {name: "Bob", age: 12}
Returns true
if 2 ArrayBuffers are equal
Combines some ArrayBuffer
values
1const buf1 = new Uint8Array([1, 2, 3]); 2const buf2 = new Uint8Array([4, 5, 6]); 3const buf = combine(buf1, buf2); // [1, 2, 3, 4, 5, 6]
Some example capabilities included in pvtsutils include:
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
9 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
Found 1/21 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
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 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