An arbitrary length unsigned integer formatter library for Node.js (v1.0.0, stable). Converts Buffer, byte array, or hex string to decimal, binary, hex, or octal without losing precision beyond JavaScript's 53-bit integer limit. Supports endianness, grouping, padding, and prefixes. Lightweight, zero dependencies, actively maintained on GitHub.
npm install biguint-format2No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows converting a Buffer, hex string, and byte array to decimal/hex with grouping.
No issue, but note that hex string is interpreted as big-endian by default.
Use prefix only with non-decimal formats.
Do not set trim for other formats.
No migration needed.
const format = require('biguint-format2'); // or import format from 'biguint-format2'Use array of bytes or hex string instead; or use a polyfill like buffer package.
Ensure all byte values are integers between 0 and 255.
No dependency data recorded yet.