Kinto.js

An offline-first JavaScript client leveraging the Kinto API.

const tasks = new Kinto({
  remote: "https://demo.kinto-storage.org/v1"
}).collection("tasks");

await tasks.create({label: "First item", done: false});
await 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.

If you want you can have a look at some advanced usages.

Community & Support

License

Mozilla Public License v2