1.0.1 • Published 8 years ago
eddystone-url-encoding v1.0.1
eddystone-url-encoding
Encode and decode Eddystone URLs.
Installation
npm install --save eddystone-url-encoding
Usage
var encoding = require('eddystone-url-encoding');
var uri = 'http://some.url';
var encoded = encoding.encode(uri);
var decoded = encoding.decode(encoded);
assert.strictEqual(decoded, uri);
This module is supposed to be used in conjunction with the noble
package or the bleno
package.