Neatly Packaged Magic

    numesis

    1.0.1 • Public • Published

    numesis

    Custom Number System

    Installation

    NPM or Yarn

    npm i numesis
    
    # OR
    
    yarn add numesis

    Deno

    import numesis module on your project directly

    import Numesis from 'https://deno.land/x/numesis/mod.ts'

    Usage

    With deno

    import Numesis from 'https://deno.land/x/numesis/mod.ts'
    
    const n = new Numesis(); 
    
    // Encode
    const encoded = n.e(999); // output: P7Ct

    Basic

    const Numesis = require('numesis')
    
    const n = new Numesis(); 
    
    // Encode
    const encoded = n.e(999); // output: P7Ct

    Custom

    const Numesis = require('numesis')
    
    // Default charset
    const charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
    
    const n = new Numesis(charset); 
    
    // Encode
    const encoded = n.e(999); // output: P7Ct

    Install

    npm i numesis

    DownloadsWeekly Downloads

    16

    Version

    1.0.1

    License

    Apache-2.0

    Unpacked Size

    15.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • lighty262