Installations
npm install array-source
Releases
Unable to fetch releases
Developer
mbostock
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
No
Node Version
8.4.0
NPM Version
5.3.0
Statistics
6 Stars
10 Commits
3 Watching
1 Branches
1 Contributors
Updated on 12 Apr 2020
Languages
JavaScript (100%)
Total Downloads
Cumulative downloads
Total Downloads
15,992,610
Last day
-12.5%
20,715
Compared to previous day
Last week
0.6%
119,104
Compared to previous week
Last month
7.9%
526,022
Compared to previous month
Last year
44.9%
5,736,661
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
3
array-source
A readable stream reader for reading from an in-memory array.
API Reference
# array(array) <>
# array(length)
# array(object)
# array(buffer)
Returns a sliceable source for the specified Uint8Array. If the specified array is not a Uint8Array, it is passed to the Uint8Array constructor to create a new array; see the TypedArray constructor for details.
Returns a Promise for the next chunk of data from the underlying stream. The yielded result is an object with the following properties:
value
- a Uint8Array, or undefined if the stream endeddone
- a boolean which is true if the stream ended
Returns a Promise which is resolved when the underlying stream has been destroyed.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
Found 0/10 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
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
3
/10
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