{"library":"leb","type":"library","category":null,"description":"The `leb` Node.js module provides a suite of utility functions for encoding and decoding integers using the LEB128 (Little-Endian Base 128) variable-length representation format. It supports both signed and unsigned values, with options for 32-bit integers, 64-bit integers (which return a `lossy` flag due to JavaScript's number precision limitations), and arbitrary-length buffer representations. Currently at `v1.0.0`, the package was recently resurrected and aims to provide a reliable, dependency-free solution for LEB128, a format notably used in the DWARF 3 debugging format and Android's DEX file format. The package maintains a stable API with no breaking changes in its recent major release and focuses on direct encoding/decoding operations for binary data within Node.js environments.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","leb","leb128","uleb128","int","uint","encoding","decoding","encode"],"last_verified":"Wed May 27","install":[{"cmd":"npm install leb","imports":["import { decodeInt32 } from 'leb'","import { encodeInt32 } from 'leb'","import { decodeUInt32 } from 'leb'","import { encodeUInt32 } from 'leb'"]},{"cmd":"yarn add leb","imports":[]},{"cmd":"pnpm add leb","imports":[]}],"homepage":null,"github":"https://github.com/danfuzz/leb","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/leb","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/leb/compatibility"}}