This is a browser-side JavasSript library for syncing data between the localStorage and Cloud Storage Services. For now, only Dropbox and Google Drive are supported. Although, the library can be extended for supporting other services. lightsyncjs also works in Cordova applications, with the plugin inappbrowser
$ npm install lightsyncjs
See the example in order to learn how to use the library.
The library also includes a node sever, called LightServer, which emulates a Cloud Storage Service. It should only be used during development.
The library is distributed under the MIT License.