abc-list
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

abc-list

Convert a to 0, z to 25, and reverse it

Installation

npm install --save abc-list

Usage

import { fromAbc, toAbc } from 'abc-list'

fromAbc('a') // 0
fromAbc('b') // 1
fromAbc('az') // 51
toAbc(0) // 'a'
toAbc(1) // 'b'
toAbc(51) // 'az'

License

MIT

Package Sidebar

Install

npm i abc-list

Weekly Downloads

6

Version

1.0.4

License

MIT

Unpacked Size

3.53 kB

Total Files

6

Last publish

Collaborators

  • dherault