Skip to content

DistributedWeb/ddatabase-default-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddatabase-default-storage

Default storage provider used by dDatabase

npm install ddatabase-default-storage

Usage

const defaultStorage = require('ddatabase-default-storage')

const feed = ddatabase(name => defaultStorage(name, { directory: 'feed' }))

API

storage = defaultStorage(name, [options])

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.

License

MIT

About

Default storage provider for dDatabase.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •