{"_id":"@akeating-redhat/fh-mbaas-api","_rev":"3-90c385725c31c39ad6b00b4abe31b296","name":"@akeating-redhat/fh-mbaas-api","description":"FeedHenry MBAAS Cloud APIs","dist-tags":{"latest":"7.0.1"},"versions":{"6.1.3":{"name":"@akeating-redhat/fh-mbaas-api","version":"6.1.3","description":"FeedHenry MBAAS Cloud APIs","main":"lib/api.js","dependencies":{"async":"0.2.9","async-json":"0.0.2","colors":"0.6.2","cycle":"1.0.3","eyes":"0.1.8","fh-db":"1.2.5","fh-mbaas-client":"0.15.0","fh-mbaas-express":"5.6.6","fh-security":"0.2.0","fh-statsc":"0.3.0","lodash-contrib":"^393.0.1","memcached":"^2.0.0","moment":"2.14.1","mongodb-uri":"0.9.7","optval":"1.0.1","pkginfo":"0.2.3","redis":"0.8.2","request":"2.74.0","stack-trace":"0.0.9","underscore":"1.7.0","unifiedpush-node-sender":"0.12.0","winston":"0.8.0","xtend":"4.0.1"},"devDependencies":{"chai":"^3.5.0","clear-require":"1.0.1","express":"3.3.4","grunt":"^0.4.5","grunt-cli":"^1.2.0","grunt-fh-build":"^0.5.0","istanbul":"0.2.14","jshint":"^2.5.2","mocha":"2.4.5","mocha-sinon":"^1.1.5","nock":"0.22.1","plato":"^1.0.1","proxyquire":"1.4.0","sinon":"^1.17.5","valid-url":"1.0.9"},"scripts":{"testwindows":"test_win.cmd","test":"grunt"},"license":"Apache-2.0","repository":{"type":"git","url":"git+ssh://git@github.com/feedhenry/fh-mbaas-api.git"},"gitHead":"573ab0f30e2ab82ba1bb31d1ceb3bc72b1b134cc","bugs":{"url":"https://github.com/feedhenry/fh-mbaas-api/issues"},"homepage":"https://github.com/feedhenry/fh-mbaas-api#readme","_id":"@akeating-redhat/fh-mbaas-api@6.1.3","_shasum":"944fc5f2116e490788711a20c269b31679844a1d","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"akeating-redhat","email":"akeating@redhat.com"},"dist":{"shasum":"944fc5f2116e490788711a20c269b31679844a1d","tarball":"https://registry.npmjs.org/@akeating-redhat/fh-mbaas-api/-/fh-mbaas-api-6.1.3.tgz","integrity":"sha512-TB7ASb6zGbMZCbeHsUbdoitBGyWfjOD+nAg7y4Ye17XgtSJWIDmtXV58v7P4gBEfYJ31Oh96g9XpqA46Ji3rVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCj8Ej9AFCsmvX48JwbikeOb2LZZodZ86aKIk6w6sUW0gIgcu5acGDgNREXkyscD+sNCBTbigsCb4mTMhDYztcA8uQ="}]},"maintainers":[{"name":"akeating-redhat","email":"akeating@redhat.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/fh-mbaas-api-6.1.3.tgz_1484840348966_0.283129938878119"}},"7.0.1":{"name":"@akeating-redhat/fh-mbaas-api","version":"7.0.1","description":"FeedHenry MBAAS Cloud APIs","main":"lib/api.js","dependencies":{"async":"2.1.5","backoff":"^2.5.0","colors":"0.6.2","cycle":"1.0.3","debug":"2.6.3","eyes":"0.1.8","@akeating-redhat/fh-component-metrics":"latest","fh-db":"1.4.4","fh-mbaas-client":"0.15.0","fh-mbaas-express":"5.7.0","fh-security":"0.2.0","fh-statsc":"0.3.0","lodash-contrib":"^393.0.1","memcached":"^2.0.0","moment":"2.15.2","mongodb":"2.1.18","mongodb-lock":"0.4.0","mongodb-queue":"2.2.0","mongodb-uri":"0.9.7","optval":"1.0.1","parse-duration":"0.1.1","pkginfo":"0.2.3","redis":"^2.6.5","request":"2.74.0","stack-trace":"0.0.9","underscore":"1.7.0","unifiedpush-node-sender":"0.12.1","xtend":"4.0.1"},"devDependencies":{"chai":"^3.5.0","clear-require":"1.0.1","express":"3.3.4","grunt":"^0.4.5","grunt-cli":"^1.2.0","grunt-fh-build":"^0.5.0","grunt-mocha-test":"^0.13.2","istanbul":"0.2.14","jshint":"^2.5.2","mocha":"2.4.5","mocha-sinon":"^1.1.5","nock":"0.22.1","plato":"^1.0.1","proxyquire":"1.4.0","sinon":"^1.17.5","valid-url":"1.0.9"},"scripts":{"testwindows":"test_win.cmd","pretest":"./scripts/pretest.sh","test":"grunt fh:unit mochaTest:integration","posttest":"./scripts/posttest.sh"},"license":"Apache-2.0","repository":{"type":"git","url":"git+ssh://git@github.com/feedhenry/fh-mbaas-api.git"},"gitHead":"8be6d9da354a7df58d982879980c23f92820a364","bugs":{"url":"https://github.com/feedhenry/fh-mbaas-api/issues"},"homepage":"https://github.com/feedhenry/fh-mbaas-api#readme","_id":"@akeating-redhat/fh-mbaas-api@7.0.1","_shasum":"8eaadd7873aa5323d4b06d4f3916aaba4a48cd6e","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"akeating-redhat","email":"akeating@redhat.com"},"dist":{"shasum":"8eaadd7873aa5323d4b06d4f3916aaba4a48cd6e","tarball":"https://registry.npmjs.org/@akeating-redhat/fh-mbaas-api/-/fh-mbaas-api-7.0.1.tgz","integrity":"sha512-4NioyzxibXqKOATjg8HLvtnJ42EGdb5ciJaq2UOprHTr3yCu8pxG+MpUf+/3qE523ygxdk5u3LSRZ7Q1rGW8Dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb4IQoE4HSb4nKVhZT9Pzwp0dREk66p2CGH0ETxlxRcwIhAI5djLAHUDaU9lpa4oA7VlYLLXKnbKG86VSBeyNGCLOe"}]},"maintainers":[{"name":"akeating-redhat","email":"akeating@redhat.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fh-mbaas-api-7.0.1.tgz_1493203668894_0.06787389796227217"}}},"readme":"# fh-mbaas-api\n\nfh-mbaas-api provides FeedHenry MBaaS APIs for Node.js cloud apps.\n\n[![npm package](https://nodei.co/npm/fh-mbaas-api.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/fh-mbaas-api/)\n\n[![Build status](https://img.shields.io/travis/feedhenry/fh-mbaas-api/master.svg?style=flat-square)](https://travis-ci.org/feedhenry/fh-mbaas-api)\n[![Dependency Status](https://img.shields.io/david/feedhenry/fh-mbaas-api.svg?style=flat-square)](https://david-dm.org/feedhenry/fh-mbaas-api)\n[![Known Vulnerabilities](https://snyk.io/test/npm/fh-mbaas-api/badge.svg?style=flat-square)](https://snyk.io/test/npm/fh-mbaas-api)\n\n\n|                 | Project Info  |\n| --------------- | ------------- |\n| License:        | Apache License, Version 2.0  |\n| Build:          | npm  |\n| Documentation:  | http://docs.feedhenry.com/v3/api/cloud_api.html  |\n| Issue tracker:  | https://issues.jboss.org/projects/FH/summary  |\n| Mailing list:   | [feedhenry-dev](https://www.redhat.com/archives/feedhenry-dev/) ([subscribe](https://www.redhat.com/mailman/listinfo/feedhenry-dev))  |\n| IRC:            | [#feedhenry](https://webchat.freenode.net/?channels=feedhenry) channel in the [freenode](http://freenode.net/) network.  |\n\n## Usage\nfh-mbaas-api is included as standard with your cloud app code.\n\nFor custom apps, add the module via npm by running the following for the root of your app\n\n```\nnpm install --save fh-mbaas-api\n```\n\nThis will install the latest version of fh-mbaas-api and save the installed version in your package.json\n\n## Documentation\nDocumentation for the $fh cloud API is maintained at the [FeedHenry API Docs.](http://docs.feedhenry.com/v3/api/cloud_api.html)\n\n## Deprecated\nLegacy Rhino functions have been deprecated. These are listed below - with their replacements **in bold**. All replacements listed but '$fh.web' have drop-in replacements available.\n\n* $fh.web -> **[request](https://github.com/mikeal/request)**\n* $fh.log -> **console.log**\n* $fh.parse -> **JSON.parse**\n* $fh.stringify  **JSON.stringify**\n\n## Tests\nIn order to run the tests, please make sure you have [Docker](https://www.docker.com/) installed.\n\nBefore running tests do:\n\n```\nnpm install\nnpm install -g grunt-cli\n```\n\nThen to run the tests use ```npm test```\n\nOn Windows, use ```npm run testwindows```\n\n## Caveats\n\n### Two sync loops per sync frequency\nTwo sync loops may be invoked per sync frequency if the server-side sync frequency\ndiffers from the client-side frequency.\n\nThis is because the client and server sync frequencies are set independently.\nSetting a long frequency on a client does not change the sync frequency on the\nserver.\n\nThe `syncFrequency` value of the dataset on the server should be set to the\n`sync_frequency` value of the corresponding dataset on the client to avoid this.\n\nFor example:\n  * `sync_frequency` on the client-side dataset is also set to 120 seconds.\n  * `syncFrequency` on the server-side dataset is set to 120 seconds.\n\n## API logging\n\nUsers of the fh-mbaas-api can then enable logging if they would like to see more output. This is useful for debugging purposes.\nIt's possible to pass environment variables to enable the logging according the rules specified for [debug](https://www.npmjs.com/package/debug) module:\n  \n```\nDEBUG=\"fh-mbaas-api:*\" ./yourscript \n```\nIf `DEBUG_COLORS=0` is passed also it will print log messages with proper timestamps. This is automatically enabled outside properly supported terminal.\n","maintainers":[{"name":"akeating-redhat","email":"akeating@redhat.com"}],"time":{"modified":"2022-06-12T14:26:56.763Z","created":"2017-01-19T15:39:09.679Z","6.1.3":"2017-01-19T15:39:09.679Z","7.0.1":"2017-04-26T10:47:51.077Z"},"homepage":"https://github.com/feedhenry/fh-mbaas-api#readme","repository":{"type":"git","url":"git+ssh://git@github.com/feedhenry/fh-mbaas-api.git"},"bugs":{"url":"https://github.com/feedhenry/fh-mbaas-api/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}