You can use the .read() method
.read()
db.read() .then((data) => { console.log(data); }) .catch((err) => console.error(err))
It will read the entire file!
Last updated 4 years ago