Learn how companies like Phone2Action are using npm in their front-end developmentJoin the conversation »

random-access-web

2.0.3 • 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

147

Version

2.0.3

License

MIT

Unpacked Size

6.56 kB

Total Files

7

Last publish

Collaborators

  • avatar
  • avatar