usage
how to use lite-node,is a backend only storage engine
import {Pouchlite} from "@pouchlab/lite-node";
methods
- useDb -create or use a database
- removeDb - removes database and all collections
- change - initialised lite changes
init
initialize new instance
const lite = new Pouchlite({path:"./"})
//provide valid path to file or leave blank for default
change
lite.change((data)=>{
console.log(data)
})