0.2.1 • Published 11 years ago

hexurl v0.2.1

Weekly downloads
1
License
-
Repository
github
Last release
11 years ago

hexurl

Reduce the length of hex strings in URLs.

Getting Started

Install the module with: npm install hexurl

var hexurl = require('hexurl');

hexurl.encode('511c0c04a81280701c000001'); // "JGkB1-VHV70R0001"
hexurl.decode('JGkB1-VHV70R0001'); // "511c0c04a81280701c000001"

Documentation

Reduces the length of hex strings in URLs using 64 URL-safe characters. This is useful for shortening the length of MongoDB ObjectIds and other hashes.

License

Copyright (c) 2013 Emlyn Murphy
Licensed under the MIT license.

0.2.1

11 years ago

0.2.0

11 years ago