lower-alpha

    2.0.2 • Public • Published

    Converts natural numbers to strings of [a-z].

    var loweralpha = require('lower-alpha')
    var assert = require('assert')
     
    var numbers = [
      [1, 'a'],
      [26, 'z'],
      [27, 'aa'],
      [28, 'ab'],
      [29, 'ac'],
      [1152, 'arh'],
      [18432, 'aafx']
    ]
     
    numbers.forEach(function(pair) {
      assert.equal(loweralpha(pair[0]), pair[1])
    })

    Install

    npm i lower-alpha

    DownloadsWeekly Downloads

    487

    Version

    2.0.2

    License

    MIT

    Last publish

    Collaborators

    • kemitchell