local database with javascript

Solutions on MaxInterview for local database with javascript by the best coders in the world

showing results for - "local database with javascript"
Giada
17 Jun 2016
1Your best option is:
2https://pouchdb.com/
Lisa
20 Jan 2017
1//get in GitHub
2//more info in https://pouchdb.com
3var db = new PouchDB('dbname');
4
5db.put({
6  _id: 'dave@gmail.com',
7  name: 'David',
8  age: 69
9});
10
11db.changes().on('change', function() {
12  console.log('Ch-Ch-Changes');
13});
14
15db.replicate.to('http://example.com/mydb');