Kinto.js

An offline-first JavaScript client leveraging the Kinto API.
const tasks = new Kinto({
remote: "https://kinto.dev.mozaws.net/v1"
}).collection("tasks");
tasks
.create({label: "First item", done: false})
.then(_ => tasks.sync());
Key concepts
- Offline first: every operation is performed locally into IndexedDB by default;
- Synchronization with server shall be ran explicitly.
Take the tutorial to get you started, then read about API usage and eventually browse the detailed API docs.