Search results
221 packages found
For packing and unpacking bytes (C like structures) in/from Buffer based on Object/Array type for parsing.
Rust-like utils for JavaScript. Start using match pattern, enums with generics and other features similarly to the Rust programming language.
A JavaScript library that can convert any kind of data into binary that can be restored
Convert binary file data to JavaScript objects
- struct
- structor
- nodestructor
- node-constructor
- stream
- streams
- streamed
- streambuf
- streambuffer
- buffer
- buffers
- buffered
- system.io
- BinaryWriter
- View more
Define binary C-Like structures and (de-)serialize them
Read and write data in binary
Creates C `struct` instances on `Buffer`s. Supports `union`s and bitfields.
Declaratively encode and decode binary data
Dynamic data structures for Javascript.
Blazing-fast binary parser builder
`struct-nd` is a Node.js package that simplifies the process of setting up a standard Node.js project structure. With a single command, you can generate the recommended file and directory layout commonly used in Node.js projects.
JavaScript analogue to Python's struct module
Abstract structure for JavaScript data validation
flatten a list of objects into a flat typed / untyped array, or an untyped array of arrays, then un-flatten the result back into the original objects again.
Build, validate, and transform values with immutable typed schemas.
Library to compare two (JSON-serializable) structures and return their differences.
Zero-dependency TypeScript utilties for Node.js, Deno, Web and anything that powered by V8
- typescript
- functional
- functional programming
- pipe
- zod
- validation
- struct
- extensions
- v8
- microtask
- macrotask
- union
- pattern matching