0.2.0 • Published 7 years ago

number-x v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

#number-x 任意进制与10进制的双向转化

conver

nx = require 'number-x'
chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVTXYZ'
assert.equal nx.toStr('38', chars), 'C'
assert.equal nx.('38', chars), 'C'

tool

assert.equal nx.lpad('12321', 7, 'a'), 'aa12321'
0.2.0

7 years ago

0.1.5

8 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago