eddystone-url-encoding
v1.0.1
Published
Encode and decode Eddystone URLs
Downloads
1,672
Maintainers
Readme
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.