alphabet-to-number
v1.0.0
Published
One-to-one conversion of alphabets and numbers.
Downloads
25
Readme
alphabet-to-number
Intro
One-to-one conversion of alphabets and numbers.
Installation
npm install alphabet-to-number
Usage
JavaScript
const AlphabetToNumber = require('alphabet-to-number')
console.log(AlphabetToNumber.AtoN('a'))
console.log(AlphabetToNumber.NtoA(1))
console.log(AlphabetToNumber.AtoA('a', 1))
TypeScript
import {AtoN, NtoA, AtoA} from './alphabet-to-number'
console.log(AtoN('a'))
console.log(NtoA(1))
console.log(AtoA('a', 1))
Test
npm run test