storage-sync

0.1.0 • Public • Published

kinto-chrome

Build Status

Prototype project to build a chrome.storage.sync compatible wrapper around Kinto.js.

To see the demo, run:

npm install
npm run dist
cd demo ; python -m SimpleHTTPServer

and then visit http://localhost:8000/ and see the console.

To make it sync to a Kinto server, configure as follows:

chrome.storage.sync.config = {
  type: "kinto",
  interval: 60000, // milliseconds
  remote: "http://localhost:8080/v1",
  headers: {Authorization: "Basic " + btoa("user:pass")}
};

To run the tests, run:

npm install
npm run test

/storage-sync/

    Package Sidebar

    Install

    npm i storage-sync

    Weekly Downloads

    3

    Version

    0.1.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • michielbdejong