Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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 658 weekly downloads. As such, browser-stream-util popularity was classified as not 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.