Skip to content
/ numesis Public

Library for creating custom number system, (e.g. create binary number system with x and y instead of 1 and 0)

License

Notifications You must be signed in to change notification settings

eru123/numesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Library for creating custom number system, (e.g. create binary number system with x and y instead of 1 and 0)

Resources

License

Stars

Watchers

Forks