codify

0.3.0 • Public • Published

Codify lets you transform integers to base36 strings and vice versa. All strings use uppercase letters.

Example

var codify = require('codify');
var code = codify.toCode(10); // 'A'
var testInt = codify.toInt(code); // 10

// Zero Extend
code = codify.toCode(0, 5); // '00000'

/codify/

    Package Sidebar

    Install

    npm i codify

    Weekly Downloads

    2

    Version

    0.3.0

    License

    none

    Last publish

    Collaborators

    • andrewjstone