@taran28/taran-encoder
v0.0.1
Published
Encodes numbers to short strings.
Downloads
8
Readme
Taran Encoder
Description:
Encodes numbers between 0 and 99_99_99_99_99 to a small 6 character long string.
Installation:
npm install @taran28/taran-encoder@latest
Usage:
import { encode, decode } from "@taran28/taran-encoder";
const encodedString = encode(123_456);
const decodedString = decode(encodedString);
console.log("Encoded string:", encodedString);
console.log("Decoded string:", decodedString);
Source
Source code is hosted on GitHub.