d2-ui
Version:
31 lines (19 loc) • 872 B
Markdown
# Base62.js
[](http://travis-ci.org/andrew/base62.js)
A javascript Base62 encode/decoder for node.js
## Install
npm install base62
## Usage
Base62 = require('base62')
Base62.encode(999) // 'g7'
Base62.decode('g7') // 999
## Development
Source hosted at [GitHub](http://github.com/andrew/base62.js).
Report Issues/Feature requests on [GitHub Issues](http://github.com/andrew/split/base62.js).
### Note on Patches/Pull Requests
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a future version unintentionally.
* Send me a pull request. Bonus points for topic branches.
## Copyright
Copyright (c) 2012 Andrew Nesbitt. See [LICENSE](https://github.com/andrew/base62.js/blob/master/LICENSE) for details.