{"maintainers":[{"email":"jonas.pauthier@gmail.com","name":"anonymous"},{"email":"devinivy@gmail.com","name":"anonymous"},{"email":"nicolas@morel.io","name":"anonymous"},{"email":"quitlahok@gmail.com","name":"anonymous"},{"email":"eran@hammer.io","name":"anonymous"}],"keywords":["hapi","ops","hapi-plugin"],"dist-tags":{"latest":"2.0.1"},"description":"An EventEmitter useful for collecting hapi server ops information","readme":"# oppsy\n\nAn EventEmitter useful for collecting hapi server ops information.\n\n[![Build Status](https://secure.travis-ci.org/hapijs/oppsy.svg)](http://travis-ci.org/hapijs/oppsy)![Current Version](https://img.shields.io/npm/v/oppsy.svg)\n\nLead Maintainer: [Adam Bretz](https://github.com/arb)\n\n## Usage\n\n```js\nconst Oppsy = require('oppsy');\nconst Hapi = require('hapi');\n\nconst server = new Hapi.Server();\nconst oppsy = new Oppsy(server);\noppsy.on('ops', (data) => {\n  console.log(data);\n});\n\nawait server.start();\n\noppsy.start(1000);\n```\n\nThis creates a new Oppsy object and starts collecting information every 1000 miliseconds\n\n### new Oppsy(server, [config])\n\nCreates a new Oppsy object.\n- `server` - the hapi server to collect information about.\n- `[config]` - optional configuration object\n  - `httpAgents` - the list of httpAgents to report socket information about. Can be a single http.Agent or an array of agents objects. Defaults to Http.globalAgent.\n  - `httpsAgents` - the list of httpsAgents to report socket information about. Can be a single https.Agent or an array of agents. Defaults to Https.globalAgent.\n\nThe oppsy object is an EventEmitter so it exposes the same API(`.on` and `.emit`) as the Node EventEmitter object. After it is started, it emits an \"ops\" event after a set interval with the collected ops information as the event payload.\n\n#### oppsy.start(interval)\n\nStarts an Oppsy object collecting network and server information.\n- `interval` - number of milliseconds to wait between each data sampling.\n\n#### oppsy.stop()\n\nStops an Oppsy objects collecting.\n","repository":{"type":"git","url":"git://github.com/hapijs/oppsy.git"},"bugs":{"url":"https://github.com/hapijs/oppsy/issues"},"license":"BSD-3-Clause","versions":{"0.0.1":{"name":"oppsy","version":"0.0.1","repository":{"type":"git","url":"git://github.com/hapijs/oppsy"},"description":"hapi plugin for server ops information","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -Lv"},"keywords":["hapi","ops","hapi-plugin"],"engines":{"node":">=4.0.0"},"license":"BSD-3-Clause","devDependencies":{"code":"2.x.x","hapi":"11.x.x","lab":"7.x.x"},"gitHead":"4f6233d5d0c85963b00cecaf5d1efb6ad21e28b9","bugs":{"url":"https://github.com/hapijs/oppsy/issues"},"homepage":"https://github.com/hapijs/oppsy","_id":"oppsy@0.0.1","_shasum":"724e06c57bf008429cfe3f4b04b58902629e8740","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"anonymous","email":"arbretz@gmail.com"},"maintainers":[{"name":"anonymous","email":"arbretz@gmail.com"}],"dist":{"shasum":"724e06c57bf008429cfe3f4b04b58902629e8740","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/oppsy/-/oppsy-0.0.1.tgz","integrity":"sha512-HRhvHK3iK+MJ5KkkNiHAAoPYzx0MOjGrKWpjdpV8kchJQ6/L4mnLMxsNf9J+mFzzTXJm2CWv7k6oUA/Flhj53w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnUIPmh/ZlzQk7FDl4tfQhlx2mo1YBqwvXH6G7nxX6kQIhALr5+2S4doGN5yfV8IBrMzvH6MXqO85Js72s8kVAGUi9"}]},"directories":{},"deprecated":"This module has moved and is now available at @hapi/oppsy. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"1.0.0":{"name":"oppsy","version":"1.0.0","repository":{"type":"git","url":"git://github.com/hapijs/oppsy"},"description":"An EventEmitter useful for collecting hapi server ops information","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -Lv"},"keywords":["hapi","ops","hapi-plugin"],"engines":{"node":">=4.0.0"},"license":"BSD-3-Clause","devDependencies":{"code":"2.x.x","hapi":"11.x.x","lab":"7.x.x"},"dependencies":{"hoek":"3.x.x","items":"2.x.x"},"gitHead":"2087409f8ec4c52618a9d11a2581234e89936b0d","bugs":{"url":"https://github.com/hapijs/oppsy/issues"},"homepage":"https://github.com/hapijs/oppsy","_id":"oppsy@1.0.0","_shasum":"a267d3b10e0cd50d4f483d4c43af4d6d4f8eb031","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"anonymous","email":"arbretz@gmail.com"},"maintainers":[{"name":"anonymous","email":"arbretz@gmail.com"}],"dist":{"shasum":"a267d3b10e0cd50d4f483d4c43af4d6d4f8eb031","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/oppsy/-/oppsy-1.0.0.tgz","integrity":"sha512-1BRPIu9S7TixPlO92opN2WK8Py4IqTilc7jGyfQEV/jOYqgHyHcTtLSX5S0/RDSDunBRlWIigvLukuCWrspZ1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHwYCMi8g4BpAOVjIH40/GNHAOAEFENd010SUi9wbWWoAiB/oQO2RuhYNA2ac1drzJJFpkIZhcXH/VTIcb21H/y3XQ=="}]},"directories":{},"deprecated":"This module has moved and is now available at @hapi/oppsy. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"1.0.1":{"name":"oppsy","version":"1.0.1","repository":{"type":"git","url":"git://github.com/hapijs/oppsy"},"description":"An EventEmitter useful for collecting hapi server ops information","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -Lv"},"keywords":["hapi","ops","hapi-plugin"],"engines":{"node":">=4.0.0"},"license":"BSD-3-Clause","devDependencies":{"code":"2.x.x","hapi":"11.x.x","lab":"7.x.x"},"dependencies":{"hoek":"3.x.x","items":"2.x.x"},"gitHead":"0fa11186c5174745d8fd5a42269e070db338bbac","bugs":{"url":"https://github.com/hapijs/oppsy/issues"},"homepage":"https://github.com/hapijs/oppsy","_id":"oppsy@1.0.1","_shasum":"948fb4415a06120b28274146c0ff062a4c48a9bc","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"anonymous","email":"arbretz@gmail.com"},"maintainers":[{"name":"anonymous","email":"arbretz@gmail.com"}],"dist":{"shasum":"948fb4415a06120b28274146c0ff062a4c48a9bc","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/oppsy/-/oppsy-1.0.1.tgz","integrity":"sha512-5tqES2S2Am8MITGiM+yPVJODcZpkuI63160/i2d6Lh9/HxfMwJDLdLgWFqJ5njJ/6HflmqWcyEPnUiZrW9n2Mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIALbcljoIuO8sGf5eoGUL0cjULIpQ/QjAuBFq9BbVGphAiEAu/cX2ok0dQdtylNsC7+fVAqg/Og13bAkwhcF325x/yA="}]},"directories":{},"deprecated":"This module has moved and is now available at @hapi/oppsy. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"1.0.2":{"name":"oppsy","version":"1.0.2","repository":{"type":"git","url":"git://github.com/hapijs/oppsy.git"},"description":"An EventEmitter useful for collecting hapi server ops information","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -Lv"},"keywords":["hapi","ops","hapi-plugin"],"engines":{"node":">=4.0.0"},"license":"BSD-3-Clause","devDependencies":{"code":"2.x.x","hapi":"13.x.x","lab":"10.x.x"},"dependencies":{"hoek":"4.x.x","items":"2.x.x"},"gitHead":"3faf083bd767009239f1138ae168635f57a49997","bugs":{"url":"https://github.com/hapijs/oppsy/issues"},"homepage":"https://github.com/hapijs/oppsy#readme","_id":"oppsy@1.0.2","_shasum":"98014cd6967653a83cfffa554226dc90050baad4","_from":".","_npmVersion":"3.8.6","_nodeVersion":"4.4.0","_npmUser":{"name":"anonymous","email":"arbretz@gmail.com"},"maintainers":[{"name":"anonymous","email":"arbretz@gmail.com"}],"dist":{"shasum":"98014cd6967653a83cfffa554226dc90050baad4","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/oppsy/-/oppsy-1.0.2.tgz","integrity":"sha512-Qnh5fywuksezmkoaJ/wqSKD0ON1puKqk1owQ7PMcs/4h2y5wbMSihWP+yT0lr/MTcUmhKv8yvAu9wYVkMB4O5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIw1Q5ChNnA27NWiHaEJ35MV5U2Jj8NHsTQCmU4ZUJ4gIgRTNP07Ymoub2N3cDJMGY+hDzaU0zcUVtBpEg+JuyELQ="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/oppsy-1.0.2.tgz_1463749003052_0.6664593361783773"},"directories":{},"deprecated":"This module has moved and is now available at @hapi/oppsy. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"2.0.0":{"name":"oppsy","version":"2.0.0","repository":{"type":"git","url":"git://github.com/hapijs/oppsy.git"},"description":"An EventEmitter useful for collecting hapi server ops information","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -Lv"},"keywords":["hapi","ops","hapi-plugin"],"engines":{"node":">=8.0.0"},"license":"BSD-3-Clause","devDependencies":{"code":"5.x.x","hapi":"17.x.x","lab":"15.x.x"},"dependencies":{"hoek":"5.x.x"},"gitHead":"c0ec07252b56714365f16d4fc98fe3d73da07d29","bugs":{"url":"https://github.com/hapijs/oppsy/issues"},"homepage":"https://github.com/hapijs/oppsy#readme","_id":"oppsy@2.0.0","_shasum":"3a194517adc24c3c61cdc56f35f4537e93a35e34","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"anonymous","email":"arbretz@gmail.com"},"dist":{"shasum":"3a194517adc24c3c61cdc56f35f4537e93a35e34","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/oppsy/-/oppsy-2.0.0.tgz","integrity":"sha512-NAmKjhgjCh/y31RnQhreZGxtgOgFsRMWgmYIngtviF89JzujY1H8TexF8Lz82H5ApjTvN2MRHFln2Q2YXYn8cQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBFFK8LMtWd9n9E+1hIzKfSImaue5gt2KSDzzRyy7AIQAiEAp9KcXRhcYtdwPOTHvU1aEjrG1Molv/94W3h24tCs+ik="}]},"maintainers":[{"name":"anonymous","email":"arbretz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppsy-2.0.0.tgz_1513090091972_0.7985494963359088"},"directories":{},"deprecated":"This module has moved and is now available at @hapi/oppsy. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"2.0.1":{"name":"oppsy","version":"2.0.1","repository":{"type":"git","url":"git://github.com/hapijs/oppsy.git"},"description":"An EventEmitter useful for collecting hapi server ops information","main":"lib/index.js","scripts":{"test":"lab -a code -t 100 -L"},"keywords":["hapi","ops","hapi-plugin"],"engines":{"node":">=8.0.0"},"license":"BSD-3-Clause","devDependencies":{"code":"5.x.x","hapi":"18.x.x","lab":"18.x.x"},"dependencies":{"hoek":"6.x.x"},"gitHead":"df5310442bbdc6133c81ddcb865c3ce8226d2e70","bugs":{"url":"https://github.com/hapijs/oppsy/issues"},"homepage":"https://github.com/hapijs/oppsy#readme","_id":"oppsy@2.0.1","_nodeVersion":"10.15.0","_npmVersion":"6.7.0","_npmUser":{"name":"anonymous","email":"eran@hammer.io"},"dist":{"integrity":"sha512-6cIrRlZiQE4q+PadDP08N6RLQgQr2KmAbDvRFET3aL5A4bZnecNmSxa9ENe+TAE29XRX+KgaxaqC+B2+Lc51Yw==","shasum":"91da3b4cc5cc6527dae3f04d67c7db87e4e4448c","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/oppsy/-/oppsy-2.0.1.tgz","fileCount":14,"unpackedSize":29822,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYgpHCRA9TVsSAnZWagAAB/8P/1uXreyhroDxYrHPsrQP\nZ2W2Qx08KlpQYr8vZjUtMHIRWtwVHYa5JeZC/9sZZ541i4+XxCk9JZ3yV5Y2\ngh7/hl2YWw2rfkP8tklgvdd0mUs5xG4fnkxQj0GD0dwXgf70/yeJXoFzzXTU\nNMTxPI8iRJ2sdAIJkBg3R2xgPoRGOHLBkTrRIL7OMgv+FR6owj7T/X4eBnJU\nVlHD3MRhYStFuhMl+HHw3cA876zlMhYGWn/1fRRyBglwMN22B9v1ycL5A5bs\ncDNkCrW+A97qKTd1bDUOYXosNCa4t4mqM4/+vjfz1VZn+sdr0WZmk5U8+02n\nDlpmT477bxCY9fE5qiuR68I9EiY8Ad8O4ZRBH/fC+No8p6c1S4HAdz5DiWOA\nPA6tIxe2lsSwvsgcvZVy2SvKPaIwb/4XlXQUAMU1/GfNlOPiTnhczHQkH9k/\n6onvWjC5kGaP/l8Z93LkEdY5d9m5cN0WJC3SJA+t6T1T27/yDsa7gf9MH7zs\nMiTG/3Ad4u1fmao2masErJNbh1LyjWFkBMbu2Lf8YdMzV3CXpSotzl3QYgkk\noYptvJKXFNyC43oxv4yEd7+vYtFMMR/Yuw6HkCM0YAMQECG6VGCyubmvn7+L\nADgQzzqBxdQE1qbSnpkbQi2X7Si8yhWR7sewfbgC1yIt0gSFp7j8Xb2IBu3g\nrNHn\r\n=+sHu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJ3hzugGPUCdvVXx0mbh13J/qad6slG/woQ1maACvw3AiBRrPmPmWe9wSojUAhz2EgJfPhNv91gA8gqdJnsgbcteg=="}]},"maintainers":[{"email":"eran@hammer.io","name":"anonymous"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oppsy_2.0.1_1549929030584_0.024684017098486777"},"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/oppsy. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."}},"name":"oppsy","time":{"modified":"2023-12-01T08:26:36.389Z","created":"2015-11-11T15:17:20.305Z","0.0.1":"2015-11-11T15:17:20.305Z","1.0.0":"2015-11-18T02:03:54.111Z","1.0.1":"2015-11-18T16:51:02.038Z","1.0.2":"2016-05-20T12:56:46.275Z","2.0.0":"2017-12-12T14:48:12.835Z","2.0.1":"2019-02-11T23:50:30.711Z"},"readmeFilename":"README.md","homepage":"https://github.com/hapijs/oppsy#readme"}