{"_id":"raptor-rpc","_rev":"31-a9546359578e9884f5d50cdb1ed5c92b","name":"raptor-rpc","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","dist-tags":{"latest":"0.4.5"},"versions":{"0.1.0":{"name":"raptor-rpc","version":"0.1.0","devDependencies":{"mocha":"^1.18.2"},"scripts":{"test":"mocha"},"description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","_id":"raptor-rpc@0.1.0","dist":{"shasum":"345f0191c10719e96dbad766f6d60d2a27f4bf81","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.1.0.tgz","integrity":"sha512-eMMUAMg1vtLL1SUmvJphQzwjB1b0TfoYLEg0H3zfI3SivHs9BuSGcvu56PgQCQx0Vga1APWcbF9mINyz9DelIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJtI8J674MhLklxH7+6iMFxcFkFqXtPpBLMJdQITPx0gIgA+Bu/KkcdM6ugzjPy98yGq2TAkQ104X7oH7Fz+V+TWg="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}]},"0.1.1":{"name":"raptor-rpc","version":"0.1.1","devDependencies":{"mocha":"^1.18.2"},"scripts":{"test":"mocha"},"description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","_id":"raptor-rpc@0.1.1","dist":{"shasum":"17bb72c439d53cb56c2c3cd78ccc41a4521507af","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.1.1.tgz","integrity":"sha512-4aGblxpK/+7p0TMzx9sV/XBtFLJ8VRh3RCwdXZZ0tRKbhH7FM7mxiAy5QuJMqDRNLMdXF6U0zUrKgFs+t+Lx4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXzhBOfIbKUpvhMmuujiS0ei2UveV6/oIqivlHXctOswIgDG8f0e38R/zd47ZK5CZCoCxj230R/s9vGEqmYUuMV70="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}]},"0.1.2":{"name":"raptor-rpc","version":"0.1.2","devDependencies":{"mocha":"^1.18.2"},"scripts":{"test":"mocha"},"description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","_id":"raptor-rpc@0.1.2","dist":{"shasum":"e456c19dfda0293603d0a48284dcbc83a9a79197","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.1.2.tgz","integrity":"sha512-dKP4EbS5+TRmMY7uwa3JDMRz4uvqZ9fH9h5eBfjCQHfNvjlWZCUx4rTZW8OHWh4j+r7zHLtY/6wiWdJYcQERGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICU6DPiSVcCr6JK5qTSA6wizZDQgAmGYah7AeTWWIYKEAiARTHaFo9bdzbthl1hVopazeEusK0CGaKEVtE09V/r7fw=="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}]},"0.1.3":{"name":"raptor-rpc","version":"0.1.3","devDependencies":{"mocha":"^1.18.2"},"scripts":{"test":"mocha"},"description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","_id":"raptor-rpc@0.1.3","dist":{"shasum":"4566b8928fc32f3d61f7701067ea38f0ae9e0a85","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.1.3.tgz","integrity":"sha512-EtrYtXZ0gXR6/utGGPht1oMeIO+xvCtJ4LzP5GbY+HGn93GkpGJqEHcalsXGhwmlyDVroXcNxubZl5LY+1Ld2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH0hgmssnMecu26YpL6vU8qeO2AdlcWMdrnjfULlF3L6AiEAmS4tvJ7JaLV9bnkXf73vK1n1yTb33gzt9JK134JZo9c="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}]},"0.1.4":{"name":"raptor-rpc","version":"0.1.4","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git://github.com/LinusU/raptor-rpc"},"devDependencies":{"mocha":"^1.18.2"},"scripts":{"test":"mocha"},"description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/LinusU/raptor-rpc/issues"},"homepage":"https://github.com/LinusU/raptor-rpc","_id":"raptor-rpc@0.1.4","dist":{"shasum":"cf8c7debac217e070f8a58ff5b78682ca7639fc4","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.1.4.tgz","integrity":"sha512-0Pq0J8dPMoP+yVx/1aLL2yO5O1xntcRwYI76FeNR0d2GFzw0h5VgyNcz/PwWzyYMAnhczLmX++8BoXR/rsczuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICCO6SesmcpwVaJDdK2wemt0MD9wwEPzWi4OwRiPWvFoAiBJkEb7c4Wb/NcSGF0lJlux+yqrABu6UD3PhV3s1nLZHA=="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}]},"0.1.5":{"name":"raptor-rpc","version":"0.1.5","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git://github.com/LinusU/raptor-rpc"},"devDependencies":{"mocha":"^1.18.2"},"scripts":{"test":"mocha"},"description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/LinusU/raptor-rpc/issues"},"homepage":"https://github.com/LinusU/raptor-rpc","_id":"raptor-rpc@0.1.5","dist":{"shasum":"6fadd9e7b5b82185be0c55539e7f90dfdeed1d45","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.1.5.tgz","integrity":"sha512-8M9cVyXL6656pq6uFeahZD2V5Tf2UXEyrkkYPcUY0hqZgk0T4flJ45AYK+9Nzger2nHBHhG3/QSPWzQJ3Pk84g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMi+JY3awGHW+qQccd9dPhiP8cOt5rIpkycO1oLtrTQgIhALi5DLeBojf9bPH1xHNr21bKSd9I7TLtq8EQ4UNznR8W"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}]},"0.2.0":{"name":"raptor-rpc","version":"0.2.0","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git://github.com/LinusU/raptor-rpc"},"devDependencies":{"mocha":"^1.18.2"},"scripts":{"test":"mocha"},"description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/LinusU/raptor-rpc/issues"},"homepage":"https://github.com/LinusU/raptor-rpc","_id":"raptor-rpc@0.2.0","dist":{"shasum":"2d32633b007f46f0129bde4784d4fb0c26c5a25e","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.2.0.tgz","integrity":"sha512-qQjVwEQfoGmQYXZHf8mQqM7/JGYJ9zWpZoWPM0lzvygYp64ZGja8afICLw0yYYi+lt6TsvemB+853OxSKDfxzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFezTPw52ERpZIaT1WxJDGyhWw0gX9L0gQWFTwgAaijwIgITQIHJPl1JSApEXpKWczFVnamh3Em5F3vLS3F9sIhsw="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}]},"0.2.1":{"name":"raptor-rpc","version":"0.2.1","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git://github.com/LinusU/raptor-rpc"},"devDependencies":{"mocha":"^1.18.2"},"scripts":{"test":"mocha"},"gitHead":"1242f1c9169b7be58ebab4aac2af6c81833a49da","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/LinusU/raptor-rpc/issues"},"homepage":"https://github.com/LinusU/raptor-rpc","_id":"raptor-rpc@0.2.1","_shasum":"d307d31159734e3c49dfc3ab0d26ef99582a9d3e","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.12.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"dist":{"shasum":"d307d31159734e3c49dfc3ab0d26ef99582a9d3e","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.2.1.tgz","integrity":"sha512-awEBXNiEJbyvrs/pGPC2iAxdcD8XN4nm24hp3kYOXFxXB6aZIYcrz2MYPI1DGMHTBdDBIOLGYZ0/EpRZw/2hXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbnPMbPtCPFNvS+zHIrdsV07ZWJjxKd+N2dI86NvGPeAiEAv/81LBZdRXcAN23bXloJcruV2jVopzEnOLOAlgvQZ0Q="}]}},"0.2.2":{"name":"raptor-rpc","version":"0.2.2","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git://github.com/LinusU/raptor-rpc"},"devDependencies":{"mocha":"^2.2.4"},"scripts":{"test":"mocha"},"gitHead":"9d01b1872f650ff4d28b2c87cb5830e07f78d79f","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/LinusU/raptor-rpc/issues"},"homepage":"https://github.com/LinusU/raptor-rpc","_id":"raptor-rpc@0.2.2","_shasum":"e1fd545ab295ff1f9bfd229138a014195167ef50","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"dist":{"shasum":"e1fd545ab295ff1f9bfd229138a014195167ef50","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.2.2.tgz","integrity":"sha512-lukW0f/+70Ktu8nS+lxokKii0Zc/iqA8bQDEi3D9zk6GtcAS+rpNxANoQ5mPqIcx7B5KLrn55deXCwIuhrXHCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUb6VZ4XiQZ6OHY8pb5+34d2POGiHL2S9bJWwG2Fw82AIgK1YsMsrPs+6IN5d65gS9qdZX5I2dU62U1MHoXeyaVJk="}]}},"0.2.3":{"name":"raptor-rpc","version":"0.2.3","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git://github.com/LinusU/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.0.0"},"scripts":{"test":"standard && mocha"},"gitHead":"7242928513815605463f6c16d2ba0e8c37793cd9","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/LinusU/raptor-rpc/issues"},"homepage":"https://github.com/LinusU/raptor-rpc#readme","_id":"raptor-rpc@0.2.3","_shasum":"5812bd62082ecace3e2f81f8d7928d6dfa33e4a2","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"5812bd62082ecace3e2f81f8d7928d6dfa33e4a2","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.2.3.tgz","integrity":"sha512-kYeuQOOM8HB86iYJX0lqbVdOKlNFH9CPmNF//gzIfc10pAXc/uDhASub0u73Q/MDDbHZmVd6jlSuV678Tlu6yw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+wgE4xm0SdOWGr3d1WBg/Tp6MSwVj97lhuGqeZctCMwIgKgtOUMjUkJcXdmbuakzfK6rYHiNeGOoE83fBqiYl0zg="}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.2.3.tgz_1473797227921_0.1795039672870189"}},"0.2.4":{"name":"raptor-rpc","version":"0.2.4","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.0.0"},"scripts":{"test":"standard && mocha"},"gitHead":"ef5fb2f37b338f96d6d1763ab50ddb358d618bb4","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"homepage":"https://github.com/linusu/raptor-rpc#readme","_id":"raptor-rpc@0.2.4","_shasum":"bb5db7706c7b3a8dbdc92fc83c6159bc69a04887","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"bb5db7706c7b3a8dbdc92fc83c6159bc69a04887","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.2.4.tgz","integrity":"sha512-PJyKT5FYqU9FJg3GpRItAXDHUcH4Jb0FqCD56bz3RyY2Y0FgeXQAGSKj7Jel3qweZOA55GWRiVbal5xm7rrz7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIaaXpfA6+W5XxJcJoroORbkDhKvcrahB4Iw6wgdsPQQIhAOuEdaCk+y81IeRHz16Cv8qadxtzG9GVaxDBLTbHgDg9"}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.2.4.tgz_1473797237115_0.7769540315493941"}},"0.2.5":{"name":"raptor-rpc","version":"0.2.5","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.0.0"},"scripts":{"test":"standard && mocha"},"gitHead":"4bfefd665d7ebf4afee61a67f5a68a8d0e478257","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"homepage":"https://github.com/linusu/raptor-rpc#readme","_id":"raptor-rpc@0.2.5","_shasum":"d9af633b197242b500a86e75b172ad014fbaf41a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"d9af633b197242b500a86e75b172ad014fbaf41a","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.2.5.tgz","integrity":"sha512-uV70J0qcc0krG1TJxQNiutY32nUvxEPpQUSc8AO4Tr73B5lYnc0XzajXe56btXjlpAvk2YGJVziaMWPaI4rqVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBk8Lf/cXWn67Xqrwk2hOy4iKKLnkKKmVXmscPATDbCgIhAOtieZfowJp0dRZFWvjPs3PnIIQD46hAKOo7n/KMHs0g"}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.2.5.tgz_1473797417586_0.8090049959719181"}},"0.3.0":{"name":"raptor-rpc","version":"0.3.0","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.0.0"},"scripts":{"test":"standard && mocha"},"gitHead":"2eb029d06f9e6a711e680a7185f6a74988376223","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"homepage":"https://github.com/linusu/raptor-rpc#readme","_id":"raptor-rpc@0.3.0","_shasum":"52a6d54a47e0331060b4d14a9c9f4db05d41b154","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"52a6d54a47e0331060b4d14a9c9f4db05d41b154","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.3.0.tgz","integrity":"sha512-yfa0fZ97sB/vBSehF1EySBRMyQO4XoFzgl7w3+6M+11pk1MRHhTZW7Gn5mf9eGeUBc03bRTxNE9fUwHok2T37Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDpwP94wCnLSHwUErLeEqK4e3yNu06kF8j1ApmqUh7T+AiEAgoqbU9A30ZVAwP8weglrhY/qwKpIfnD9Avdb1a96FAk="}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.3.0.tgz_1473802639409_0.8474715573247522"}},"0.3.1":{"name":"raptor-rpc","version":"0.3.1","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.0.0"},"scripts":{"test":"standard && mocha"},"gitHead":"6ee6b8ca11ff8b702d610afebf4f3ee215384e52","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"homepage":"https://github.com/linusu/raptor-rpc#readme","_id":"raptor-rpc@0.3.1","_shasum":"424579bb54ff1f671a51ad5ca117f16834a2be78","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"424579bb54ff1f671a51ad5ca117f16834a2be78","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.3.1.tgz","integrity":"sha512-LlMMZ4IkWVz8YChWq4+QiqDoUZNh0w70BeW7cFfTQrEfngARHszGalvGYAmFbB6CecPib9/G3r7Tnwwo8/YiSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfiuEydJ6m33Z2GAgURCYc9iFd+PxiId0Z0H0k0vE2SAiA1z7X9z2ObEpXajQ85nZFd0Y9Rm2s1dgt3jTjO6ATI/w=="}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.3.1.tgz_1474577682116_0.6300935244653374"}},"0.3.2":{"name":"raptor-rpc","version":"0.3.2","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.0.0"},"scripts":{"test":"standard && mocha"},"gitHead":"3462ea66674fde9d852a28e10da5e07c5b0da12b","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"homepage":"https://github.com/linusu/raptor-rpc#readme","_id":"raptor-rpc@0.3.2","_shasum":"c7b3bf1593f9a30be31ca4748e7dad8af1cec6d8","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"c7b3bf1593f9a30be31ca4748e7dad8af1cec6d8","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.3.2.tgz","integrity":"sha512-Ncvk7cas/KGdF2tOAp8x6B81QqIcuKgiPHWFmEYVukwvYVCs0xmXeL5cibVLbMkeMHJc9wYHFpD+7ucPJ5th6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXTienqSGALODtOIrurSJTNeSCqVGh6/QRoJhpPUe+NAiEAp0KdWgdddakiGNrnpb5pFE6UrUbqtuONuUG8YYFJkw8="}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.3.2.tgz_1474577855518_0.960630958667025"}},"0.4.0":{"name":"raptor-rpc","version":"0.4.0","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.1.0"},"scripts":{"test":"standard && mocha"},"dependencies":{"debug":"^2.2.0","get-stream":"^2.3.1","has-own-property":"^1.0.0","is-my-json-valid":"^2.14.0"},"gitHead":"e0928bd5d2ba2dd2f2dd6b83bd28d487c987bad8","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"homepage":"https://github.com/linusu/raptor-rpc#readme","_id":"raptor-rpc@0.4.0","_shasum":"298031a04344827d7c7d7f0809a61f4119a83522","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"298031a04344827d7c7d7f0809a61f4119a83522","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.4.0.tgz","integrity":"sha512-J3BH29qLLHRNy+Ah9wwKyFdzskTi6buEI8megKjY29P3sE2YCta1WCXJ9iMzd/B2jCt+haWvWSasoIiOROujfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2v3b6WMAmrJa7dnLdAlCTJq8kIYCBf59co6zQ4/HfMAIgOGGrVnCP16uz2/3Seg02CXjEr12z0SVCSknBxvTDmjE="}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.4.0.tgz_1474578697128_0.26705200620926917"}},"0.4.1":{"name":"raptor-rpc","version":"0.4.1","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.1.0"},"scripts":{"test":"standard && mocha"},"dependencies":{"debug":"^2.2.0","get-stream":"^2.3.1","has-own-property":"^1.0.0","is-my-json-valid":"^2.14.0"},"engines":{"node":">= 0.12"},"gitHead":"8cab750ba86b23fdc4dd60a9d90226d4f059e88b","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"homepage":"https://github.com/linusu/raptor-rpc#readme","_id":"raptor-rpc@0.4.1","_shasum":"cff9d8307e729aa56e02a2e6adc0c969dafc1704","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"cff9d8307e729aa56e02a2e6adc0c969dafc1704","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.4.1.tgz","integrity":"sha512-45uHU4xxEgpVpAiEDfuHjVVYkSGIup/QAZsnyGaFiEvBkKae02FgJIQNRr30eCudZPpz36fSMn/PhfZ3o9h3vw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBJkl3p/ZjfFuC6l7THYV1Ik0kdPtsE6sv/m+nBX3/qzAiAJg/W9J0uyzdkRl12P4nDkRYSgByjrzBpVzJ2njv2vow=="}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.4.1.tgz_1474578813275_0.14344379375688732"}},"0.4.2":{"name":"raptor-rpc","version":"0.4.2","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.1.0"},"scripts":{"test":"standard && mocha"},"dependencies":{"debug":"^2.2.0","get-stream":"^2.3.1","has-own-property":"^1.0.0","is-my-json-valid":"^2.14.0"},"engines":{"node":">= 0.12"},"gitHead":"37e9a8205a28d31cb009a0f2df0d42f62411a11d","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"homepage":"https://github.com/linusu/raptor-rpc#readme","_id":"raptor-rpc@0.4.2","_shasum":"47b7980b744cd4654ed5da7f752c9811732bce64","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"47b7980b744cd4654ed5da7f752c9811732bce64","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.4.2.tgz","integrity":"sha512-qs+rz0eq8ihQ7vKO0VC4kvn+ewvQx5otClh8Tnb7+b1DwoVP5Q4ZJjf9Z4lmeC02S39x33jtInPR93CrA/F7Vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBrbFc+Lq7FfZ4DoCfKVgOvQRztmqU2CMcpf6RmDtLB1AiBMM1YGyQuFZ44xn2Oc5cEo6oo/FP7FisFoonDfWwcSPQ=="}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.4.2.tgz_1474580125016_0.5736289974302053"}},"0.4.3":{"name":"raptor-rpc","version":"0.4.3","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.1.0"},"scripts":{"test":"standard && mocha"},"dependencies":{"debug":"^2.2.0","get-stream":"^2.3.1","has-own-property":"^1.0.0","is-my-json-valid":"^2.14.0"},"engines":{"node":">= 0.12"},"gitHead":"e8fa956c8a94e35252bc1ee212b58ec1235518c1","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"homepage":"https://github.com/linusu/raptor-rpc#readme","_id":"raptor-rpc@0.4.3","_shasum":"37e181c83c09f40e668bc610e96c9ab9bb11d4b3","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"37e181c83c09f40e668bc610e96c9ab9bb11d4b3","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.4.3.tgz","integrity":"sha512-qRgUFDKnfXDORvsfS3OsY0hcZ2cUdhOuylHedoOp/SIrPcv7bBDQ8phwnqYvoF3WlXVoI5yyY/hoHGr81aZYQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIbRZNfbt48ibD488E/+sQbk44Fw8KgKhRcClyxSh5lAiEAjLyrzhNp90GZnA7vCMkNzDFFu2RUfLRpzOwB89UXukg="}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.4.3.tgz_1474580227455_0.48254621610976756"}},"0.4.4":{"name":"raptor-rpc","version":"0.4.4","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.1.0"},"scripts":{"test":"standard && mocha"},"dependencies":{"debug":"^2.2.0","get-stream":"^2.3.1","has-own-property":"^1.0.0","is-my-json-valid":"^2.14.0"},"engines":{"node":">= 0.12"},"gitHead":"15d83df5336c643e7bd28b94454174d858aebbe7","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"homepage":"https://github.com/linusu/raptor-rpc#readme","_id":"raptor-rpc@0.4.4","_shasum":"11302cc8248c25d95291e028c3156faa06b0fcd5","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"11302cc8248c25d95291e028c3156faa06b0fcd5","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.4.4.tgz","integrity":"sha512-qQj/iSqM+xSJkgaariIOx5+9nFiuzFR5WZyCTKCdYwtq6oMH2NwsvTZ8GxYf2QyH9iRHR13AJw435bzgqknXVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGvyzefemB4zZLzVloEV9FLa3ZZ0OVKCQVxIbzcjNAgwIhALgGIWR0qaSMTW+sYLDiIJenLHn6HInJzeSCgCTJhMjK"}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.4.4.tgz_1474580653373_0.5963352755643427"}},"0.4.5":{"name":"raptor-rpc","version":"0.4.5","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"devDependencies":{"mocha":"^3.0.2","standard":"^8.1.0"},"scripts":{"test":"standard && mocha"},"dependencies":{"debug":"^2.2.0","get-stream":"^2.3.1","has-own-property":"^1.0.0","is-my-json-valid":"^2.14.0"},"engines":{"node":">= 0.12"},"keywords":["json-rpc","json-rpc2","json","jsonrpc-2.0","jsonrpc","jsonrpc2","rpc","rpc2","server"],"gitHead":"1fb813158a9ff8497530ba6a328bea5bae9a35ba","description":"Raptor RPC is a transport-agnostic RPC server with middleware support and an easy to use api. It will allow you to have a server up and running in a matter of minutes, without limiting you to a specific transport.","bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"homepage":"https://github.com/linusu/raptor-rpc#readme","_id":"raptor-rpc@0.4.5","_shasum":"f8d648e24d636b1077d721aa5d6a72b13d24f458","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"f8d648e24d636b1077d721aa5d6a72b13d24f458","tarball":"https://registry.npmjs.org/raptor-rpc/-/raptor-rpc-0.4.5.tgz","integrity":"sha512-cEeJl9kNPMfRihjTKCAtUxkuXJEnawY/0EFuMUmWncIjEnK2q+KNOZ7Q7U0LJU/ccBtZwsC5BeRbgF4ojoIIDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+vvxAhqgcY44EwaBVVgRwEDCqTn1COJzY29qFJESkGAiEA6eVVVelmMK7Jwxaut0Lk9Fl3dI999DlOfeeIIrlkGrs="}]},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/raptor-rpc-0.4.5.tgz_1474797823973_0.6276220723520964"}}},"readme":"# Raptor RPC\n\nRaptor RPC is a transport-agnostic RPC server with middleware support and an\neasy to use api. It will allow you to have a server up and running in a matter\nof minutes, without limiting you to a specific transport.\n\nIt works out of the box with the standard transports provided by Node.js and\nalso with some popular frameworks.\n\n## Installation\n\n```sh\nnpm install --save raptor-rpc\n```\n\n## Usage\n\n```js\n// Raptor library\nconst Raptor = require('raptor-rpc')\n\n// Example libraries\nconst fetch = require('node-fetch')\nconst readJsonFile = require('read-json-file')\n\nconst app = new Raptor()\n\napp.use(function (req, next) {\n  console.log('Incoming request!')\n  return next()\n})\n\napp.method('ping', function (req) {\n  return 'pong'\n})\n\napp.method('get-package-name', function (req) {\n  return readJsonFile('package.json')\n    .then(pkg => pkg.name)\n})\n\napp.method('random-name', function (req) {\n  return fetch('http://uinames.com/api/')\n    .then(res => res.json())\n    .then(body => `${body.name} ${body.surname}`)\n})\n\napp.serve('http', 1337, function () {\n  console.log('Listening on http://localhost:1337/')\n})\n```\n\n## API\n\n### Raptor\n\n#### `.use(fn)`\n\nAdd middleware to the server.\n\n - `fn`: Middleware function with the signature `(req, next) => Promise`\n\nThe middleware function should return a promise of a response. Calling `next`\nwill return a promise of the next middleware or, if no other middleware exists,\nthe method handler.\n\n#### `.method(name, fn)`\n\nRegister a method with the server.\n\n - `name`: The method name\n - `fn`: Method handler with the signature `(req) => Promise`\n\nThe method handler should return a promise of what to respond with. It's also\nacceptable to return the value right away, since the handler is wrapped in a\n`.then` call. This also means that any errors thrown will be caught correctly.\n\n#### `.handle(...)`\n\nHandle a request, accepts a number of different parameters.\n\nRead more under `Transports`.\n\n#### `.attach(server)`\n\nAttaches Raptor to the server, accepts a number of different parameters.\n\nRead more under `Transports`.\n\n#### `.serve(type, port[, cb])`\n\nStarts a server and accepts connections.\n\n - `type`: Which transport to use (`dgram`, `http`, `net`)\n - `port`: Which port to listen to\n - `cb`: Function to be called when accepting connections\n\nReturns the server instance (`dgram.Socket`, `http.Server` or `net.Server`).\n\n### Request\n\n#### `.id`\n\nThe jsonrpc id of the request, can be `undefined`. This variable is read-only.\n\n#### `.method`\n\nThe method name of the request. This variable is read-only.\n\n#### `.params`\n\nThe params object as passed from the client. Can be `Array` or `Object`.\n\n#### `.param(key, defValue)`\n\nHelper function to get a parameter or a default value if it wasn't provided.\n\n - `key`: Key to fetch, can be `Number` or `String`\n - `defValue`: Value to return if `key` wasn't provided, is `undefined` if not specified.\n\n#### `.require(key, type)`\n\nHelper function to require the presence a parameter and optionally check it's\ntype. Will send an `Invalid params` error (-32602) back to the client, and stop\nexecution, if the parameter is not present. It also returns the value of the\nparameter.\n\n - `key`: Key to require, can be `Number` or `String`\n - `type`: If specified, also require the parameter to be of this type\n\nValid values for `type` is specified in the\n[JSON Schema: core definitions and terminology](http://json-schema.org/latest/json-schema-core.html#anchor8)\nand [RFC 4627](http://tools.ietf.org/html/rfc4627).\n\n> This is implemented by throwing an Error if the key isn't present, or is of\n> the wrong type.\n\n#### `.source`\n\nThe source of the connection, i.e. the stream that was piped to the connection.\n\n#### `.remote`\n\nInfo about the other end of the connection. Includes three keys:\n\n - `type`: Type of the transport (`unknown`, `dgram`, `http`, `net`)\n - `address`: Ip address of the remote\n - `port`: The remote port\n\n## Error handling\n\nIf you reject within a middleware or a method handler, that error will be sent\nback to the client. The description will be `err.toString()` and the code\n`err.rpcCode`. If `rpcCode` is undefined the code sent will be `0`.\n\nYou can also include additional data by providing `err.rpcData`. `rpcData` can\nbe of any type.\n\n## Transports\n\n### Express\n\n```js\nconst app = express()\nconst raptor = new Raptor()\n\napp.post('/api', raptor.handle)\napp.listen(1337)\n```\n\n### Dgram\n\n```js\nconst raptor = new Raptor()\nconst socket = dgram.createSocket('udp4')\n\nraptor.attach(socket);\nsocket.bind(1337);\n```\n\n### Net\n\n```js\nconst raptor = new Raptor()\nconst server = net.createServer({ allowHalfOpen: true })\n\nraptor.attach(server);\nserver.listen(1337);\n```\n\n### Http\n\n```js\nconst raptor = new Raptor()\nconst server = http.createServer()\n\nraptor.attach(server);\nserver.listen(1337);\n```\n\n## License\n\nCopyright &copy; 2014 Linus Unnebäck <br>\nLicensed under the MIT License (MIT)\n","maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"time":{"modified":"2022-06-25T12:43:59.517Z","created":"2014-05-12T10:02:00.634Z","0.1.0":"2014-05-12T10:02:00.634Z","0.1.1":"2014-05-12T10:07:01.918Z","0.1.2":"2014-05-19T16:04:20.480Z","0.1.3":"2014-05-19T16:51:53.137Z","0.1.4":"2014-05-26T10:51:00.139Z","0.1.5":"2014-05-30T11:49:51.412Z","0.2.0":"2014-06-03T10:49:22.421Z","0.2.1":"2015-03-04T14:34:28.005Z","0.2.2":"2015-04-21T10:20:59.674Z","0.2.3":"2016-09-13T20:07:08.679Z","0.2.4":"2016-09-13T20:07:19.033Z","0.2.5":"2016-09-13T20:10:19.292Z","0.3.0":"2016-09-13T21:37:21.371Z","0.3.1":"2016-09-22T20:54:43.914Z","0.3.2":"2016-09-22T20:57:36.335Z","0.4.0":"2016-09-22T21:11:38.009Z","0.4.1":"2016-09-22T21:13:34.175Z","0.4.2":"2016-09-22T21:35:26.719Z","0.4.3":"2016-09-22T21:37:08.307Z","0.4.4":"2016-09-22T21:44:15.086Z","0.4.5":"2016-09-25T10:03:45.702Z"},"readmeFilename":"README.md","homepage":"https://github.com/linusu/raptor-rpc#readme","repository":{"type":"git","url":"git+https://github.com/linusu/raptor-rpc.git"},"author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"bugs":{"url":"https://github.com/linusu/raptor-rpc/issues"},"license":"MIT","keywords":["json-rpc","json-rpc2","json","jsonrpc-2.0","jsonrpc","jsonrpc2","rpc","rpc2","server"]}