
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
simpleflatbuffers
Advanced tools
Simplified version of 'Google /flatbuffers',Implement with 'typescript'.
Simplified version of 'Google /flatbuffers',Implement with 'typescript'.
The performance of SimpleFlatBuffersAtDataView seems to be better. https://v8.dev/blog/dataview
npm i simpleflatbuffers
Example:
let f = new SimpleFlatBuffers();
f.writeBool(true)
.writeBool(false)
.writeUint8(1)
.writeInt8(1)
.writeUint16(1)
.writeInt16(1)
.writeUint32(1)
.writeInt32(1)
.writeFloat32(1.1)
.writeFloat64(1.2)
.writeString("SimpleFlatBuffers");
f.reset();
let b1 = f.readBool();//? true
let b2 = f.readBool();//? false
let u8 = f.readUint8();//? 1
let i8 = f.readInt8();//? 1
let u16 = f.readUint16();//? 1
let i16 = f.readInt16();//? 1
let u32 = f.readUint32();//? 1
let i32 = f.readInt32();//? 1
let f32 = f.readFloat32();//? 1.1
let f64 = f.readFloat64();//? 1.2
let str = f.readString();//? "SimpleFlatBuffers"
LICENSE: https://github.com/google/flatbuffers/blob/master/LICENSE.txt
FAQs
Simplified version of 'Google /flatbuffers',Implement with 'typescript'.
We found that simpleflatbuffers demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.