leximitedjs
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

leximitedjs

Library for converting numbers or strings to and from Leximited Notation

Learn more about Leximited Notation

Installation

npm install leximitedjs

Usage

module:

import { toLeximited } from 'leximitedjs';

or node.js:

const Leximited = require("leximitedjs")

Encode a string or number to leximited format

  • toLeximited( input:string|number , asString:boolean = false ):number|string
  • toLeximitedInt( input:string|number ):number
  • toLeximitedStr( input:string|number ):string

Decode a string or number from leximited format

  • fromLeximited( input:string|number , asString:boolean = false ):number|string
  • fromLeximitedInt( input:string|number ):number
  • fromLeximitedStr( input:string|number ):string

/leximitedjs/

    Package Sidebar

    Install

    npm i leximitedjs

    Weekly Downloads

    6

    Version

    1.0.5

    License

    GNU General Public License

    Unpacked Size

    46.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • walpolea