@taran28/taran-encoder
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.12latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.12

Package Sidebar

Install

npm i @taran28/taran-encoder

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

12.6 kB

Total Files

39

Last publish

Collaborators

  • taran28