{"_id":"@akeating-redhat/fh-sync-js","_rev":"1-76847d53c71348a8390a8e1a4af828ab","name":"@akeating-redhat/fh-sync-js","description":"Javascript client for fh-sync offline synchronization library","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.1":{"name":"@akeating-redhat/fh-sync-js","version":"1.1.1","description":"Javascript client for fh-sync offline synchronization library","main":"src/index.js","types":"./fh-sync-js.d.ts","browserify-shim":{"JSON":{"exports":"JSON"},"./libs/generated/lawnchair.js":{"exports":"Lawnchair"},"./libs/generated/crypto.js":{"exports":"CryptoJS"}},"browserify":{"standalone":"fh-sync","transform":["browserify-shim"]},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git://github.com/feedhenry/fh-sync-js.git"},"author":{"name":"Feedhenry Team"},"license":"Apache 2.0","dependencies":{"loglevel":"~0.6.0","process":"~0.6.0","type-of":"~2.0.1","underscore":"~1.6.0","uuid":"^3.0.1"},"devDependencies":{"async":"0.2.10","browserify":"3.46.1","browserify-shim":"3.3.2","chai":"1.9.0","express":"3.4.8","grunt":"0.4.2","grunt-browserify":"1.3.2","grunt-contrib-concat":"0.3.0","grunt-contrib-connect":"0.6.0","grunt-contrib-jshint":"0.8.0","grunt-contrib-qunit":"~0.4.0","grunt-contrib-uglify":"0.3.2","grunt-contrib-watch":"0.6.0","grunt-env":"0.4.1","grunt-mocha-phantomjs":"0.4.3","grunt-mocha-test":"0.9.4","grunt-shell":"0.6.4","grunt-text-replace":"0.3.12","grunt-zip":"0.12.0","mocha":"1.17.1","moment":"^2.18.1","rimraf":"2.6.1","sinon":"1.9.0","sinon-chai":"2.5.0","through":"2.3.4","typedoc":"0.5.8"},"gitHead":"a6b5d67b138af632fa659ba5621c3233d061dff2","bugs":{"url":"https://github.com/feedhenry/fh-sync-js/issues"},"homepage":"https://github.com/feedhenry/fh-sync-js#readme","_id":"@akeating-redhat/fh-sync-js@1.1.1","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"akeating-redhat","email":"akeating@redhat.com"},"dist":{"integrity":"sha512-nZkoVlemMa3ozxw6gCcv9q8tN1dr6w4jfehZE3Hp44PNppyfNofIAWT/REc2ASTa3OUrER2PYvVEpTkwEz/Rrw==","shasum":"e2ad32f01d666c81f022d7f059ba022e401b500d","tarball":"https://registry.npmjs.org/@akeating-redhat/fh-sync-js/-/fh-sync-js-1.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCosBWb8cCLaWGJkBLTasT6qA8FxEpMZu0pcP/h3cEuBQIhAI3D9HPhUGZrB/JTcLQwYJCx1q4yQVL4EGIf+5ESsBR1"}]},"maintainers":[{"name":"akeating-redhat","email":"akeating@redhat.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fh-sync-js-1.1.1.tgz_1504707774370_0.6886390908621252"}}},"readme":"FeedHenry Sync Javascript client\n========================\n\nData synchonization javascript client.\nLibrary can be used for offline storage of mobile applications data.\n\n## Required setup\n\nTo use the sync client you need a sync server setup first see https://github.com/feedhenry/fh-sync or https://github.com/feedhenry/fh-sync-server.\nSync client using default Ajax handler to call sync server.   \nServer URL can be configured using following variables \n\n- cloudUrl - URL to sync server\n- cloudPath (optional) - allows to use custom endpoint for sync (defaults to `/sync/`)\n\n\nFor example: \n```javascript\n\nsyncClient.init({\n    cloudUrl:\"http://localhost:3000\",\n    do_console_log: true,\n    sync_frequency: 1,\n    sync_active: false,\n    storage_strategy: ['memory'],\n    crashed_count_wait: 0\n});\n\n```\n\n\n## Building\n\n    npm install\n    grunt \n\n## Cordova client template\n\nYou can try [Cordova Sync Template](https://github.com/feedhenry-templates/feedhenry-cordova-sync-app). It uses fh-sync-js as a library for connecting to running sync server instance.\n\n## Relation for fh-js-sdk\n\nFeedhenry JS SDK contains various libraries and also includes fh-sync-js library.\n","maintainers":[{"name":"akeating-redhat","email":"akeating@redhat.com"}],"time":{"modified":"2022-04-04T12:29:04.068Z","created":"2017-09-06T14:22:56.156Z","1.1.1":"2017-09-06T14:22:56.156Z"},"homepage":"https://github.com/feedhenry/fh-sync-js#readme","repository":{"type":"git","url":"git://github.com/feedhenry/fh-sync-js.git"},"author":{"name":"Feedhenry Team"},"bugs":{"url":"https://github.com/feedhenry/fh-sync-js/issues"},"license":"Apache 2.0","readmeFilename":"README.md"}