
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
node-bit-stream
Advanced tools
Write individual bits to a node stream:
N.B. The version of Node written for and tested against is 6.1.0
The following methods operate on the stream:
The following methods support writing of individual bits:
N.B. The underlying buffer is set to 1024 bytes. Exceeding this length will throw an error.
The following methods operate on the wrapped buffer by byte-aligning any data written so far then calling the corresponding method on the buffer:
(see the stream.Buffer documentation for usage details)
const BitStream = require('node-bit-stream');
const bitStream = new BitStream();
bitStream.writeStringBits('0011');
bitStream.align(); // 00110000
bitStream.writeArrayBits([0, 0, 0, 1, 1, 0, 0, 0]); // 00011000
bitStream.writeInt32Bits(3, 8); // 00000011
bitStream.writeInt32Bits(-3); // 11111111111111111111111111111101
bitStream.writeStringBits('0011');
bitStream.writeStringBits('0011'); // 00110011
npm install
npm test
npm run lint
npm run doc
(Create files in the Doc directory)
FAQs
Write individual bits to a node stream
The npm package node-bit-stream receives a total of 4 weekly downloads. As such, node-bit-stream popularity was classified as not popular.
We found that node-bit-stream 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.