Diskdb is a lightweight disk-based JSON database with a MongoDB-like API for Node. We can install diskdb with this command:
npm install diskdb
Create a todos.json file at the root of the directory. This file will serve as our database collection where we have our todo items. You can learn more about diskdb here https://www.npmjs.com/package/diskdb.