{"_id":"fast-msgpack-rpc","_rev":"27-e378c744131a0cd3942c2a3737998408","name":"fast-msgpack-rpc","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","dist-tags":{"latest":"0.0.12"},"versions":{"0.0.1":{"name":"fast-msgpack-rpc","version":"0.0.1","description":"node-msgpack-rpc is an implementation of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/bpot/node-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"git://github.com/bpot/node-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{"msgpack-0.4":">= 0.1.4"},"_npmJsonOpts":{"file":"/home/max/.npm/fast-msgpack-rpc/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"fast-msgpack-rpc@0.0.1","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.13","_nodeVersion":"v0.4.9-pre","_defaultsLoaded":true,"dist":{"shasum":"b9fb4ed691a3c1edba50c1f4e5959617fbe7d9c9","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.1.tgz","integrity":"sha512-yLXv2S4hyH2aYedDFBU4KlhCzBnynjqmFvr1urNBZbf7+7FNjz/ZnE9F8EZi3RO5fv9fI/zuHXMyqTZloPLFfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwj9LlFF05XF42NZD5tvimiAkODFuHtVUTW06Oc2UtzgIhAJMl5zfhucxqgj/Lf1DucekQJdvXVnTcTUNsXECElnWt"}]},"maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]},"0.0.2":{"name":"fast-msgpack-rpc","version":"0.0.2","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/bpot/node-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"git://github.com/bpot/node-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{"msgpack-0.4":">= 0.1.4"},"_npmJsonOpts":{"file":"/home/max/.npm/fast-msgpack-rpc/0.0.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"fast-msgpack-rpc@0.0.2","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.13","_nodeVersion":"v0.4.9-pre","_defaultsLoaded":true,"dist":{"shasum":"3da6f37254bb10855ecc43f05fdd1c333c18987c","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.2.tgz","integrity":"sha512-pZBiWi94MIAiHkAb2B4vcA2ycFvFvfOnsZYIc7/E8s566BRIyGdxuVEz1lW+i61pPdso8p572Q3QJz1k9vyPoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEVIe8p7IHnt9qBMewKXq4/eKW+7wtDvY0FipW+JxitQIhANbN0AA6G/EH6MhqJtBcK392/jWKNepD4FWvXwqgYthF"}]},"maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]},"0.0.3":{"name":"fast-msgpack-rpc","version":"0.0.3","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/maxtaco/node-fast-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"git://github.com/bpot/node-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{"msgpack-0.4":">= 0.1.4"},"_npmJsonOpts":{"file":"/home/max/.npm/fast-msgpack-rpc/0.0.3/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"fast-msgpack-rpc@0.0.3","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.13","_nodeVersion":"v0.4.9-pre","_defaultsLoaded":true,"dist":{"shasum":"9460e28168b06290eb3bdd6156c3a6950bbb887e","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.3.tgz","integrity":"sha512-cB5WJazz636Q2BVdIGumVSirrd3xihjG+6Ql0WZiWk2bOtqrTxvfwTBaJnm/fH4ZY8BNgRq3WpsZA+EfPu7wCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1ykyQEYGOT+IE2cyZk39gMSF7t7TE8N/j3ouKHyTHsQIhAJRyn3h9HqLzmz3/iS25V3eCSv/kF90V1i0/1zy/qbuh"}]},"maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]},"0.0.4":{"name":"fast-msgpack-rpc","version":"0.0.4","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/maxtaco/node-fast-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"git://github.com/maxtaco/node-fast-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{"msgpack2":">= 0.1.4"},"_npmUser":{"name":"maxtaco","email":"max@okcupid.com"},"_id":"fast-msgpack-rpc@0.0.4","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-2","_nodeVersion":"v0.6.3","_defaultsLoaded":true,"dist":{"shasum":"33c58df38b8a0e4e4805f2e2a7db685fbcf87ddb","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.4.tgz","integrity":"sha512-DAL5A+mkLELThqZ2+JCJyo8ScoqeTj4Ym16f+S3Pbvr6k7bw+XcetuqsTwuTNwyArvIwIEehnILa1w+cbfUVkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc0asyAr+zn2ICknzpT5VG0C73CP8a4/2HjAZqC1F4fwIhAIC0/hN4erAtBEDtsvf0uMljZCCh5qpiC2gK3V4suGld"}]},"maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]},"0.0.5":{"name":"fast-msgpack-rpc","version":"0.0.5","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/maxtaco/node-fast-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"git://github.com/maxtaco/node-fast-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{"msgpack2":">= 0.1.4"},"_npmUser":{"name":"maxtaco","email":"max@okcupid.com"},"_id":"fast-msgpack-rpc@0.0.5","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-2","_nodeVersion":"v0.6.3","_defaultsLoaded":true,"dist":{"shasum":"aa873e70e62dba4d3e1b72b5e8cf394d84f09bfd","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.5.tgz","integrity":"sha512-aP4gPpXVj8TqKfttjYCuvHgqbq46i16Lr93UbAATG024NfgVJkhS1M7QZ+Mt+6jh/3IeR3zTOSlh00Xm4VCREg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIIL67l9GNXqMPsbG9zihn6YP8lqIfLdpGmh1Xlx9e2gIgbT6uSvyQH65Lum1sj0+8qHvtjagKdzUmATv3FFvEanU="}]},"maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]},"0.0.6":{"name":"fast-msgpack-rpc","version":"0.0.6","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/maxtaco/node-fast-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"git://github.com/maxtaco/node-fast-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{},"_npmUser":{"name":"maxtaco","email":"max@okcupid.com"},"_id":"fast-msgpack-rpc@0.0.6","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-2","_nodeVersion":"v0.6.3","_defaultsLoaded":true,"dist":{"shasum":"65d56f7e87dd48f0145deaf91da50b7e52400a87","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.6.tgz","integrity":"sha512-XdnPJXhh6JpfkiYRZA12HZ8Orx+4J5bzrHrfZXqsArrLz1Hw8fomG/kd4kv09JKZTH4cMiJqruWPkVg/iwKrHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA0Njmni1VOSkomnYr1dtfIhvQlwii72LtL2cD6Sgzy+AiARi9SxokZk/ejQzZ7NhFlEqFg23JRyGsxsTq6+udIBOg=="}]},"maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]},"0.0.7":{"name":"fast-msgpack-rpc","version":"0.0.7","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/maxtaco/node-fast-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"git://github.com/maxtaco/node-fast-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{},"_npmUser":{"name":"maxtaco","email":"max@okcupid.com"},"_id":"fast-msgpack-rpc@0.0.7","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"3cd687ea59c2ccc380f1dfd57a97dcab7c5df101","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.7.tgz","integrity":"sha512-M8kTRS1voEyT3L6W7TBZSjFFs8LKbfd1lU2rWz5s/nlNGkyveAIzzMXbz8TJzqQNlgAX9eNVerUDwSkVae/tRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAbSmhmTqSJS3Fl8FY5DZciOXrZrptY70hTNIbA2lX/gIgIffYJj9dVf7ZG24FLf3HvlTfrv1bv5+EG9J9iwHd7nQ="}]},"readme":"maxtaco/node-msgpack-rpc\n========================\n\nnode-msgpack-rpc is an implementation of the [Msgpack-RPC](http://redmine.msgpack.org/projects/msgpack/wiki/RPCDesign) protocol specification for node.js.  Msgpack-RPC is built ontop of the very fast [MessagePack](http://msgpack.org) serialization format. This implementation supports tcp and unix socket transports (it may one day support UDP).\n\nThis is a \"fast\" version of Msgpack-RPC.  The big difference here is that the length of the packet is prepended to each packet,\nmeaning we don't need to keep iteratively decoding the packet over and over again.  Seems weird they left this out.   This protocol\nis not compatible with the existing Msgpack, but this module has the same API.\n\n\nSimple Usage\n------------\n\nThe easiest way to create a server is with a handler object.  All incoming calls will be invoked on the handler object:\n    \n    var handler = {\n      'add' : function(a, b, response) {\n         response.result( a + b );\n       }\n    }\n\n    var rpc = require('msgpack-rpc');\n    rpc.createServer();\n    rpc.setHandler(handler);\n    rpc.listen(8000);\n\na corresponding client might look like:\n\n    var c = rpc.createClient(8000, '127.0.0.1', function() {\n      c.invoke('add', 5, 4, function(err, response) {\n        assert.equal(9, response);\n        c.close();\n      }\n    });\n\n\nWithout a handler\n-----------------\n\n    rpc.createServer(function(rpc_stream) {\n      rpc_stream.on('request', function(method, params, response) {\n        if(method == 'add') {\n          response.result( params[0] + params[1] );\n        } else {\n          response.error(\"unknown method!\");\n        }\n      }\n\n      rpc_stream.on('notify', function(method, params) {\n        console.log(\"recieved notification: \" + method);\n      });\n    });\n    rpc.listen(8000);\n\nSession Pool\n------------\n\nThis module also provides a session pool which allows you to re-use client connections:\n\n    var sp = new SesssionPool();\n    sp.getClient(8000, '127.0.0.1').invoke('hello','world', function(err, response) { ... });;\n    sp.getClient(8001, '127.0.0.1').invoke('hello','world', function(err, response) { ... });;\n    \n    // Uses same tcp connection as above\n    sp.getClient(8000, '127.0.0.1').invoke('goodbye','world', function(err, response) { ... });;\n\n    sp.closeClients();\n\nInstallation\n------------\n\nFirst you will need to install the [node-msgpack](http://github.com/pgriess/node-msgpack) add-on\n\nTo install node-msgpack-rpc with npm:\n\n    git clone http://github.com/bpot/node-msgpack-rpc/\n    cd node-msgpack-rpc\n    npm link .\n\n\nRPC Stream API\n--------------\n\nClients and the streams passed to servers for incoming connections are both instances of MsgpackRPCStream.\n\nMethods\n\n    c.createClient(port, [hostname], [ready_cb]);\n    c.invoke(method, [param1, param2, ...], cb);\n    c.notify(method, [param1, param2, ...]);\n    c.setTimeout(milliseconds);  // Setting this will cause requests to fail with err \"timeout\" if they don't recieve a response for the specified period\n    c.close(); // Close the socket for this client\n    c.stream // underlying net.Stream object\n\nEvents\n\n    'ready' // emitted when we've connected to the server\n    'request' // recieved request\n    'notify' // recieved notification\n\n\nTODO\n----\n* UDP Support?\n\n","maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]},"0.0.8":{"name":"fast-msgpack-rpc","version":"0.0.8","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/maxtaco/node-fast-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"https://github.com/maxtaco/node-fast-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{},"readme":"maxtaco/node-msgpack-rpc\n========================\n\nnode-msgpack-rpc is an implementation of the [Msgpack-RPC](http://redmine.msgpack.org/projects/msgpack/wiki/RPCDesign) protocol specification for node.js.  Msgpack-RPC is built ontop of the very fast [MessagePack](http://msgpack.org) serialization format. This implementation supports tcp and unix socket transports (it may one day support UDP).\n\nThis is a \"fast\" version of Msgpack-RPC.  The big difference here is that the length of the packet is prepended to each packet,\nmeaning we don't need to keep iteratively decoding the packet over and over again.  Seems weird they left this out.   This protocol\nis not compatible with the existing Msgpack, but this module has the same API.\n\n\nSimple Usage\n------------\n\nThe easiest way to create a server is with a handler object.  All incoming calls will be invoked on the handler object:\n    \n    var handler = {\n      'add' : function(a, b, response) {\n         response.result( a + b );\n       }\n    }\n\n    var rpc = require('msgpack-rpc');\n    rpc.createServer();\n    rpc.setHandler(handler);\n    rpc.listen(8000);\n\na corresponding client might look like:\n\n    var c = rpc.createClient(8000, '127.0.0.1', function() {\n      c.invoke('add', 5, 4, function(err, response) {\n        assert.equal(9, response);\n        c.close();\n      }\n    });\n\n\nWithout a handler\n-----------------\n\n    rpc.createServer(function(rpc_stream) {\n      rpc_stream.on('request', function(method, params, response) {\n        if(method == 'add') {\n          response.result( params[0] + params[1] );\n        } else {\n          response.error(\"unknown method!\");\n        }\n      }\n\n      rpc_stream.on('notify', function(method, params) {\n        console.log(\"recieved notification: \" + method);\n      });\n    });\n    rpc.listen(8000);\n\nSession Pool\n------------\n\nThis module also provides a session pool which allows you to re-use client connections:\n\n    var sp = new SesssionPool();\n    sp.getClient(8000, '127.0.0.1').invoke('hello','world', function(err, response) { ... });;\n    sp.getClient(8001, '127.0.0.1').invoke('hello','world', function(err, response) { ... });;\n    \n    // Uses same tcp connection as above\n    sp.getClient(8000, '127.0.0.1').invoke('goodbye','world', function(err, response) { ... });;\n\n    sp.closeClients();\n\nInstallation\n------------\n\nFirst you will need to install the [node-msgpack](http://github.com/pgriess/node-msgpack) add-on\n\nTo install node-msgpack-rpc with npm:\n\n    git clone http://github.com/bpot/node-msgpack-rpc/\n    cd node-msgpack-rpc\n    npm link .\n\n\nRPC Stream API\n--------------\n\nClients and the streams passed to servers for incoming connections are both instances of MsgpackRPCStream.\n\nMethods\n\n    c.createClient(port, [hostname], [ready_cb]);\n    c.invoke(method, [param1, param2, ...], cb);\n    c.notify(method, [param1, param2, ...]);\n    c.setTimeout(milliseconds);  // Setting this will cause requests to fail with err \"timeout\" if they don't recieve a response for the specified period\n    c.close(); // Close the socket for this client\n    c.stream // underlying net.Stream object\n\nEvents\n\n    'ready' // emitted when we've connected to the server\n    'request' // recieved request\n    'notify' // recieved notification\n\n\nTODO\n----\n* UDP Support?\n\n","_id":"fast-msgpack-rpc@0.0.8","dist":{"shasum":"c832e343c8d62e275820b542311fdee7a3a0e049","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.8.tgz","integrity":"sha512-fea7XXQ7Wff1EXuU3HZ1u1lARcGWATiJpgSx1c0JWkjKd5Y2G+Z3u6FUv1+vkSMjK5WSa4DITCgP2i7q3/EHKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaImgpMgZ95IN1wFu6hRwfww7JvYlm0UzrZBWWCKnqgQIhAIL450u10C1sUNXgWS4eqtQeHt8kM98CN2NVLmWdKJwG"}]},"maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]},"0.0.9":{"name":"fast-msgpack-rpc","version":"0.0.9","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/maxtaco/node-fast-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"https://github.com/maxtaco/node-fast-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{},"readme":"maxtaco/node-msgpack-rpc\n========================\n\nnode-msgpack-rpc is an implementation of the [Msgpack-RPC](http://redmine.msgpack.org/projects/msgpack/wiki/RPCDesign) protocol specification for node.js.  Msgpack-RPC is built ontop of the very fast [MessagePack](http://msgpack.org) serialization format. This implementation supports tcp and unix socket transports (it may one day support UDP).\n\nThis is a \"fast\" version of Msgpack-RPC.  The big difference here is that the length of the packet is prepended to each packet,\nmeaning we don't need to keep iteratively decoding the packet over and over again.  Seems weird they left this out.   This protocol\nis not compatible with the existing Msgpack, but this module has the same API.\n\n\nSimple Usage\n------------\n\nThe easiest way to create a server is with a handler object.  All incoming calls will be invoked on the handler object:\n    \n    var handler = {\n      'add' : function(a, b, response) {\n         response.result( a + b );\n       }\n    }\n\n    var rpc = require('msgpack-rpc');\n    rpc.createServer();\n    rpc.setHandler(handler);\n    rpc.listen(8000);\n\na corresponding client might look like:\n\n    var c = rpc.createClient(8000, '127.0.0.1', function() {\n      c.invoke('add', 5, 4, function(err, response) {\n        assert.equal(9, response);\n        c.close();\n      }\n    });\n\n\nWithout a handler\n-----------------\n\n    rpc.createServer(function(rpc_stream) {\n      rpc_stream.on('request', function(method, params, response) {\n        if(method == 'add') {\n          response.result( params[0] + params[1] );\n        } else {\n          response.error(\"unknown method!\");\n        }\n      }\n\n      rpc_stream.on('notify', function(method, params) {\n        console.log(\"recieved notification: \" + method);\n      });\n    });\n    rpc.listen(8000);\n\nSession Pool\n------------\n\nThis module also provides a session pool which allows you to re-use client connections:\n\n    var sp = new SesssionPool();\n    sp.getClient(8000, '127.0.0.1').invoke('hello','world', function(err, response) { ... });;\n    sp.getClient(8001, '127.0.0.1').invoke('hello','world', function(err, response) { ... });;\n    \n    // Uses same tcp connection as above\n    sp.getClient(8000, '127.0.0.1').invoke('goodbye','world', function(err, response) { ... });;\n\n    sp.closeClients();\n\nInstallation\n------------\n\nFirst you will need to install the [node-msgpack](http://github.com/pgriess/node-msgpack) add-on\n\nTo install node-msgpack-rpc with npm:\n\n    git clone http://github.com/bpot/node-msgpack-rpc/\n    cd node-msgpack-rpc\n    npm link .\n\n\nRPC Stream API\n--------------\n\nClients and the streams passed to servers for incoming connections are both instances of MsgpackRPCStream.\n\nMethods\n\n    c.createClient(port, [hostname], [ready_cb]);\n    c.invoke(method, [param1, param2, ...], cb);\n    c.notify(method, [param1, param2, ...]);\n    c.setTimeout(milliseconds);  // Setting this will cause requests to fail with err \"timeout\" if they don't recieve a response for the specified period\n    c.close(); // Close the socket for this client\n    c.stream // underlying net.Stream object\n\nEvents\n\n    'ready' // emitted when we've connected to the server\n    'request' // recieved request\n    'notify' // recieved notification\n\n\nTODO\n----\n* UDP Support?\n\n","_id":"fast-msgpack-rpc@0.0.9","dist":{"shasum":"e58fdf11ebd7bebb7a385a3f298ff28825050d51","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.9.tgz","integrity":"sha512-2F4An8FGWb78MzrdQDemZ93C1sNDTkSVHL4Cd8CvHIBeFmVup1InXMiRne+5LEZK7foQTFoZMLjKRpRCmohPkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAF0ZM68R8TII2rk1imK+9jh9kSmPuDwJX4w14MQt94DAiBvz27UdJEu1Ubd5W64CXVeKU/xQhZ9zQC7OcSzvhCD6Q=="}]},"maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]},"0.0.10":{"name":"fast-msgpack-rpc","version":"0.0.10","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/maxtaco/node-fast-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"git://github.com/maxtaco/node-fast-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{},"_npmUser":{"name":"maxtaco","email":"themax@gmail.com"},"_id":"fast-msgpack-rpc@0.0.10","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"e45f067b480f5bb4d29553b8cfff79b369408826","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.10.tgz","integrity":"sha512-csxttRroSCuuP+j22hnDBJj6hsn748FF0EjNKoBXOG7LUEmLwA8IOkSSKYRJf0e+g2FmrjNHPeqMELQye8ubGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICl1JtRNxc1bZbAMxXIr6DAfBh4v3cCun682JWfTo1roAiEAiMIf50xQqErf6malc+lfmrb7wDpEgTtlNTrf/YJ56bc="}]},"readme":"maxtaco/node-fast-msgpack-rpc\n========================\n\nnode-fast-msgpack-rpc is an implementation of the\n[Msgpack-RPC](http://redmine.msgpack.org/projects/msgpack/wiki/RPCDesign)\nprotocol specification for node.js.  Msgpack-RPC is built ontop of the\nvery fast [MessagePack](http://msgpack.org) serialization format. This\nimplementation supports tcp and unix socket transports.\n\nThis is a \"fast\" version of Msgpack-RPC.  The big difference here is\nthat the length of the packet is prepended to each packet, meaning we\ndon't need to keep iteratively decoding the packet over and over\nagain.  Seems weird they left this out.  This protocol is not\ncompatible with the existing Msgpack, but this module has the same\nAPI.\n\n\nSimple Usage\n------------\n\nIf you don't care too much about keeping custom per-connection state, it's\neasy to make a simple RPC server:\n\n```javascript\nvar rpc = require('fast-msgpack-rpc');\nvar srv = rpc.createServer({\n   \"myprog.v1\" : {\n      add : function(arg, response) {\n         response.result(arg.a + arg.b);\n      }\n   }\n});\nsrv.listen(8000);\n```\n\na corresponding client might look like:\n\n```javascript\nvar c = rpc.createClient('127.0.0.1', 8000, \n    function() {\n        c.invoke('add', { a : 5, b : 4}, \n            function(err, response) {\n                assert.equal(9, response);\n                c.close();\n            });\n    }, \"myprog.v1\");\n```\n\nOr, equivalently, in beautiful \n[IcedCoffeeScript](https://github.com/maxtaco/coffee-script):\n\n```coffee\nawait (c = rpc.createClient '127.0.0.1', 8000, defer(ok), \"myprog.v1\")\nawait c.invoke 'add', { a : 5, b : 4 }, defer err, response\nc.close()\n```\n\nAdvanced Usage\n--------------\n(documentation to come)\n\nInstallation\n------------\n\nFirst you will need to install the [msgpack2](http://github.com/JulesAU/node-msgpack) add-on\n\nTo install node-msgpack-rpc with npm:\n\n    npm install -g msgpack2\n\n\nDebug and Tracing Hooks\n-----------------------\n\n(documentation to come)\n","maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]},"0.0.11":{"name":"fast-msgpack-rpc","version":"0.0.11","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/maxtaco/node-fast-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"https://github.com/maxtaco/node-fast-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{},"readme":"maxtaco/node-fast-msgpack-rpc\n========================\n\nnode-fast-msgpack-rpc is an implementation of the\n[Msgpack-RPC](http://redmine.msgpack.org/projects/msgpack/wiki/RPCDesign)\nprotocol specification for node.js.  Msgpack-RPC is built ontop of the\nvery fast [MessagePack](http://msgpack.org) serialization format. This\nimplementation supports tcp and unix socket transports.\n\nThis is a \"fast\" version of Msgpack-RPC.  The big difference here is\nthat the length of the packet is prepended to each packet, meaning we\ndon't need to keep iteratively decoding the packet over and over\nagain.  Seems weird they left this out.  This protocol is not\ncompatible with the existing Msgpack, but this module has the same\nAPI.\n\n\nSimple Usage\n------------\n\nIf you don't care too much about keeping custom per-connection state, it's\neasy to make a simple RPC server:\n\n```javascript\nvar rpc = require('fast-msgpack-rpc');\nvar srv = rpc.createServer({\n   \"myprog.v1\" : {\n      add : function(arg, response) {\n         response.result(arg.a + arg.b);\n      }\n   }\n});\nsrv.listen(8000);\n```\n\na corresponding client might look like:\n\n```javascript\nvar c = rpc.createClient('127.0.0.1', 8000, \n    function() {\n        c.invoke('add', { a : 5, b : 4}, \n            function(err, response) {\n                assert.equal(9, response);\n                c.close();\n            });\n    }, \"myprog.v1\");\n```\n\nOr, equivalently, in beautiful \n[IcedCoffeeScript](https://github.com/maxtaco/coffee-script):\n\n```coffee\nawait (c = rpc.createClient '127.0.0.1', 8000, defer(ok), \"myprog.v1\")\nawait c.invoke 'add', { a : 5, b : 4 }, defer err, response\nc.close()\n```\n\nAdvanced Usage\n--------------\n(documentation to come)\n\nInstallation\n------------\n\nFirst you will need to install the [msgpack2](http://github.com/JulesAU/node-msgpack) add-on\n\nTo install node-msgpack-rpc with npm:\n\n    npm install -g msgpack2\n\n\nDebug and Tracing Hooks\n-----------------------\n\n(documentation to come)\n","_id":"fast-msgpack-rpc@0.0.11","dist":{"shasum":"ef412cf44a219805979ef1694b85f99c0cf8688c","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.11.tgz","integrity":"sha512-jJ8ulUkvdUR/MKn/SdXY4P867t93gesfNsdvd4eMswD+aZFhv79DqSiDsjz4Q94RHeLaApe0HZ11eQCb2OMq9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHzZ1E23RFXb8FhrH+2TXPq5EDLg8r6x9MkZyIAUhH19AiEA3jXziyaCCkhHJAW9xbyWvH6jEpmgx6pA8firv0dLWus="}]},"maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]},"0.0.12":{"name":"fast-msgpack-rpc","version":"0.0.12","description":"A non-compatible variant of the Msgpack-RPC protocol specification for node.js","homepage":"https://github.com/maxtaco/node-fast-msgpack-rpc","main":"./lib/msgpack-rpc","repository":{"type":"git","url":"https://github.com/maxtaco/node-fast-msgpack-rpc.git"},"directories":{"lib":"lib"},"scripts":{"test":"node test/all-tests.js"},"dependencies":{},"readme":"maxtaco/node-fast-msgpack-rpc\n========================\n\nnode-fast-msgpack-rpc is an implementation of the\n[Msgpack-RPC](http://redmine.msgpack.org/projects/msgpack/wiki/RPCDesign)\nprotocol specification for node.js.  Msgpack-RPC is built ontop of the\nvery fast [MessagePack](http://msgpack.org) serialization format. This\nimplementation supports tcp and unix socket transports.\n\nThis is a \"fast\" version of Msgpack-RPC.  The big difference here is\nthat the length of the packet is prepended to each packet, meaning we\ndon't need to keep iteratively decoding the packet over and over\nagain.  Seems weird they left this out.  This protocol is not\ncompatible with the existing Msgpack, but this module has the same\nAPI.\n\n\nSimple Usage\n------------\n\nIf you don't care too much about keeping custom per-connection state, it's\neasy to make a simple RPC server:\n\n```javascript\nvar rpc = require('fast-msgpack-rpc');\nvar srv = rpc.createServer({\n   \"myprog.v1\" : {\n      add : function(arg, response) {\n         response.result(arg.a + arg.b);\n      }\n   }\n});\nsrv.listen(8000);\n```\n\na corresponding client might look like:\n\n```javascript\nvar c = rpc.createClient('127.0.0.1', 8000, \n    function() {\n        c.invoke('add', { a : 5, b : 4}, \n            function(err, response) {\n                assert.equal(9, response);\n                c.close();\n            });\n    }, \"myprog.v1\");\n```\n\nOr, equivalently, in beautiful \n[IcedCoffeeScript](https://github.com/maxtaco/coffee-script):\n\n```coffee\nawait (c = rpc.createClient '127.0.0.1', 8000, defer(ok), \"myprog.v1\")\nawait c.invoke 'add', { a : 5, b : 4 }, defer err, response\nc.close()\n```\n\nAdvanced Usage\n--------------\n(documentation to come)\n\nInstallation\n------------\n\nFirst you will need to install the [msgpack2](http://github.com/JulesAU/node-msgpack) add-on\n\nTo install node-msgpack-rpc with npm:\n\n    npm install -g msgpack2\n\n\nDebug and Tracing Hooks\n-----------------------\n\n(documentation to come)\n","_id":"fast-msgpack-rpc@0.0.12","dist":{"shasum":"9f9a71cb62ce006c61adcdb20e2edf44c2f09999","tarball":"https://registry.npmjs.org/fast-msgpack-rpc/-/fast-msgpack-rpc-0.0.12.tgz","integrity":"sha512-Fz5vPrxunZXNrItd6a87xapJ7z1if65qVTBNoDapYVVG2YJI6t0H9s2EJlbgFm+q+laDikqd1snQ/nA88e03ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFfoOZ27sfQZjffy5xOjbw/pEtMO7vlpkUWVontjrxKqAiEAsPw5mWRF1Yoy9M7wH1/4xxZrPTadoLDIdg8LnXBUA24="}]},"maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}]}},"maintainers":[{"name":"maxtaco","email":"max@okcupid.com"}],"time":{"modified":"2022-06-17T23:36:46.288Z","created":"2011-08-01T21:01:25.944Z","0.0.1":"2011-08-01T21:01:26.104Z","0.0.2":"2011-08-01T21:03:08.684Z","0.0.3":"2011-08-02T19:54:56.419Z","0.0.4":"2011-11-29T14:12:13.066Z","0.0.5":"2011-12-01T17:53:27.799Z","0.0.6":"2011-12-09T21:29:38.649Z","0.0.7":"2012-05-24T21:59:26.027Z","0.0.8":"2012-11-13T23:36:16.632Z","0.0.9":"2012-11-13T23:46:11.697Z","0.0.10":"2012-11-14T03:40:36.568Z","0.0.11":"2012-11-16T13:50:58.664Z","0.0.12":"2012-11-16T15:30:14.567Z"},"repository":{"type":"git","url":"https://github.com/maxtaco/node-fast-msgpack-rpc.git"}}