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
Typescript
Module System
Node Version
NPM Version
99.6
Supply Chain
94
Quality
77.1
Maintenance
100
Vulnerability
100
License
TypeScript (95.83%)
JavaScript (4.17%)
Total Downloads
391,969,537
Last Day
114,794
Last Week
2,964,532
Last Month
13,261,473
Last Year
163,236,672
MIT License
3 Stars
125 Commits
6 Forks
5 Watchers
2 Branches
6 Contributors
Updated on Nov 22, 2024
Minified
Minified + Gzipped
Latest Version
1.3.6
Package Id
pvtsutils@1.3.6
Unpacked Size
39.81 kB
Size
6.50 kB
File Count
6
NPM Version
10.9.0
Node Version
22.11.0
Published on
Nov 22, 2024
Cumulative downloads
Total Downloads
Last Day
1.6%
114,794
Compared to previous day
Last Week
-10%
2,964,532
Compared to previous week
Last Month
-2.6%
13,261,473
Compared to previous month
Last Year
14.9%
163,236,672
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 binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/21 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
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-06-30
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