Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
browser-stream-util
Advanced tools
utility functions for web streams
Converts an iterator into a ReadableStream.
iterator
(AsyncIterator<Uint8Array> | Iterator<Uint8Array>) Returns ReadableStream
Encodes a string into a ReadableStream.
str
string encoder
TextEncoder? (optional, default new TextEncoder()
)Returns ReadableStream
Encodes a uint8 array into a ReadableStream.
array
Uint8Array Returns ReadableStream
Reads web stream content into a string.
stream
ReadableStream decoder
TextDecoder? (optional, default new TextDecoder()
)Reads web stream content into a Uint8Array.
stream
ReadableStream Returns Promise<Uint8Array>
Delivers a zero length ReadableStream with no data.
Returns ReadableStream
With npm do:
npm install browser-stream-util
BSD-2-Clause
FAQs
utility functions for web streams
The npm package browser-stream-util receives a total of 2,213 weekly downloads. As such, browser-stream-util popularity was classified as popular.
We found that browser-stream-util demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.