{"_id":"@art-of-coding/wormhole","_rev":"18-e739e60fa5c7aa12664956de3168a5be","name":"@art-of-coding/wormhole","description":"Simple but versatile IPC interface","dist-tags":{"latest":"2.1.2"},"versions":{"0.1.0":{"name":"@art-of-coding/wormhole","version":"0.1.0","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":[],"engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"http://wormhole.artofcoding.nl","dependencies":{"shortid":"^2.2.8","ultron":"^1.1.0"},"_id":"@art-of-coding/wormhole@0.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.3","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-C69Rw1AlunXE5rh0uNvQXA4UlNSvfFYwmXibSQTv+Vq5Z7C8aZ0BjLyaFy8zEj5WekVlibJ4ObOvUJ9BpT75SA==","shasum":"81cf4bf6b8a45bc225ab907fbe019c710b44eca7","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFzLcGfxT9fnGVa+/3kRp1ic5Su8vgfouxBymQRnl+RsAiBRdccwAx5DN7v7Ojj+WHbJicbVphi9KsXxIDfXtfdYBA=="}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-0.1.0.tgz_1503767673592_0.34205514728091657"},"directories":{}},"0.1.1":{"name":"@art-of-coding/wormhole","version":"0.1.1","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process"],"engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"http://wormhole.artofcoding.nl","dependencies":{"shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"aa772ee35ca5e7c2f9ee5d3c4c8c935ca8551dfc","_id":"@art-of-coding/wormhole@0.1.1","_npmVersion":"5.3.0","_nodeVersion":"8.1.3","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-0PW20MYpeKPW4pwoZvE6oHu4OLC/T82SRInIbwfcGssMYb4ktPh/AdWiXfJemQBmCvLvKlBLwv5gKBluHRmO/Q==","shasum":"8d31ce131c49a6b3dfd54e084ebad946dcaf241d","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZkthGndlTbqHhpgV9Up/pNlTukkgw3wKvXZF5iIFX7QIhAJF0Rx1lXztUyVIH0JW0FoX7aFeV9OW9MuMY/Yfj21eF"}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-0.1.1.tgz_1503784125803_0.6575852115638554"},"directories":{}},"0.2.0":{"name":"@art-of-coding/wormhole","version":"0.2.0","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process"],"engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"http://wormhole.artofcoding.nl","dependencies":{"shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"898e3fc15a2fb8ef69f87ade539287b95c55e332","_id":"@art-of-coding/wormhole@0.2.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.3","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-M3k2D+BfG96A0OzGFvv0aMu4GL7toipSSeCkZ9WqEQ3baL9W3+UnP7Dtgi5S7qtZJ4s7HZ4kCf+BChAUj2CR0A==","shasum":"4c65ae8a1c5798ccd0ff8d1b122f0c7828927615","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYKeW0Rs+LYAWaULmbBA8kujhcgtHLPUNHEKxzHBCR8AIhAMdYb6UTN0YY2xNFWlsijzw4xOtQQ/LNWBdbZb1VaCk4"}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-0.2.0.tgz_1503848053846_0.3005706970579922"},"directories":{}},"0.3.0":{"name":"@art-of-coding/wormhole","version":"0.3.0","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process"],"engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"http://wormhole.artofcoding.nl","dependencies":{"shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"2321ddd6b1125b007314a4083e1c5e8766eac2e6","_id":"@art-of-coding/wormhole@0.3.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.3","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-eVmyQo3JMe+zuwR/pUGEbLG+JzNMOQRZkrYOwfDUSVacytVQLfmIwtK//d7ZtPRdYKeU0MGb32oPlVKtcaTSpA==","shasum":"750cf350283f3330a83ac141b29737a73f354c45","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDmkZk3SBUB+93bthHTzMVOlRvgi88wFmesmKs8FMh7sAiEAqg1A204mPulQxlbCmtQh3bcDyHIA12g+ufBvSjKNgpA="}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-0.3.0.tgz_1504026350159_0.43093209946528077"},"directories":{}},"0.4.0":{"name":"@art-of-coding/wormhole","version":"0.4.0","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process"],"engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"http://wormhole.artofcoding.nl","dependencies":{"shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"d7a0f36d29be3d07287c31452e97e36f918d56cc","_id":"@art-of-coding/wormhole@0.4.0","_npmVersion":"5.4.0","_nodeVersion":"8.1.3","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-7uZsAcwAzqsdn9lyG3fBa/qP4IGm2EpK5tFgjojyrwd+8VF3PjhgZkfnVVsZs1sPUQFjiNLGtMcwiO8mGxC38A==","shasum":"f321324b2f7dee3f8b54e838889bf4699475df58","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-0.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRDmpwRUbNpL5QKjhS9p9K9+4WnwHaAWdcn8Xm7DTSlQIgL7NLwaw553abktws4d9J5Y31ACqZtU5MIZ2z9dmYVdI="}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-0.4.0.tgz_1504888229293_0.21043770597316325"},"directories":{}},"0.5.0":{"name":"@art-of-coding/wormhole","version":"0.5.0","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process"],"engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"http://wormhole.artofcoding.nl","dependencies":{"shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"ebd23fd79772a04e92cc8e66a24d47644686ab25","_id":"@art-of-coding/wormhole@0.5.0","_npmVersion":"5.4.0","_nodeVersion":"8.1.3","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-ptyoV10NCxBd928RkR8yImSeKdibnt5sTZJtv1ZAur7OaTj7c6I3OBeKGDrUhL4q/9cIaf/hVD0A+o2Yeop5aw==","shasum":"df16f4d0760639e0226b466cdc65250fc4c3b296","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-0.5.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLuv69NrhdHs2YA9JgS2r0aPP5vEoA9Vbgo64d9i5G3AIhAK/5IRDRgreZVGe2rCynY6siec9pUvTL+T9V5Q5Ntij7"}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-0.5.0.tgz_1505237128331_0.6328426513355225"},"directories":{}},"1.0.0":{"name":"@art-of-coding/wormhole","version":"1.0.0","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process","process"],"engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"https://blog.artofcoding.nl/2017/08/26/enter-the-wormhole-ipc-goodness/","dependencies":{"shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"48796cff5968f81320776d22512309e1599e85ff","_id":"@art-of-coding/wormhole@1.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.1.3","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-WrguWDB5IIKK19bGxn9wh69ZZWjisR3ct1SyVl7Mslslz1jVxfHc4mO+DgIgk7zdfI68UdAnq7n21XZL/y9Wjg==","shasum":"2e94373e3d3a4db0bf6f9a28a15ad48c86ea0c45","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDEnYy4W8ysTZPUw2AXzQLrjEWnPFJZGg2R/igs+m3DzAiEAjPebLtQxHmpUt3shVTiw2Bu+GU9qPQucoWs84CQZ6qE="}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-1.0.0.tgz_1505829819365_0.1758664317894727"},"directories":{}},"1.0.1":{"name":"@art-of-coding/wormhole","version":"1.0.1","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process","process"],"engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"https://blog.artofcoding.nl/2017/08/26/enter-the-wormhole-ipc-goodness/","dependencies":{"shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"ab8dfee548e1b713afae6495cf5defabc9d9f781","_id":"@art-of-coding/wormhole@1.0.1","_npmVersion":"5.4.2","_nodeVersion":"8.1.3","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-MBblYt8n2BcrjTZL5JEeKsXlWm6nERc2NmlLV9b2cxBLMXoj2HXoOSSsHPTtUInLrpejsyQBGT/I/y3yJkY7Og==","shasum":"bd2083468debdcd7dd96268b0c9da9102df95dd1","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9TA6IK+KuWjeRurWUpUe/Pp6AOLk6hvgOu1tmV3IwdAiEA9v5KOavX3kbVsc16N4kEjowgtiXYlrWwmrNC0ci+ViU="}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-1.0.1.tgz_1507393091858_0.7927329933736473"},"directories":{}},"1.0.2":{"name":"@art-of-coding/wormhole","version":"1.0.2","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process","process"],"types":"types.d.ts","engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"https://blog.artofcoding.nl/2017/08/26/enter-the-wormhole-ipc-goodness/","dependencies":{"@types/node":"^8.0.34","shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"b36472e3c4879831a09241bc64ca17c3de8b16ea","_id":"@art-of-coding/wormhole@1.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.1.3","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-dTrQuGnj8YPEZaDsoatUAS9rc6beHHkMUqww6BifGXSQa7WxmEoRUl7S4Gov4o3X83Iwvp5YQFeBX3v2EQydAA==","shasum":"4875517c148d9764d3999330f91acc55e0229bc9","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAvQ9nJtIB89WzGlpOdkjQQBdecptIg7NAZ3Pi695FhbAiBy2dw6pWOjRWRZ5abLud3lRmsnyY5CXLtrylz/i9amnQ=="}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-1.0.2.tgz_1508002491596_0.8013092605397105"},"directories":{}},"1.0.3":{"name":"@art-of-coding/wormhole","version":"1.0.3","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process","process"],"types":"types.d.ts","engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"https://blog.artofcoding.nl/2017/08/26/enter-the-wormhole-ipc-goodness/","dependencies":{"@types/node":"^8.0.34","shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"52ce3f27cfc8e66fe51f4bd898b02aa2f51f8df7","_id":"@art-of-coding/wormhole@1.0.3","_npmVersion":"5.5.1","_nodeVersion":"8.1.3","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-8AvGq4ciXbFy96O78c816BePD5VolKVYhxh4G2afWinmbLKLiAWL6SyGIU1zAZVpztVC9FrjB8ag2gbrFaScOw==","shasum":"aa44f37d931d9cd554de5b00cd260e7faa4540ed","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-1.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBVJudITNEgd1YbZdq6spTm1Kbpy21NRIASWs1kRgIQTAiBBv04Avthb7KQ9tNbf1L90FNn3dVcS350CVCKd6Z6d/w=="}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-1.0.3.tgz_1508008221544_0.07321919710375369"},"directories":{}},"1.0.4":{"name":"@art-of-coding/wormhole","version":"1.0.4","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process","process"],"types":"types.d.ts","engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"https://blog.artofcoding.nl/2017/08/26/enter-the-wormhole-ipc-goodness/","dependencies":{"@types/node":"^8.0.34","shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"5f776f54a6c3ceef063712e35e1b0a700656622e","_id":"@art-of-coding/wormhole@1.0.4","_npmVersion":"5.5.1","_nodeVersion":"8.1.3","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-omZ+JnCjTn3oWh5d/Oe0wB4j9bTmZe9wb0X5lQpeJKX6s1HvRl93o2ZBZMRDeHscKf+qzL5O8sxqVcH/ai+Wag==","shasum":"b975c66fb31e7f3acf1f4fd4bb0b6b7ecaffe31a","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-1.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDupRAwrgi3KpuyDEy1gyWspR45A6BGcSKBYghmbyGJNwIgWKFZ4EinJNEAr//YfA/g0Jj+fCaZmAorQnSzMAEUWls="}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-1.0.4.tgz_1508074732410_0.42278811265714467"},"directories":{}},"1.1.0":{"name":"@art-of-coding/wormhole","version":"1.1.0","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process","process"],"types":"types.d.ts","engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"https://blog.artofcoding.nl/2017/08/26/enter-the-wormhole-ipc-goodness/","dependencies":{"@types/node":"^8.0.34","shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"fbc300a46652433191ca4e872319b1051ab712bd","_id":"@art-of-coding/wormhole@1.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-2nEDWBvDKQUzh0im837TzagXFLb8Uk/LYReKiC3aRpOOzFVwuOwlFyFVI9OyRKMNDtdBLy3u3ePQ70NI4VWFAg==","shasum":"69ca37e3d1cacc8c9bff1ca7fc9a0d2a3288319a","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtNKjzFNwS7o52Bq2iy0yvzKNTOKN6WcKjuWnE5Vm76gIhAJpQh88zaJwJqJa4ksfjdx+ycF7TYnqopL0etDRr1CYa"}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-1.1.0.tgz_1508077911074_0.7862783663440496"},"directories":{}},"1.1.1":{"name":"@art-of-coding/wormhole","version":"1.1.1","description":"Simple but versatile IPC interface","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl","url":"http://michielvdvelde.nl"},"license":"MIT","keywords":["ipc","rpc","events","child_process","process"],"types":"types.d.ts","engines":{"node":"=>4"},"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"homepage":"https://blog.artofcoding.nl/2017/08/26/enter-the-wormhole-ipc-goodness/","dependencies":{"@types/node":"^8.0.46","shortid":"^2.2.8","ultron":"^1.1.0"},"gitHead":"d875b029e22ad69f9e33e3611af2f024a1d66f6b","_id":"@art-of-coding/wormhole@1.1.1","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"dist":{"integrity":"sha512-ehyOPHTe+Y/IXGg2ZWw6DWnjQk2i74lAiOnj4fqc4dCmX/oUKtwnAXe/6o8xmoKkaTbcZ2vjWFV/4zA4ETav1Q==","shasum":"120c745a859bdecd4d1263940087627f8a50fd47","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-1.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4jBwIjZ2eFlJgON1DNXbthg5VVH6Mm2hxOkjGSOZ50AiBtZNn17utH3dJr7COL69HXdLLRLfi8raraV45LHK+4fw=="}]},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole-1.1.1.tgz_1508596290734_0.16551548847928643"},"directories":{}},"2.0.0":{"name":"@art-of-coding/wormhole","version":"2.0.0","description":"Simple but versatile IPC interface","main":"./dist/index.js","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl"},"homepage":"http://github.com/Art-of-Coding/wormhole","repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"engines":{"node":">=10"},"keywords":["ipc","process","child","fork"],"license":"MIT","dependencies":{"nanoid":"^3.1.20"},"gitHead":"fcbb5571758ff0141109c179f79b90817b216b8a","bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"_id":"@art-of-coding/wormhole@2.0.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-zUjGEF+sh93M9JO06ioWxZCWHhoWLtBnp/NSotMV2qv2ZK3K8UsISir4oSfHDSEh/GbTIf6PucmuagOyEgwY1A==","shasum":"e0b1654af23044fe40c263ada342d81baf11b89b","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-2.0.0.tgz","fileCount":5,"unpackedSize":11555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNpbCCRA9TVsSAnZWagAADoUP/0WqQ2GSuDgS/7mnw+W4\nui75YOOpZ9t95xjLd5+RQcZDn0JHm1lt1N9+fT87/afyz7TYNPnapC1XTbZL\n/nlhxuUXYdPg7Uf07ENp9Fu+4TK0ozygLGNGJ6BGMatoZAB3oFKIC2mJNZDY\nuuKNjIKroAf8frOQKnS2IWzyO8XIiti5CC/YjXkBqd0qSFcW56x90bG5cHEf\nUNqYO2QW97uf1XUFiCIa3Hn290QMtH9Fje/6JgG5cXRYIFCRHsN5cWevxZ//\nNTRBreWufRcvfFZduEJBQxHZKXveAsD4BFzdRPKlExO3SUDH42e0ECN/WNRM\nkJDCz1bnPBNjr7N8RqfvtDnUnrRapeWGvtIJADT5XY9UsZphUpH9Xl6Oj1on\n6HKmmsV7OZala0afKTpy3cNaViU/iQ7EfBURYBxMMqzjukLKeWP9uaBzqdca\n0lS9sn4OITfV0V1GZ02LOpk6HovfKpC2ksUAuj+vKD0P8Wq5AXVa3F9r8zAv\n2B6UojCDnA2YosAMPgT4GG7Kw/A+518a0m02GbTUNUKp67WXRbwyVg83PJnZ\nA93hYHigoPmxppz3gkv4IDnS6pdKGj/4agBJCJ2Sceyjywk1z7Nn2u224Q6h\nD521Uo6o//tl63f1DIlnNIXG0oR9oY3kMTNZ41CCADCOf27bsQtKIeyUyzAS\niDsR\r\n=nA8c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgrGGyytn4L2RmpqFAzR6en4Co6AeESOdrMyaRmhT3aAIgdPSTQLnGvsTjLrxfWy35w2ZS7fYAUqnhtHqpjgP6/5E="}]},"_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"directories":{},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole_2.0.0_1614190274309_0.13606589256988566"},"_hasShrinkwrap":false},"2.0.1":{"name":"@art-of-coding/wormhole","version":"2.0.1","description":"Simple but versatile IPC interface","main":"./dist/index.js","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl"},"homepage":"http://github.com/Art-of-Coding/wormhole","repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"engines":{"node":">=10"},"keywords":["ipc","process","child","fork"],"license":"MIT","dependencies":{"nanoid":"^3.1.20"},"gitHead":"d54b5e00456cee08bdc0fad0bf0fe14560767c2f","bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"_id":"@art-of-coding/wormhole@2.0.1","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-/nAXjtE8sdtFAgncUxByQ8acS5Q+YHNotX3SJfDPBcgUuF0ypF01h+lXAY2B4RTGqbaABZHNCUI7ekA48+J0rA==","shasum":"265b13e942b42c674f4a38308bb6d5174181be5f","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-2.0.1.tgz","fileCount":5,"unpackedSize":11545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNruqCRA9TVsSAnZWagAA5uwQAIo/hvIj3XalGVACVLk+\ng4jlgUPEein0HB/ovZKECqjZehMbRxZbM6EdguHtQY1smQYabkviA0JfCXgS\n6p7ZHeuNT8W5jpxibiDVH031yRGxBACFHfIU8a6JoDeZ3HSySzDcrlmXKaCl\nWQBaiR+c0BNwlM5YkQs/OHSUHHyuRyU5qily4L0SN2cl7bUDG6V39BcV2NFb\nTcva4AubXH8pv4r59F+XMsyUZyPQNUDV7dWvIFb6d/0fIbAeQ+puwPI7Q1wA\nLFhui5EcHzhfVmfkgj1NTbBIW8EvBDji9XjF9FtiafA4qbq0R5vCUKt7ybk0\nZFKRgVGG9AAJ0IBrCSt46hfkvYMQldxv/kuJpCG1OYHxUNoWRVwRRLduITdT\nW2slj4fSvdq6ep+vDMgfmUn4qTi/pb4h8lvtstL3YFS4wNPr1OmoLjIqZn41\naFD0szxmaQLv0d+JEIPUx2UgGTW/tmDqA6etpJdIIZS3Bzd4Jyo+DOl7T+YB\n8zJ6GV2FETwX2o0TxfwMcnClUDv7gVPXhQTY5gHkjGBRRa5Gw0EoPmOXCTIw\nZmy16n6kmgwdg5SNviR16gfA/qrkicGLQ/Amjr4jRMC3ru+YuJttE+u8AtqS\nk45MrodgNJ+bFNYJiJJnDmdxM5WgoRzwZRgLrt9rxGQc7ghLh/32o3um40jk\ngl3m\r\n=gg1b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBP5ehoh6jq4C8ODwlgxZnwPELKvW2J5/w5g+zc9EByQIhAKBkLEYF+5dtVS3TgSWLTkznUbhsJcj6EyouAEwnUIy7"}]},"_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"directories":{},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole_2.0.1_1614199721965_0.488410968564138"},"_hasShrinkwrap":false},"2.1.0":{"name":"@art-of-coding/wormhole","version":"2.1.0","description":"Simple but versatile IPC interface","main":"./dist/index.js","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl"},"homepage":"http://github.com/Art-of-Coding/wormhole","repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"engines":{"node":">=10"},"keywords":["ipc","process","child","fork"],"license":"MIT","dependencies":{"nanoid":"^3.1.20"},"gitHead":"9cb75830fadf9ac9a08771a401adfd152f128bbd","bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"_id":"@art-of-coding/wormhole@2.1.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-wJzBNLQiwSjjg1XcR3u11It8th/gLQDiDdsG6yM0Bv3+AzlNxnKPZ6/ipXdKy/rpgYyQn0yc1imrmgbP/2r9PA==","shasum":"44c93dffd697aa51e0a22cfd56e1aee46aa911c6","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-2.1.0.tgz","fileCount":5,"unpackedSize":11456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRtE3CRA9TVsSAnZWagAA5wUP/3cUq3An/MUuD9fyY08u\nJwAUCiruMS13vvXTmtFb2cNF45pJPLmWNUiXPZ/aznuEgb0xpD77m2GEiuk8\n0K3eTSbpPaUgjCC7Ny5xyRCHVqLcxMWrqNH82o6EULV7BNnx8J/4YrIgsA06\nHMO1u5GOGfGMQe+2C6UNEsvLK1J/kpt62CugZ/py/XVSWD4wS7fr0qSl+101\ngHBe+g6eyRTHTtHggktPv5+gba9TLtUZPGaVwa/Ngi19DwZdpRhUSbX5Cj3t\n1wuIJ01FB7LjwbZfI+bR4Yk1kA1eXlSsdamcTdbW11pHHyo7GGt/dFSeyPov\nUieBeNPk03oy67eA/I2sW2He7cIZbmBKnoCzWAEO3hiQYDk8FGpSiqsindl2\nHKzJnAsPk3ycFJHXDtK6qalDa0T9dswsIAkbOcwaHRtFd4QxAJY/IRtWu4V0\nsOU8OTg+byZvbkBAMCUn4qkhNsGeBuojnsOi0Tg9H4vqvcm0IidkIOh0z0l+\nIJXiX8ZVvZPm181mNSX9kNDyJTsVc5iptDGhjza8lVTE69a1IXC6OrQ7+OjG\ndghwcwjTiZcDmUwvYYLmwkyXNl/mPHeLkl5DlXSJuWFQNN+zwyMTpZoZqhKM\nJtS4OoepAt4jSoncdlRzGnjzXswB1y8ZETI3lGrXpVrRisbRk6hAxwYh+dDY\niI4f\r\n=MPpM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAl230mLUmJuVnguEA0MDQLgf1cWjjtXyttzygBLouZiAiBspeUCAi2BykoDU7MtsfT8Hb2UeZXqN+0GuGIYqZ6oFQ=="}]},"_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"directories":{},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole_2.1.0_1615253814695_0.2449859742664593"},"_hasShrinkwrap":false},"2.1.1":{"name":"@art-of-coding/wormhole","version":"2.1.1","description":"Simple but versatile IPC interface","main":"./dist/index.js","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl"},"homepage":"http://github.com/Art-of-Coding/wormhole","repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"engines":{"node":">=10"},"keywords":["ipc","process","child","fork"],"license":"MIT","dependencies":{"nanoid":"^3.1.23"},"devDependencies":{"@types/node":"^15.6.1"},"gitHead":"a07dc2dd998bed78e035d740fdb5bddeec32e2c2","bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"_id":"@art-of-coding/wormhole@2.1.1","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-hlyKxyOKDiJ4C3nbwMq1o6J87TMeLymL0snXg2ZueuChfdhs/AhZcbJK/DmhnlU20CTaPhzWqxlnMZ3l1OpGTQ==","shasum":"3bb572870245011984ba94253e2c5b73a6b37e34","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-2.1.1.tgz","fileCount":5,"unpackedSize":11521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgs5UwCRA9TVsSAnZWagAA8i4P/jyI41b0uSfdMPwfWMNf\nlBKdb3RwcZtsSR5sEm7lY5QtDUyb9rInHKvvoP53XIL3XJzgmNFHtmZEYafJ\nvkvXk7APZ2zZW8DpNztxM0lzTTO+ldUqed54Ql8ftG0YtletG+VZkBqFuyLG\n81KImpNdgXwcZ7DIQj1dR2JCtrfDJ7+yDpPxXmooTysWNAcITTTDW9kJ8I44\n1juwasvw6f9G0Hwv9xf0x28ovPRn0vJ2Jp1TsMFeBUPVJYUXhaDLEOYk7gHT\nbL6tdxgMopk+ccytE062p3mz8sIkV7QPUDA0b7rNEyob+K4jzMhDzWvE+m36\n8TfKRdlsq/1KPYwlrLJ3URdi65FswbgcL7lO1eg28S81ENy8KK9NbGcfPPSb\nr4Qt4LLZqGbheHHiT6t94cH1bjHxQhCwq7eCeQYXAklpVDGHVQmys4d/hhR4\n87G0L6/SWSTgUNU7mPqcOTLqeRPX9pxAY3HkOjvop2ZwoE4aAP3McsrO1yAE\ndUt8qBY/vkU+6FNCqr0xoSFh4dmGWlowP7T7hNtYgWlHQCkbSELOvJuxBBAS\nTc2h0s3FPkco/Z+RyssrxpiJ10tlEn74Edm5wq834qAk7sr6pTP7cDGnMrZ2\nYwp9vvDqqv/7TARrK26nkf3xyNglRDG2sspi9vaukuiwUWfz5BEHEbcP+ZvT\n9IGm\r\n=2pfk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5QBnzUEL7ixfDt/JqRqlMnWOIzo5u6XHBGA7jTK+w3AiATwrOEA2d3EQBr2MYf/odMZoGLujpOB92roC/RlWv9UA=="}]},"_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"directories":{},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole_2.1.1_1622381871844_0.10449036431381575"},"_hasShrinkwrap":false},"2.1.2":{"name":"@art-of-coding/wormhole","version":"2.1.2","description":"Simple but versatile IPC interface","main":"./dist/index.js","author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl"},"homepage":"http://github.com/Art-of-Coding/wormhole","repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"engines":{"node":">=10"},"keywords":["ipc","process","child","fork"],"license":"MIT","dependencies":{"nanoid":"^3.1.23"},"devDependencies":{"@types/node":"^16.3.1"},"gitHead":"39d27365f68128f84c3b1713945d0c750d33d367","bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"_id":"@art-of-coding/wormhole@2.1.2","_nodeVersion":"16.4.1","_npmVersion":"7.19.1","dist":{"integrity":"sha512-Lkrg9moV6JVje29HwuWVmg6obRt2QjXfOEKQoT4PvyUNQSX0KDiS2PnyZE7y4D6Y+4n15Za7X0RsZM7i1l6mTg==","shasum":"4a0aed48f8a8ddfb39163afc5df730e591ea8f12","tarball":"https://registry.npmjs.org/@art-of-coding/wormhole/-/wormhole-2.1.2.tgz","fileCount":5,"unpackedSize":11448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6N3QCRA9TVsSAnZWagAAQz4P/AzoSGKaKrEhZw0W19El\nlMwRpTR9rJyQZhyYjcKbu/B0ES+aXX1WnbZG6IQSTqMgDyFU6wfpjaOaVLNk\ntBGoAYaSXsCm8pktiIYjFBhyV0jXgZk6IlNB4ttsXxxLqHDEkKWicxCMsbcQ\nHW8DZ4WWXYyRa64NHlqnpIxWNCRr9dB9RsNkY+jYNSQneiVmrl77dLngBM7I\n/fmrEXtrfVmrlujH7YEq6YnZwKCJdtPNFQiLBEuS3Ns6QJ+/9Wsx2GyoQY4h\nSVBdvitYk6xvbnRSA/wMEY8bIpA5zjscr2AFnUmHHhIcMBMEQu59SSlOENpY\nUjvtaKr07cWr+nPnoA/4IRqDkafgP4evF8zLHFd1okc92ZkyP/vHQydELRdJ\nCSLTcMvELx6sY0RkUCt+8flCY4XthG9XgpCeGOr0WJq6ZKpIQDEx8f9RkdrA\npv8hVGJ14Id2oU369sVs5BYg6ut02HgvWrH6JQWBDKcpNzsMSh3VWdSWSyca\nGOjZOZzYpYtkaoDbYKracpX8DGAUG8tUjShjJFItTyZzyuKTVwXBBL7uhG5B\nRNQObk1bZpd/tbqvHmF2mmdZta5Ug68jJWtE9PZAiUhHiqKzD+dNEEpPhdsV\nB7xq7LMDk89tWGEXqM8CarAhXZCJXy3Uo0W6dfWhn4rjNUI/tmiNMkRvbnrS\nSna4\r\n=sn2U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcd8DdW7cIAAPdEUHsYVjkBXpVhXy+AS40s28cWcCTywIgcm1d1Wzh6/5c6Osgc0ZQIZEal1DCyIG7abFf2ivuuvk="}]},"_npmUser":{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"},"directories":{},"maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wormhole_2.1.2_1625873871487_0.9685527013140982"},"_hasShrinkwrap":false}},"readme":"# Wormhole\n\nThis module can be used to provide handy functionality on top of remote connections\nsuch as Inter-Process Communication (IPC). It's designed to be small and easy to\nuse.\n\nIt has the following features:\n\n* Send and receive events with arbitrary arguments\n* RPC-style remote command calling\n* Can be used on both sides of a communication channel\n\nWormhole is developed with `process` and `ChildProcess` (over IPC) in mind.\n\n## Installing\n\n```\nnpm i @art-of-coding/wormhole\n```\n\n## Example\n\nThis is an attempt to write a complete example. In this example we fork a process\nand then we want to communicate with it. By using wormhole on both ends, we can\nsend and receive events and commands in both directions.\n\nThe master process:\n\n```js\nimport { fork } from 'child_process'\nimport Wormhole from '@art-of-coding/wormhole'\n\nconst child = fork('./example-child.js')\nconst wormhole = new Wormhole(child)\n\n// Register a `startup` event handler\nwormhole.events.on('startup', () => {\n  console.log('received startup event!')\n})\n\n// Register an `add` command\nwormhole.define('add', function (a: number, b: number) {\n  return a + b\n})\n\n// Send the `quit` event to the child\nsetTimeout(() => wormhole.event('quit'), 5000)\n```\n\nThe child process:\n\n```js\nimport Wormhole from '@art-of-coding/wormhole'\n\nconst wormhole = new Wormhole(process)\n\n// Register a `quit` event handler\nwormhole.events.once('quit', () => {\n  process.exit(-1)\n})\n\n// Send an event\nwormhole.event('startup')\n\n// Call a remote command\nwormhole.command<number>('add', 5, 6).then(result => {\n  console.log(`5 + 6 = ${result}`)\n})\n```\n\n## API\n\n### `new Wormhole (channel)`\n\nInstantiates a new wormhole instance.\n\n* `channel`: The channel to use (must either be `process` or an instance of `ChildProcess`)\n\n#### Events\n\nA Wormhole instance is an `EventEmitter` with the following events:\n\n* `error`: There was an error\n* `message`: A received message that isn't handled by Wormhole\n* `disconnect`: The channel is disconnected\n\n### `wormhole.connected`\n\nReturns `true` if the channel is connected.\n\n### `wormhole.pendingCallbacks`\n\nReturns the amount of pending command callbacks.\n\n### `wormhole.events`\n\nGetter to get the `events` `EventEmitter`.\n\n```js\nwormhole.events.on('some-event', () => {\n  console.log('some-event emitted')\n})\n```\n\n### `wormhole.define (name, fn, context)`\n\nDefine a command.\n\nIf the command is not a promise, the result will be cast into one. Throwing\nan `Error` (or subclassed) results in the rejection of the promise.\n\n* `name`: The name for this command\n* `fn`: The function for this command\n* `context`: The command context (optional)\n\n```js\nwormhole.define('add', function (a, b) {\n  if (isNaN(a) || isNaN(b)) {\n    throw new TypeError('arguments must be numbers')\n  }\n\n  return a + b\n})\n```\n\n### `wormhole.event (event, ...args)`\n\nEmit an event named `event`.\n\n* `event`: The name of the event\n* `...args`: The event arguments\n\n### `wormhole.command<TResult> (name, ...args): Promise<TResult>`\n\nCall a remote command named `name`.\n\n* `name`: The name of the command to call\n* `...args`: The command arguments\n\n```js\nwormhole.command<number>('add', 5, 6).then(result => {\n  console.log(`5 + 6 = ${result}`)\n})\n```\n\n### `wormhole.write (message)`\n\nWrites a message over the channel.\n\n* `message`: The message primitive or object\n\n### `wormhole.disconnect ()`\n\nDisconnects the channel and releases all resources. After calling this, the\ninstance is no longer usable.\n\n## License\n\nCopyright 2017-2021 [Art of Coding](http://artofcoding.nl).\n\nThis software is licensed under the [MIT License](LICENSE).\n","maintainers":[{"name":"michielvdvelde","email":"michiel@michielvdvelde.nl"}],"time":{"modified":"2022-04-04T15:35:55.760Z","created":"2017-08-26T17:14:34.537Z","0.1.0":"2017-08-26T17:14:34.537Z","0.1.1":"2017-08-26T21:48:47.104Z","0.2.0":"2017-08-27T15:34:14.732Z","0.3.0":"2017-08-29T17:05:51.063Z","0.4.0":"2017-09-08T16:30:30.221Z","0.5.0":"2017-09-12T17:25:29.178Z","1.0.0":"2017-09-19T14:03:40.334Z","1.0.1":"2017-10-07T16:18:12.777Z","1.0.2":"2017-10-14T17:34:52.522Z","1.0.3":"2017-10-14T19:10:22.478Z","1.0.4":"2017-10-15T13:38:53.392Z","1.1.0":"2017-10-15T14:31:51.990Z","1.1.1":"2017-10-21T14:31:31.675Z","2.0.0":"2021-02-24T18:11:14.476Z","2.0.1":"2021-02-24T20:48:42.078Z","2.1.0":"2021-03-09T01:36:54.837Z","2.1.1":"2021-05-30T13:37:51.944Z","2.1.2":"2021-07-09T23:37:51.592Z"},"homepage":"http://github.com/Art-of-Coding/wormhole","keywords":["ipc","process","child","fork"],"repository":{"type":"git","url":"git+https://github.com/Art-of-Coding/wormhole.git"},"author":{"name":"Michiel van der Velde","email":"michiel@michielvdvelde.nl"},"bugs":{"url":"https://github.com/Art-of-Coding/wormhole/issues"},"license":"MIT","readmeFilename":"README.md"}