Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
array-source
Advanced tools
Readme
A readable stream reader for reading from an in-memory array.
# array(buffer) <>
# slice(array)
Returns a sliceable source for the specified ArrayBuffer or Uint8Array.
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 endedReturns a Promise which is resolved when the underlying stream has been destroyed.
FAQs
Read arrays as standard WhatWG streams.
The npm package array-source receives a total of 113,950 weekly downloads. As such, array-source popularity was classified as popular.
We found that array-source demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.