{"_id":"besio","_rev":"32-45dd489f8ff8a5e13cbde0c871831822","name":"besio","description":"Node Binary Event Stream IO","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.1":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.0.1","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","engines":{"node":"~0.6.9"},"dependencies":{"binson":"~0.0.1","winston":"~0.5.10"},"devDependencies":{},"optionalDependencies":{},"_npmUser":{"name":"tellnes","email":"christian@tellnes.no"},"_id":"besio@0.0.1","_engineSupported":true,"_npmVersion":"1.1.4","_nodeVersion":"v0.6.12","_defaultsLoaded":true,"dist":{"shasum":"8760282b5f2810b41dab18a92dfb5a53051b977c","tarball":"https://registry.npmjs.org/besio/-/besio-0.0.1.tgz","integrity":"sha512-bo82+CVtmz7vo74WyvK6wHUDDlGMwu0n7bOB14cHS0wls77Grt9ys7yAqalMTgOgUmrlMKl2oVn3iEYjoBlOlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEd6bFHHqpK0vXhF3XdEGrjD85fwhRnWvRnIVu2AJ4UAAiEA1ZLMcKgIG/BMEXZ2gPZ162K9tXHv2gAtQEPasU1hASU="}]},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}],"directories":{}},"0.1.0":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.1.0","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","engines":{"node":"*"},"dependencies":{"binson":"~0.0.2","debug":"~0.7.0","weak":"~0.2.1"},"devDependencies":{},"optionalDependencies":{},"_id":"besio@0.1.0","dist":{"shasum":"9cdbaad7f84d869cd168ffef6c95b28343bbd1a9","tarball":"https://registry.npmjs.org/besio/-/besio-0.1.0.tgz","integrity":"sha512-F5n2CsRKfTrdRx6Cbnpjky1SHSOVI+s0v8nX/JcO1Bk4W6CZyMczWIU67yRgkCobNV7XJAUj6WG555IbzFIyBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbbv2AzTP0AW8l6gbWbuqKW9AxyXOmYO4vJAnX/Wpu4AIgZ0gl+s/yNohZ8ILzhI+/ub+Wydd7pyNP+mg57B+LWMs="}]},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}],"directories":{}},"0.1.1":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.1.1","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","engines":{"node":"*"},"dependencies":{"binson":"~0.0.2","debug":"~0.7.0","weak":"~0.2.1"},"devDependencies":{},"optionalDependencies":{},"_id":"besio@0.1.1","dist":{"shasum":"86254836a10a9f944a9391580e3c4eac2ef2eca7","tarball":"https://registry.npmjs.org/besio/-/besio-0.1.1.tgz","integrity":"sha512-LlK58ys94yjUOtbDt+ZJOQ/jfXLw0CR5Mg/4yaO4OsnIUENegpOVq5qMoiII4/3WOOh4ydf4PX0rGY97Skps+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDy562Vbqjhfaf1IkdRRAymjHddmEPZgK8AbRzQdkZeAiEAu7T7RUuw223Pnq+Un7ouB3B3t0dITbKYfsaS+mL9kAU="}]},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}],"directories":{}},"0.1.2":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.1.2","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","dependencies":{"binson":"~0.0.2","debug":"~0.7.0","weak":"~0.2.1"},"devDependencies":{},"optionalDependencies":{},"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","_id":"besio@0.1.2","dist":{"shasum":"5c4a4b1a72df552546fe0103bd91390af5790fc2","tarball":"https://registry.npmjs.org/besio/-/besio-0.1.2.tgz","integrity":"sha512-7gDJhf0tcfX0EUY/UkFIZ0AjjF32Y4CTR7L1OWVVGpisLsB3gcEoLQZaeQJ1Peb6LSnkVwEHew6U8oGWRVSIhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDT49KIDJ5P7tyi+FzSbEeqnhG50P23NIveVqskHnZx1gIgT3glWtIhs+AManpZq4rDcBnkew04ozctpmCTiwaLNRg="}]},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}]},"0.1.3":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.1.3","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","dependencies":{"binson":"~0.0.2","debug":"~0.7.0","weak":"~0.2.1","node-uuid":"~1.3.3"},"devDependencies":{},"optionalDependencies":{},"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","_id":"besio@0.1.3","dist":{"shasum":"9c3a733ac752f1d7528a06f973abc8276a1fdbc8","tarball":"https://registry.npmjs.org/besio/-/besio-0.1.3.tgz","integrity":"sha512-4AbZJXYKt8JeEFfSnopLsS80CL9QU9qoKLGwY25G9oMOnnD97yuggr0JaH8N4owfBLY6F1jQmjU/FdHiL8ZMyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBRjp38qBH70dHlYgzv0PxOQi7d93UnH2Ro897HDq/DyAiBnFTftKJ6rNcELKBYK5MfJSLS8Lwqcu4X5OBot3s5eLA=="}]},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}]},"0.1.4":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.1.4","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","dependencies":{"binson":"~0.0.2","debug":"~0.7.0","weak":"~0.2.1","node-uuid":"~1.3.3"},"devDependencies":{},"optionalDependencies":{},"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","_id":"besio@0.1.4","dist":{"shasum":"e2f0cc2fda4093b6f2af04084b63986415977db1","tarball":"https://registry.npmjs.org/besio/-/besio-0.1.4.tgz","integrity":"sha512-ZBILqkT0JhJSZf8XyBvGCKY35JJ3Ft8kEJjWYG0WswM92pOiCByoX9m5NaVorkj8Bneh2ddSRMh9+LI19mvHyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcYvVhmehzfpePQYb6NcxKIACSlf9vRNBEDKF1sreZlgIgTl8GygmPsqeNyoZksoyv97QD30j43+cqQ4rnAdqojHk="}]},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}]},"0.1.5":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.1.5","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","dependencies":{"binson":"~0.0.2","debug":"~0.7.0","weak":"~0.2.1","node-uuid":"~1.3.3"},"devDependencies":{},"optionalDependencies":{},"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","_id":"besio@0.1.5","dist":{"shasum":"07a89f2902f7f4324c31d307546db7689566e244","tarball":"https://registry.npmjs.org/besio/-/besio-0.1.5.tgz","integrity":"sha512-jFZGlTIEjEaqUTmXvLVVP5booXv4UYkB2ZWs6BN/om/wMGMInNLH3oncE+Xehck/zvxFrv1fGPCHsmHRAWbtCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7gCg2OQyi9ymBMaPTmmGDLEzu/P3KGUyRqO3toOVhLgIgS/4Om5jPIaBVqsuo5+d4bnU49BZDAerDcCcbW5JmXVw="}]},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}]},"0.1.6":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.1.6","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","dependencies":{"binson":"~0.0.2","debug":"~0.7.0","weak":"~0.2.1","node-uuid":"~1.3.3"},"devDependencies":{},"optionalDependencies":{},"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","_id":"besio@0.1.6","dist":{"shasum":"4ff17a31f3bb93a6733cab56d758b81492abe3aa","tarball":"https://registry.npmjs.org/besio/-/besio-0.1.6.tgz","integrity":"sha512-uoaI3+Mmc4LQBz9aPCYoZaVL4cNDh6Eu9+kSh5fGMO5Gh6EQtJVHR15f5QuBpuyr7FR9lVwcOnm4ILmSrlLArQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMh+bEF01UTIMVOxpV69NqKV+uu2PgHB7aZ7F10E2mgAiEAke0g+BrH1bgTogdKDARB1B/8euyB/1aCzh3Oe/qRpAE="}]},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}]},"0.1.7":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.1.7","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","dependencies":{"binson":"~0.0.2","debug":"~0.7.0","weak":"~0.2.1","node-uuid":"~1.3.3"},"devDependencies":{},"optionalDependencies":{},"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","_id":"besio@0.1.7","dist":{"shasum":"bf2de03e895692e7a18a9112d08a7a65ad8b67b2","tarball":"https://registry.npmjs.org/besio/-/besio-0.1.7.tgz","integrity":"sha512-l138jzsdTRpQXdBnXdTIoiNcEB2sM2X+TBONWfrzT4w/9+mc/pK2Ztf538LDYHatr4mLlWwf7hilmVjgyPQWiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9sfOyHnfJAExyyUqUvJWTiuKlia3bad7yCA0VEiiNzAiEAy3tc75FexDncxudn+oFBBp02vJcp8c0RcjHKv1K8mgQ="}]},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}]},"0.1.8":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.1.8","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","dependencies":{"binson":"~0.0.2","debug":"~0.7.0","weak":"~0.2.1","node-uuid":"~1.3.3"},"devDependencies":{},"optionalDependencies":{},"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","_id":"besio@0.1.8","dist":{"shasum":"f2e1ebaa6a4bb695abf32f38b7c61e8ee43876ff","tarball":"https://registry.npmjs.org/besio/-/besio-0.1.8.tgz","integrity":"sha512-ToZSw2pOy1lh3jx7NBwcb2QeA1ULn9QFS27NCNdu/5L+fa/636LPItL678MVaicciK/ibjW24LX/v0p9D+5CCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNWZ++l7DHr20grz7nLKLI20Fi86kXvozww8zQl/Tq6AiAD25QayZmwz6nNcnTvVA1CJvoofCM3kAO1a9rU2/z/LA=="}]},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}]},"0.2.0":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.2.0","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","dependencies":{"binson":"~0.0.2","debug":"~0.7.0","weak":"~0.2.1","node-uuid":"~1.3.3"},"devDependencies":{},"optionalDependencies":{},"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","_id":"besio@0.2.0","dist":{"shasum":"2e8a5baffee388dda98d09cb5735d79a7b9ea28c","tarball":"https://registry.npmjs.org/besio/-/besio-0.2.0.tgz","integrity":"sha512-VxLZF+9UMNLTGbdZ7F/OCd30lhc50fw7WGmIJE9yQ2/2FQYXgnrDzVnQX7qCXJNXI7dinqRbLnf68vZyC3wmtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsLBGKb04kbWPD7D9+O//14I7QLtau1D2FLl1vomRk5gIgSOO4HwPtnXmonyKuRe5LUworSSCwyLn9ooeuhx8oj9g="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"tellnes","email":"christian@tellnes.no"},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}]},"0.2.1":{"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"name":"besio","description":"Node Binary Event Stream IO","version":"0.2.1","repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"main":"lib/","dependencies":{"binson":"~0.0.2","debug":"~0.7.0","weak":"~0.2.1","node-uuid":"~1.3.3"},"devDependencies":{},"optionalDependencies":{},"directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"license":"MIT","_id":"besio@0.2.1","dist":{"shasum":"981a047734abc86fb6902fc45e9f2aed111f72de","tarball":"https://registry.npmjs.org/besio/-/besio-0.2.1.tgz","integrity":"sha512-/B800ziKel9tEEaYuYv1/6nI7v0+YUjF5MnBWKn8tFPY5hlIcSH+U6AgVAJ2xYEvlUowFpOtJ84glyPzhLT3AQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLsj2dnTiq3LOt+vfWfQQtO2W+C30kmyJGs4NWrIZMIwIhAK2ng9D/Qhs0l4Kry+IP71uTagBEqHhhuvU4x8qGmiWt"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"tellnes","email":"christian@tellnes.no"},"maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}]}},"readme":"# Besio\n\nBesio is a Node.js project that allows you to emit events and stream data over a TCP connection.\n\n## How to Install\n\n    npm install besio\n\n## How to use\n\nRequire:\n\n```js\nvar besio = require('besio');\n```\n\nserver.js\n\n```js\nvar server = besio.createServer(function(client) {\n  client.emit('hello', function(message) {\n    console.log('Client says: ' + message); // Client says: Hello World\n  });\n});\n\nserver.listen(4746, function() {\n  console.log('Server listening on port ' + this.address().port + ' and address ' + this.address().address);\n});\n```\n\nclient.js\n\n```js\nvar client = besio.connect(4746);\n\nclient.on('hello', function(cb) {\n  console.log('Hello from server');\n  cb('Hello World'); // Send message to server\n});\n```\n\n## Emit streams\n\nserver.js\n\n```js\nvar server = besio.createServer(function(client) {\n  client.on('stdin', function(stream) {\n    stream.pipe(process.stdout);\n  });\n  client.on('stdout', function(stream) {\n    process.stdin.resume();\n    process.stdin.pipe(stream);\n  });\n});\n\nserver.listen(4746, function() {\n  console.log('Server listening on port ' + this.address().port + ' and address ' + this.address().address);\n});\n```\n\nclient.js\n\n```js\nvar client = besio.connect(4746);\n\nprocess.stdin.resume();\n\nclient.emit('stdin', process.stdin);\nclient.emit('stdout', process.stdout);\n```\n","maintainers":[{"name":"tellnes","email":"christian@tellnes.no"}],"time":{"modified":"2022-06-13T04:32:27.020Z","created":"2012-03-12T14:48:53.538Z","0.0.1":"2012-03-12T14:48:57.603Z","0.1.0":"2012-07-12T12:06:35.407Z","0.1.1":"2012-07-13T15:41:30.483Z","0.1.2":"2012-08-07T13:31:49.248Z","0.1.3":"2012-08-07T14:20:29.897Z","0.1.4":"2012-08-07T23:50:55.753Z","0.1.5":"2012-08-07T23:58:53.631Z","0.1.6":"2012-08-08T20:15:08.964Z","0.1.7":"2012-08-08T21:27:29.139Z","0.1.8":"2012-08-12T18:30:23.238Z","0.2.0":"2012-09-26T23:00:36.372Z","0.2.1":"2012-09-27T02:40:57.440Z"},"author":{"name":"Christian Tellnes","email":"christian@tellnes.no"},"repository":{"type":"git","url":"git://github.com/tellnes/besio.git"},"readmeFilename":""}