JSPM

eddystone-url-encoding

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 100
  • Score
    100M100P100Q89848F
  • License MIT

Encode and decode Eddystone URLs

Package Exports

  • eddystone-url-encoding

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eddystone-url-encoding) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.