eddystone-url-encoding

Encode and decode Eddystone URLs

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eddystone-url-encoding
421.0.18 years ago9 years agoMinified + gzip package size for eddystone-url-encoding in KB

Readme

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.