hypercore-default-storage
Default storage provider used by Hypercore
Last updated 4 years ago by mafintosh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install hypercore-default-storage 
SYNC missed versions from official npm registry.

hypercore-default-storage

Default storage provider used by Hypercore

npm install hypercore-default-storage

Usage

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

const feed = hypercore(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

Current Tags

  • 1.1.1                                ...           latest (4 years ago)

5 Versions

  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE