I am developing application using node.js. In that I am willing to use SQLite as embedded database. I searched online for SQLite npm modules. I found various modules:
- https://github.com/grumdrig/node-sqlite
- https://github.com/orlandov/node-sqlite
- https://github.com/developmentseed/node-sqlite3
From documentation and other sources, I understood that (1) operates synchronously, while (2) and (3) works asynchronously. So, I dropped the plan to use (1).
Now, I want to know what is the difference between (2) and (3) and which one should be preferred? I googled a lot but could not find much to help.