Skip to content

josselinchevalay/ipfs-lowdb-adapter

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
})();

About

Ipfs LowDb Adapter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published