Skip to content
Chooses the fastest random access backend based on the user's browser
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md Version 2.0.1 - doc update Mar 21, 2019
index.js
mutable-file-wrapper.js Updated idb mutable file wrapper to fix bugs Jul 8, 2019
package.json Version 2.0.3 Jul 8, 2019
test.html
test.js Added unit tests Jul 8, 2019

README.md

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
You can’t perform that action at this time.