Skip to content

josselinchevalay/ipfs-lowdb-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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