convert-radix64

0.2.0 • Public • Published

Convert-Radix64

A commonJS module to convert numbers to and from radix-64 notation

Installation

In Node.JS

npm install convert-radix64

Usage

The alphabet used here is -

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

Convert to Radix64

const r = requrire('convert-radix64')
r.to64(0); //0
r.to64(10); //A
r.to64(64); //_

Convert from Radix64

const r = requrire('convert-radix64')
r.from64("A"); //10
r.from64("0"); //0
r.from64("_"); //64

Readme

Keywords

none

Package Sidebar

Install

npm i convert-radix64

Weekly Downloads

1

Version

0.2.0

License

GPL-2.0

Last publish

Collaborators

  • championswimmer