npm

Join us for the "JavaScript Supply Chain Security" tech talk, presented by VP of Security, Adam Baldwin. 6/20 at 10am PT.Sign up here »

random-access-web

2.0.2 • Public • Published

random-access-web

Chooses the fastest random access backend based on the user's browser

npm install --save random-access-web
const RAW = require('random-access-web')
 
const storage = RAW('dats')
 
const dat = new DatJs({
  db: storage
})

Options:

  • name: The database name to use (if applicable)
  • storeName: The collection to use for the data (For indexedDB)
  • maxSize: The maximum size to allocate for Chrome file storage

install

npm i random-access-web

Downloadsweekly downloads

46

version

2.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability