{"library":"binary-parser","type":"library","category":null,"description":"Binary-parser is a JavaScript/TypeScript library designed for declaratively building efficient parsers for structured binary data. It allows developers to define complex binary structures using a fluent API, supporting a wide range of data types including various integer sizes (8, 16, 32, 64-bit, signed/unsigned, big/little endian), floating-point numbers, bit fields, strings, arrays, and nested user-defined types. The library dynamically generates and compiles optimized parser code at runtime, aiming for performance comparable to hand-written parsers. The current stable version is 2.3.0, with an active development cadence including regular patch and minor releases, alongside significant major updates like v2.0.0. Key differentiators include its declarative syntax for defining complex structures and its focus on runtime performance through code generation.","language":"javascript","status":"active","version":"2.3.0","tags":["javascript","binary","parser","decode","unpack","struct","buffer","bit"],"last_verified":"Wed May 27","install":[{"cmd":"npm install binary-parser","imports":["import { Parser } from 'binary-parser'","const Parser = require('binary-parser').Parser;","import type { Parser } from 'binary-parser'"]},{"cmd":"yarn add binary-parser","imports":[]},{"cmd":"pnpm add binary-parser","imports":[]}],"homepage":"https://binary-parser.github.io/binary-parser/","github":"https://github.com/keichi/binary-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/binary-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/binary-parser/compatibility"}}