mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
10 lines
320 B
JavaScript
10 lines
320 B
JavaScript
const OrbitDbCache = require('orbit-db-cache/Cache.js')
|
|
const localdown = require('localstorage-down')
|
|
|
|
/**
|
|
* A custom cache example. To create a differing custom example, orbitdb cache was
|
|
* used with another abstract-leveldown compliant storage, localdown as an example
|
|
*/
|
|
|
|
module.exports = OrbitDbCache(localdown)
|