uri-beacon-uri-encoding
v1.1.5
Published
Encode and decode UriBeacon URIs
Downloads
5
Maintainers
Readme
uri-beacon-uri-encoding
Encode and decode UriBeacon URIs.
Installation
npm install --save uri-beacon-uri-encoding
Usage
var encoding = require('uri-beacon-uri-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.