Dexie.js is a minimalistic indexed DB wrapper that provides near-native performance and easy to use database. Hard to believe the dexie DB package size is around 22KB and it works cross-browser and devices. It solves the error handling by promises rather than events. So it will result in less of coding which turns out to be maintainable code.
Let’s start the how-to-use dexie database by creating an order electron app. Clone the electron typescript template and install dexie to it.