Socket
Socket
Sign inDemoInstall

zapier-async-storage

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

zapier-async-storage


Version published
Weekly downloads
24
decreased by-25%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

zapier-async-storage

Minimalist wrapper for IndexedDB

Usage

npm install zapier-async-storage
import { createInstance } from 'zapier-async-storage';

const db = createInstance({
  storeName: 'my-store',
  dbName: 'AsyncStorage',
  version: 1,
});

db.setItem('hello', 'world')
  .then(db.getItem('hello'))
  .then((result) => {
    console.log(result); // 'world'
  });

Configuration

WIP.

Development

npm run start
open http://localhost:8001/__tests__/

Navigate to http://localhost:8001/__tests__ to view the Mocha test suite.

FAQs

Last updated on 18 Sep 2017

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc