ipfs-lowdb-adapter

0.0.2 • Public • Published

ipfs-lowdb-adapter

Ipfs LowDb Adapter

Permit to persist your lowDb database on IPFS with or without crypt.

Build Status

How to use

install package npm i ipfs-lowdb-adapter lowdb ipfs

in your code

const IPFS = require('ipfs')
const Low = require('lowdb')
const IPFSAdapter = require('ipfs-lowdb-adapter')
 
(async() => {
    const node = await IPFS.create()
    const adapter = new IPFSAdapter(node)
    const db = new Low(adapter)
 
    // you can use lowDb on ipfs
})();

Readme

Keywords

Package Sidebar

Install

npm i ipfs-lowdb-adapter

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

7.55 kB

Total Files

7

Last publish

Collaborators

  • jchevalay