
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
A small JavaScript utility library for low-level byte manipulation.
Using npm:
npm i -g npm
npm i --save lobyte
Useful constants for Int/Uint 8/16/32:
({ Int8 } = require('lobyte'));
console.log(Int8.min); // -> -128
console.log(Int8.max); // -> 127
console.log(Int8.bitSize); // -> 8
console.log(Int8.byteSize); // -> 1
console.log(Int8.mask); // -> 0xFF
String formatting for hexidecimal numbers, zero-padded as appropriate for the byte size of the given type:
({ Int8, Int16 } = require('lobyte'));
console.log(Int8.hex(11)); // -> '0b'
console.log(Int16.hex(11)); // -> '000b'
A dynamically growing byte array with DataView-like accessors for get, set, and push:
({ ByteArray, Endianness, Uint32 } = require('lobyte'));
const bytes = new ByteArray(Endianness.Big);
bytes.pushInt8(1); // Append a zero byte.
bytes.pushUint8([2, 3, 4]); // Append 3 more bytes.
console.log(Uint32.hex(bytes.getUint32(0))); // -> '01020304'
bytes.endianness = Endianness.Little;
console.log(Uint32.hex(bytes.getUint32(0))); // -> '04030201'
FAQs
A small JavaScript utility library for low-level byte manipulation.
The npm package lobyte receives a total of 14 weekly downloads. As such, lobyte popularity was classified as not popular.
We found that lobyte 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.