Gathering detailed insights and metrics for typed-array-buffer
Gathering detailed insights and metrics for typed-array-buffer
Gathering detailed insights and metrics for typed-array-buffer
Gathering detailed insights and metrics for typed-array-buffer
Get the ArrayBuffer out of a TypedArray, robustly.
npm install typed-array-buffer
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
4 Stars
17 Commits
2 Watching
1 Branches
1 Contributors
Updated on 20 Feb 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-4.7%
4,749,868
Compared to previous day
Last week
2.1%
26,983,154
Compared to previous week
Last month
6.9%
112,871,065
Compared to previous month
Last year
416.7%
1,101,363,316
Compared to previous year
3
Get the ArrayBuffer out of a TypedArray, robustly.
This will work in node <= 0.10 and < 0.11.4, where there's no prototype accessor, only a nonconfigurable own property.
It will also work in modern engines where TypedArray.prototype.buffer
has been deleted after this module has loaded.
1const typedArrayBuffer = require('typed-array-buffer'); 2const assert = require('assert'); 3 4const arr = new Uint8Array(0); 5assert.equal(arr.buffer, typedArrayBuffer(arr));
Simply clone the repo, npm install
, and run npm test
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/17 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Score
Last Scanned on 2024-11-18
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