0
Q:

local database with javascript

//get in GitHub
//more info in https://pouchdb.com
var db = new PouchDB('dbname');

db.put({
  _id: '[email protected]',
  name: 'David',
  age: 69
});

db.changes().on('change', function() {
  console.log('Ch-Ch-Changes');
});

db.replicate.to('http://example.com/mydb');
0
Your best option is:
https://pouchdb.com/
0

New to Communities?

Join the community