{"_id":"fh-webapp","_rev":"67-9c186530e3d42e5f0097197bbcd8fd55","name":"fh-webapp","description":"FeedHenry REST API routes","dist-tags":{"latest":"0.6.7","latest-next":"0.6.8"},"versions":{"0.1.0":{"name":"fh-webapp","version":"0.1.0","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"hello=$(ls -1 test/test_*); bahaha=$(echo $hello | tr -d '\n'); whiskey --tests \"$bahaha\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","async":"0.2.9","request":"2.25.0"},"_id":"fh-webapp@0.1.0","dist":{"shasum":"4c5a20f31a59e5649d0a7fb8ccafb2b6c73b4853","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.1.0.tgz","integrity":"sha512-1aFbcGIX7KRRtapp6GuIXR9HTPf4MNAsxUD/vL+6US9h0okxzTcoPJwO1g1Et5NsxJd8w5Ln5BLTePSvrm6aGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBfIEKSocTOmjA0iJJr7luvjoOGPeS0Q/Z/eF7WEI1ebAiEA7O4rvPDVb6KxloYa6xCbKL3x1BJZgJJ6A/m3RDO6vLU="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.2.0":{"name":"fh-webapp","version":"0.2.0","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","async":"0.2.9","request":"2.25.0","nock":"0.22.1"},"_id":"fh-webapp@0.2.0","dist":{"shasum":"1a592ad64aa6cc50364ab90a27fe6a05263311d5","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.2.0.tgz","integrity":"sha512-d0W0CKfhp6BYyne/VUJJlSrYju9KsyhwtzDgWE/yVQoXCBqYRtRK1w/8rXJtcZDi95ypFJNPXz+rdmCIfVFibQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/0YLYrDPT2kdGURNYEhJLzRXNnRaj3Hufn6fTVm/R7AiEAt5CLVVSCC9ukYAOGjduQAkxeJ7k2EC0ezRQ7VS0gzqw="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.3.0":{"name":"fh-webapp","version":"0.3.0","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.3.0","dist":{"shasum":"4170f9fdb7f1ff68d6755e72251036cb4f815cbc","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.3.0.tgz","integrity":"sha512-U6Ms6bw0BEm0P9rn1TbtLz0yHXFsQ5dF3eePhAEwqiNrqtsVtB7egVU1GA5J65W1D7E/YT7ULFqZ+YrRCHly/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDX2thgrLyZ9ebmye8Ifn5IOifeJeUHhXwkclGmGULXzAIhAMcA8yz3fjZ78bTnFHr0W6rLI0ZkFdRarUd/7pbAs3hV"}]},"_resolved":"fh-webapp-0.3.0-8.tar.gz","_from":"fh-webapp-0.3.0-8.tar.gz","_npmVersion":"1.2.30","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.4.0":{"name":"fh-webapp","version":"0.4.0","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.4.0","dist":{"shasum":"ecf57e27d51b13e1bc5eb3f46999847efbff6de9","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.4.0.tgz","integrity":"sha512-sYnFzsFyvOiZeIi+b+puGEWLea75LnBi5/H9x9bb8TXix6M1fNcXXcFRYPV8fQdreB3Choof3K/hzqHoDz1CIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHUi+Eo1BX+5ZHYiy6wN98un//q2vDQP0/tYTgM8D27AiEA8x3d8EOXBPULx25Kcw8Y/MqJ7iENuMYa+mlTmyko2Qc="}]},"_resolved":"fh-webapp-0.4.0-10.tar.gz","_from":"fh-webapp-0.4.0-10.tar.gz","_npmVersion":"1.2.30","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.5.0":{"name":"fh-webapp","version":"0.5.0","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.5.0","dist":{"shasum":"c566130d0fa2e148c782dfa6b0bdf7a300cbd211","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.5.0.tgz","integrity":"sha512-WfgD5ySKN/Afz7GKf2XWZZsXU5NLZ3avQx3Kktu7FuOPPHROfdu6/bK+rsUgTYERvHLWwRVtzNPKC12EVTbnGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnMmh3iANgGdNQZP2kQsBOLpqF6NwVNiSnluO79x13fAIgXbtiYQ/AjutvA/k23y/oXVucljCJk5EizTBueycU6vU="}]},"_resolved":"fh-webapp-0.5.0-12.tar.gz","_from":"fh-webapp-0.5.0-12.tar.gz","_npmVersion":"1.2.30","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.5.1":{"name":"fh-webapp","version":"0.5.1","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.5.1","dist":{"shasum":"130d00930c8d7c6bd061bcdf0f19fa3c6eda9f4f","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.5.1.tgz","integrity":"sha512-kEmHxSvgKuN7LhSYfEQHPaDwBjkMjcQV2OS8L5Xg/07FCwpCGO+M3K5S3WdNNQWXIzQKG9u8qvCUEJaOKv02bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgS/prtfbGzGfAjvJ5fm/RqG70Dh8GargIKQtXxEGWIwIhALNK1RT8qtQGIvw19UkRaZYJLQ/dCkySmGDT8x/yPuTv"}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.5.2":{"name":"fh-webapp","version":"0.5.2","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.5.2","dist":{"shasum":"04aaeffa1c5311addfb870ed8973f38c2a23fed3","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.5.2.tgz","integrity":"sha512-zVAETyKSA+t2SgSdPvlOeRpUBblEjBR6kqOlnKea3i3BP3v5xbtkvhEIhZKbBOrACyE/M8ZK8nahWCktYIEZ6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIErCv8C++FY9KWTECynFsUpOl/gPPtK3Wnxc1ENPyQ0yAiEA9jLATtg7GjIfIfv7Nr7I+8bFzcZPFBRzlacSdMeflT4="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.6.0":{"name":"fh-webapp","version":"0.6.0","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.6.0","dist":{"shasum":"ac67f42e2ce96f1660b498a8671a2f6561f22989","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.6.0.tgz","integrity":"sha512-lImnkT+1+CnpO2CDginPYe20RMYO7T4G/K6N9y/G2VCO4pk9rLbzktmgVi7Pp5mu/vAXLOXYNzhk/xHe+aur8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAgtHkc56OihX/Bmsd+e9R4LXMyJMZK1mLl1OPsUUgvzAiBw5WqQCe6R+yCe+Y4b2b772mdyaGniVc7OCIdg5syJLw=="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.6.1":{"name":"fh-webapp","version":"0.6.1","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.6.1","dist":{"shasum":"367bbdc565e5cb4e854715c9f84877e7853ad714","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.6.1.tgz","integrity":"sha512-i4Bfg1mrwGIoF0SsH0TTIbC0bctA/oXkap3PMSwyw8DHNXwB6cmfyVnJwqTOuSrAb01esA7BCZ6gSwTvFLyDFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/mH//itXwJqH24Hzow/imvtnfEDPx+/nQtRnk/1eu7AiAVA+1+zYQB8CRq9SIbQg6vVggBB86jVLrqhPdoWe6NFg=="}]},"_resolved":"fh-webapp-0.6.1-19.tar.gz","_from":"fh-webapp-0.6.1-19.tar.gz","_npmVersion":"1.2.30","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.6.2":{"name":"fh-webapp","version":"0.6.2","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.6.2","dist":{"shasum":"c4e94ac8eaba685efaef563a0fc5b1fdeaa07427","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.6.2.tgz","integrity":"sha512-VJ8Aq1fv3bLGSygKYXKMJnhdjGqRCuVyU56IpO5YMbY1PbyaU6AEGBy32KhLDGM+fsU5sJZar0mgk6m4IERY7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTVnhKGgYQsrSPyfoObJbCyvsfHbnf1xe+/zXhAB3JggIgR4KhQy6X9I3LDSBrWyNQfSA5mnc2aJxEd8xRfEayYmQ="}]},"_resolved":"fh-webapp-0.6.2-19.tar.gz","_from":"fh-webapp-0.6.2-19.tar.gz","_npmVersion":"1.2.30","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.6.3":{"name":"fh-webapp","version":"0.6.3","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.6.3","dist":{"shasum":"5fe81928cb3441772ec928b3e9daff6b21f521df","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.6.3.tgz","integrity":"sha512-LzyvT+pMk0mtgaxFCSuEnAKZW8VW1ftT2583sw8pkqauLV7YJ0K2tLZd6eaoxLwlIHN5d8O6+ncUz9ue6X1PZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDKtY9SHgQjEBcy8cI85IL/NZ2KqKTwJ+WxGsDu0DDhZAiEAv7RyZeb3Kfenj6usvVPfEZcUBTigHjdWl4pkWkir0FQ="}]},"_resolved":"fh-webapp-0.6.3-20.tar.gz","_from":"fh-webapp-0.6.3-20.tar.gz","_npmVersion":"1.2.18","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.6.4":{"name":"fh-webapp","version":"0.6.4","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.6.4","dist":{"shasum":"3a4c0a7c10828155fb6cc034aea2ebdcbc75525a","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.6.4.tgz","integrity":"sha512-uELspN7l9uxQNyeGJeU4ZbYPxsP5SkwGsqfXLjn2w/BG/pcKXmvYOP2yvu/+EAgbhxp2Sw6dmC9s6m5l9u2HOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkIrALrOWG4eM9jV0puS8kYn9FnLtvAY270aw1yJ085wIgL2QdOhIdw5DoM/rWKXyweqMQH9/zM5/zB1HCrS+OEio="}]},"_resolved":"fh-webapp-0.6.4-21.tar.gz","_from":"fh-webapp-0.6.4-21.tar.gz","_npmVersion":"1.2.18","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.6.6":{"name":"fh-webapp","version":"0.6.6","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.6.6","dist":{"shasum":"210c95f9cc66c1aad45ae9bec5ca803890069f69","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.6.6.tgz","integrity":"sha512-PSquG4p/uiGDAXrlzphkT42b8mtcyWFaGcixY2AmcrbqnMsvEZDTOI0ZT0xQdKNENBi2iu1qG68FWPJTA08now==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGmuV5WqMjyH96+9SjNwuyv5rP7kAkrjtPi5YCIbMViRAiEAub8RfkylcW1HrW7C58xMBCfMKW49Gk63sxACxuFsX9M="}]},"_resolved":"dist/fh-webapp-0.6.6-DEV-VERSION.tar.gz","_from":"dist/fh-webapp-0.6.6-DEV-VERSION.tar.gz","_npmVersion":"1.2.18","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.6.7":{"name":"fh-webapp","version":"0.6.7","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.6.7","dist":{"shasum":"bdd8fb44b9657884bbc45907eeddcc6c7b581728","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.6.7.tgz","integrity":"sha512-ted3SIDEFKOmn4W3VcHzBYflIvDv8HDvNtn1j68j2ZmtC0H6qUpz/MWX3bdN9twA77PxJjfAJkyXMhYdY/Dmeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgIK1I/N3vD7hVx217K5wIHK61gpFoN5REASf4rSQH6gIgSeG/OBpIavGcWs1cz22ICDXZUrlpJa6V1h6S9y6ghtY="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}]},"0.6.8":{"name":"fh-webapp","version":"0.6.8","description":"FeedHenry REST API routes","main":"lib/webapp.js","scripts":{"test":"listing=$(ls -1 test/test_*); teststorun=$(echo $listing | tr -d '\n'); whiskey --tests \"$teststorun\" --global-setup-teardown \"test/setup.js\""},"author":{"name":"FeedHenry"},"dependencies":{"fh-connect":"1.8.6","fh-reportingclient":"*","underscore":"1.5.1","fh-api":"*","request":"2.25.0","async":"0.2.9"},"directories":{"lib":"lib"},"engines":{"node":">=0.6"},"devDependencies":{"express":"3.3.4","proxyquire":"0.4.1","whiskey":"git://github.com/cloudkick/whiskey.git#58fc2944ac","cli-color":"0.2.2","nock":"0.22.1"},"_id":"fh-webapp@0.6.8","_shasum":"9b590f4b5025f61131159dc3dd7a0f6a44f31067","_resolved":"./fh-webapp-0.6.8-144.tar.gz","_from":"./fh-webapp-0.6.8-144.tar.gz","_npmVersion":"1.4.21","_npmUser":{"name":"feedhenry","email":"npm@feedhenry.com"},"maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"}],"dist":{"shasum":"9b590f4b5025f61131159dc3dd7a0f6a44f31067","tarball":"https://registry.npmjs.org/fh-webapp/-/fh-webapp-0.6.8.tgz","integrity":"sha512-92BcJIDy1/i5/e658mlLa6qBm+t+RM0RmDTMim/hxeGNqv/CcaBchP0xXfCvqfXMl1Zk6AiYhSuilfQH6tWapg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh/vUMuXQcbE5jO5TDqEMWlP4c40b+Atd0o+IzSnKqzQIgebOuxng9W3+Fclrop7PI2dgeN4+OGHL5Rgg2yPz7T4I="}]}}},"readme":"fh-webapp is part one of a two-part replacement for fh-nodeapp. Webapp is the \"'\"hostapp\" part of fh-nodeapp, that which makes public endpoints from exported functions in cloud/main.js.\nIt also hosts some system-level piping to help the studio determine if an app is online, the endpoints it exposes), and introduces a new namespace - /mbaas.\n\n#Usage\nAdd the following to the 'dependencies' section of your **'cloud/package.json'** file:\n\n    \"fh-webapp\" : \"*\",\n    \"fh-api\" : \"*\",\n    \"express\" : \"3.3.4\"\nAdd a file to your FeedHenry app **'cloud/application.js'**, with the following contents:\n\n    var webapp = require('fh-webapp');\n    var express = require('express');\n    $fh = require('fh-api');\n    var mainjs = require('main.js');\n\n    var app = express();\n    app.use('/sys', webapp.sys(mainjs));\n    app.use('/mbaas', webapp.mbaas);\n    app.use('/cloud', webapp.cloud(mainjs));\n\n    // You can define custom URL handlers here, like this one:\n    app.use('/', function(req, res){\n      res.end('Your Cloud App is Running');\n    });\n\n    module.exports = app.listen(process.env.FH_PORT || process.env.VCAP_APP_PORT || 8001);\n\n##Customising & Extending\nThe above application.js is just an [Expressjs application](http://expressjs.com/api.html) - it's easily extensible. \n###Custom APIs\nYou can create custom API handlers in the Express format by doing:\n\n    app.use('/myapi', function(req, res){\n      res.end('My custom response');\n    });\n###Serving Static Files\nExpress has a built-in static file server. In this example, we host files under the public directory:  \n    \n    app.use(express.static(__dirname + '/public'));\n\n\n#REST API\t\n\n\n##Cloud\n\n###(POST | GET | PUT) /cloud/:someFunction\n**Authentication** : Optional - can be enabled globally or on a per-endpoint basis under \"Endpoints\" section of the studio.\n**Response formats** : JSON, binary, plain text\n\n###Headers\n**x-fh-auth-app** : API key of your application, found under the \"details\" section of the studio.\n\n###Body:\nJSON format - paramaters to be passed to the exported function, see 'Writing API Functions'.\n###Response:\nResult as passed to the callback function of the exported function - see 'Writing API Functions'.\n\n\n###Writing API functions\nThe cloud namespace exposes the public functions of a javascript file of your choice (traditionally 'main.js') as public endpoints under the cloud URL namespace.\n**:someFunction** is the name of a function attached to the 'exports' object. These functions take two paramaters - the first is the data sent in the POST, the second is the callback function to call.\n\n    exports.getConfig = function (params, callback){\n      // Do some work here, then return data\n      var err = false;\n\n      // Check if some error condition happened first\n      if (err){\n        return callback(err);\n      }\n      return callback(null, res);\n    }\n##mBaaS\n###POST /mbaas/db\n**Authentication** : Required - App API key goes here.\n**Response format** : JSON\n\n###Headers\n**x-fh-auth-app** : API key of your application, found under the \"details\" section of the studio.\n\n###POST Body:\nJSON body - same as $fh.db params. A summary of body options follows - For more, see [$fh.db docs](http://docs.feedhenry.com/v2/api_cloud_apis.html#$fh.db)\n\n    {\n        \"act\": \"create|update|list|delete|deleteall\",\n        \"type\": \"collectionName\",\n        \"guid\": \"GUID of object operating on - not required for list or deleteall\",\n        \"fields\": \"JSON definition of fields - required for create|update\",\n        \"eq|ne|in\" : \"JSON definition of query to match - supported for list only\"\n    }\n\n###Response:\nAs per [$fh.db](http://docs.feedhenry.com/v2/api_cloud_apis.html#$fh.db)\n\n##Sys\n##GET /sys/info/ping\n**Authentication** : None\n**Response formats** : Plaintext\n\n###Headers\nNone\n\n###Response:\n    \"OK\"\nif application is running as expected. Will respond with a 404 otherwise\n\n##GET /sys/info/endpoints\n**Authentication** : None\n**Response formats** : JSON\n\n###Headers\nNone\n\n###Response:\n    {\n      endpoints : ['array of endpoints exported as public functions']\n    }\n\n##GET /sys/info/memory\n**Authentication** : None\n**Response formats** : JSON\n\n###Headers\nNone\n\n###Response:\n    {\n      rss: 13721600, // Resident set size\n      heapTotal: 7195904, // V8's total available memory\n      heapUsed: 2369744  // V8's used memory\n    }\n\n##GET /sys/info/memory\n**Authentication** : None\n**Response formats** : Plaintext\n\n###Headers\nNone\n\n###Response:\n    0.1.0\n","maintainers":[{"name":"feedhenry","email":"npm@feedhenry.com"},{"name":"feedhenry-dev","email":"npm@feedhenry.com"},{"name":"grdryn","email":"gryan@redhat.com"}],"time":{"modified":"2022-06-18T00:25:45.891Z","created":"2013-08-06T15:12:33.049Z","0.1.0":"2013-08-06T15:12:33.537Z","0.2.0":"2013-09-03T15:14:29.245Z","0.3.0":"2013-09-11T15:06:54.724Z","0.4.0":"2013-09-11T15:23:34.992Z","0.5.0":"2013-09-13T09:23:27.272Z","0.5.1":"2013-10-24T14:22:19.543Z","0.5.2":"2014-01-03T14:51:53.515Z","0.6.0":"2014-01-03T14:54:39.401Z","0.6.1":"2014-01-22T15:24:28.326Z","0.6.2":"2014-02-05T09:29:43.101Z","0.6.3":"2014-02-27T10:43:54.571Z","0.6.4":"2014-02-27T11:46:04.001Z","0.6.5":"2014-02-27T13:40:43.871Z","0.6.6":"2014-02-28T10:42:15.985Z","0.6.7":"2014-03-27T10:28:46.180Z","0.6.8":"2015-11-19T12:11:21.007Z"},"author":{"name":"FeedHenry"},"readmeFilename":"README.md"}