Socket
Socket
Sign inDemoInstall

kinto

Package Overview
Dependencies
Maintainers
8
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kinto

An Offline-First JavaScript client for Kinto.


Version published
Weekly downloads
152
increased by4.11%
Maintainers
8
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 20 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc