Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including pouchdb-adapter-asyncstorage with all npm packages installed. Try it out:

var pouchdbAdapterAsyncstorage = require("pouchdb-adapter-asyncstorage")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

pouchdb-adapter-asyncstorage v6.4.1

asyncstorage adapter for PouchDB



PouchDB adapter using AsyncStorage as its data store. Designed to run in ReactNative. Its adapter name is 'asyncstorage'.

bitHound Overall Score npm Package npm Package js-standard-style license


npm install pouchdb-adapter-asyncstorage --save
import PouchDB from 'pouchdb-core'
const db = new PouchDB('mydb', {adapter: 'asyncstorage'})

// use PouchDB
  .then(doc => console.log(doc))

Android limit

On Android asyncstorage has a limitation of 6 MB per default, you might want to increase it

// MainApplication.getPackages()
long size = 50L * 1024L * 1024L; // 50 MB;

For full API documentation and guides on PouchDB, see For details on PouchDB sub-packages, see the Custom Builds documentation.

Twitter URL GitHub stars

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free