Skip to content

Kinto/kinto.js

Folders and files

NameName
Last commit message
Last commit date
Sep 16, 2024
Jun 20, 2023
Apr 4, 2022
Jun 20, 2023
Jun 20, 2023
Oct 18, 2024
Oct 18, 2024
Mar 18, 2025
Apr 22, 2020
Oct 2, 2019
Feb 8, 2016
Jul 11, 2017
Nov 20, 2019
Jun 20, 2023
Sep 18, 2015
Apr 4, 2022
Mar 16, 2022
Oct 18, 2017
Aug 5, 2023
Feb 3, 2016
Mar 18, 2025
Mar 18, 2025
Jun 20, 2023
Jun 4, 2023

Repository files navigation

Kinto.js

Greenkeeper badge

Build Status Coverage Status

An Offline-First JavaScript client for Kinto.

Note: This library also includes a pure JS HTTP client for Kinto. You can learn more in the docs.

The idea is to persist data locally in the browser by default, then synchronizing them with the server explicitly when connectivity is guaranteed:

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

// Create and store a new post in the browser local database
await posts.create({ title: "first post" });

// Publish all local data to the server, import remote changes
await posts.sync();

Documentation