Skip to content

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

License

Notifications You must be signed in to change notification settings

random-access-storage/random-access-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published