
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
it-byte-stream
Advanced tools
Read and write arbitrary bytes over a duplex stream
This module makes it easy to send and receive bytes over streams.
import { byteStream } from 'it-byte-stream'
const stream = byteStream(duplex)
// read the next chunk
const bytes = await stream.read()
// read the next five bytes
const fiveBytes = await stream.read(5)
// write bytes into the stream
await stream.write(Uint8Array.from([0, 1, 2, 3, 4]))
$ npm i it-byte-stream
<script>
tagLoading this module through a script tag will make its exports available as ItByteStream
in the global namespace.
<script src="https://unpkg.com/it-byte-stream/dist/index.min.js"></script>
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
FAQs
Read and write arbitrary bytes over a duplex stream
The npm package it-byte-stream receives a total of 32,529 weekly downloads. As such, it-byte-stream popularity was classified as popular.
We found that it-byte-stream demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.