b10-num
v1.0.0
Published
Base-4096 numerical encoding system
Downloads
140
Readme
num-b10
High-density numerical encoding system using a custom Base-4096 alphabet. Designed to compress numbers and floats into significantly shorter strings for transmission and storage.
Installation
npm install num-b10
Usage
// Using as a global constant or via require
const encoded = numB10.encode(2026);
console.log(encoded); // Output: ꇍ
const decoded = numB10.decode(encoded);
console.log(decoded); // Output: "2026"
Features
- 12-bit encoding: Each character represents exactly 12 bits of data.
- Float support: Precision handling for decimal numbers.
- Cross-platform: Consistent results across Python and JavaScript.
