eddystone-url-encoding

eddystone-url-encoding JS library on GitHub eddystone-url-encoding JS library on npm Download eddystone-url-encoding JS library

Encode and decode Eddystone URLs

Version 1.0.1 License MIT
eddystone-url-encoding has no homepage
eddystone-url-encoding JS library on GitHub
eddystone-url-encoding JS library on npm
Download eddystone-url-encoding JS library
Keywords
eddystoneuribeaconbluetoothbluetooth low energyblephysical web

eddystone-url-encoding

npm version Build Status Coverage Status Dependency Status

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.