Is there any flat file database system that works well with javascript such as one in JSON format or similar. I have heard about mongodb, couchdb and others but it seems whole setup of it must be installed on the puter.
Of course, I can't use sqlite
beause I think I won't be able manipulate it via javascript and I don't want to use any server-side language for my small apps.
I searched on google as well. Basically I am just looking for flat file database system that I can put in javascript app's folder (meaning portable database and app) and be able to use it anywhere, for example on some other puter without having to install any dependencies ? Does such portable flat file database exist out there ?
Is there any flat file database system that works well with javascript such as one in JSON format or similar. I have heard about mongodb, couchdb and others but it seems whole setup of it must be installed on the puter.
Of course, I can't use sqlite
beause I think I won't be able manipulate it via javascript and I don't want to use any server-side language for my small apps.
I searched on google as well. Basically I am just looking for flat file database system that I can put in javascript app's folder (meaning portable database and app) and be able to use it anywhere, for example on some other puter without having to install any dependencies ? Does such portable flat file database exist out there ?
Share Improve this question edited Sep 22, 2017 at 17:57 CommunityBot 11 silver badge asked Feb 1, 2014 at 8:30 Dev01Dev01 4,2225 gold badges32 silver badges46 bronze badges 2- Since JS has a hard time using the local file system, perhaps localstorage suits your needs, assuming you are talking client side JS – mplungjan Commented Feb 1, 2014 at 8:32
- @mplungjan: True but LocalStorage is way small in size that's why looking if there is some other portable solution. – Dev01 Commented Feb 1, 2014 at 8:34
1 Answer
Reset to default 4How about PouchDB? It's intended for web apps that cache data offline.