Default storage provider used by DDatabase
npm install ddatabase-default-storage
const defaultStorage = require('ddatabase-default-storage')
const feed = ddatabase(name => defaultStorage(name, { directory: 'feed' }))
Makes a new random-access-storage provider using the random-access-file module.
If making a bitfield file that file will be locked to avoid parallel writers.
MIT