I'm developing node.js application that should work both on a powerful server and on a weak android device.
In the server to access the database I'm going to use mongoose.
And what use for android? The android application must operate autonomously and database must be inside the device.
Is there a library similar to mongoose that stores objects in a simple json-file and performs the simplest operations to extract data from it?