storage-sync
v0.1.0
Published
chrome.storage.sync wrapper for Kinto.
Downloads
4
Readme
kinto-chrome
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