{"_id":"rest-js","_rev":"43-8b001f2592762df4dbf5838eaac63b97","name":"rest-js","description":"Interact with a Rest-API. Works on client and server (node.js).","dist-tags":{"latest":"1.1.3"},"versions":{"0.0.1":{"name":"rest-js","version":"0.0.1","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"jake":"0.7.11","ejs":"1.0.0","send":"0.3.0","async":"0.8.0","restify":"2.7.0","istanbul":"0.2.9"},"dependencies":{"utilities":"0.0.36","browser-request":"0.3.1","request":"2.34.0"},"_id":"rest-js@0.0.1","dist":{"shasum":"cab0c621ceaac77488dd759e09ad4b1c37d99b92","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.1.tgz","integrity":"sha512-YxNfBOPtLxfF5SmyVSwOwPUxAdBh4kLsn76TdEaI0jUBSXwJmPXjQ8OBzYjrhccLX4OAsSxCwyEMP+udBG3j/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm0kV7U4p2oF7qqpdK+2NSSLQ+VaQ3sZnTulh8BuOsjQIhAI/KPWWZkfbx6006fFLdT6TlUQlFrvERkLtu4iaWucof"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}]},"0.0.2":{"name":"rest-js","version":"0.0.2","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"jake":"0.7.11","ejs":"1.0.0","send":"0.3.0","async":"0.8.0","restify":"2.7.0","istanbul":"0.2.9"},"dependencies":{"utilities":"0.0.36","browser-request":"0.3.1","request":"2.34.0"},"_id":"rest-js@0.0.2","dist":{"shasum":"17274abb0fc70fc6e93c181505b8d17465c7efc5","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.2.tgz","integrity":"sha512-QS3rARMXVWSG2gw9tG5jfPjgrMUYTBJeh9ata9B9+8Ylv0edqu/sSE3NttjVLE3dD9JsJth6k3+F3NAa6penUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGrX5m/1mILEVAVYBpk+v1eU5kno9ju2LZcyKz8AIunQIgKMh80Hl+Cjj+TPBcLZl0iEEqSDXhgrjo8mJWtWV5kOM="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}]},"0.0.3":{"name":"rest-js","version":"0.0.3","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"jake":"0.7.11","ejs":"1.0.0","send":"0.3.0","async":"0.8.0","restify":"2.7.0","istanbul":"0.2.9"},"dependencies":{"utilities":"0.0.36","browser-request":"0.3.1","request":"2.34.0"},"_id":"rest-js@0.0.3","dist":{"shasum":"7724312ba5b19d0c93e6de0b01019f8b6971c094","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.3.tgz","integrity":"sha512-5Et/0mnuziLY4oMa16tQqL0bwRRs16YHWlhoQB5n2x1iQb9n7x8ekqi/rTonhe08QZUn1dZb3olhGK9b7SaoDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCK1XyJJHofpRzF58WhRavzDsBip3yurnKMQXgxUJjWgQIgESCnE70zN0UIVK1XF78Vk8yS4fq+2l2/EXrcR9Rzv0g="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}]},"0.0.4":{"name":"rest-js","version":"0.0.4","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"jake":"0.7.11","ejs":"1.0.0","send":"0.3.0","async":"0.8.0","restify":"2.7.0","istanbul":"0.2.9"},"dependencies":{"utilities":"0.0.36","browser-request":"0.3.1","request":"2.34.0"},"_id":"rest-js@0.0.4","dist":{"shasum":"ad3e62413f62b3f55611f3eb678b105e28625331","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.4.tgz","integrity":"sha512-SJ8SwsevMEnzyWyICjQIniLPO1JwbCKCThdGnckJ8uVmQfe4ocu/i+oVCUoeV/qllCpnK/VQoViS7D69eIjOVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHwcptakx3UvcyNo7APqX6j39vvVYeZAuBakn2J2bm9xAiBnRezKfmX+NP1DlnkAj5Gvzny5cCKL9Znr8pPYbJFH1Q=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}]},"0.0.5":{"name":"rest-js","version":"0.0.5","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"jake":"0.7.11","ejs":"1.0.0","send":"0.3.0","async":"0.8.0","restify":"2.7.0","istanbul":"0.2.9"},"dependencies":{"utilities":"0.0.36","browser-request":"0.3.1","request":"2.34.0"},"_id":"rest-js@0.0.5","dist":{"shasum":"421416ac59437ee3ab08de4260057ae579bf39da","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.5.tgz","integrity":"sha512-w+hQriTnJ/Tgx7I3h4HZIXUIBpWGFeX+rgcSFfEQUB5T3BV77mw2brfBawiStgyBr7FJT7NWbOKF5vZYe2dO0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5NqcPPmttXQtB3JqDwfRxKOPllQqoP5u5BnfiF6ghuwIhAMN6DFcAzTAxWx1KsQ8G+MxUpgS1iaAlS640cThtJxHS"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}]},"0.0.7":{"name":"rest-js","version":"0.0.7","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"jake":"0.7.11","ejs":"1.0.0","send":"0.3.0","async":"0.8.0","restify":"2.7.0","istanbul":"0.2.9"},"dependencies":{"browser-request":"0.3.1","request":"2.34.0"},"gitHead":"d30d5f2ea370a1f164403f07651cda26365a3866","_id":"rest-js@0.0.7","_shasum":"2e1f88c9eae96a2fa245a03f8b181dd8b6ed5812","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"2e1f88c9eae96a2fa245a03f8b181dd8b6ed5812","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.7.tgz","integrity":"sha512-yn+B+FTAZTX1lOq9T8yNdZ21eU0lT2CPVkJr0beinHVeDuBiP7rayoR7AvAJWjzXBty+5wzkLDzptr4cU7cjjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxeXhBpkRE44AuZlBNRVZJMWBReC5cyWxJ6PX5qE3q3QIhAPnO8HEbB86FPDdxhk5dNzAVS7WEzIWB9NOl3xykkX3T"}]}},"0.0.8":{"name":"rest-js","version":"0.0.8","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"superagent":"^0.21.0"},"gitHead":"79d4a7d6436cfa182d19ef3b6f994b8231c54ea2","_id":"rest-js@0.0.8","_shasum":"c29270e2b1e4e2222477ecb9c82d59add5ac3d6a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"c29270e2b1e4e2222477ecb9c82d59add5ac3d6a","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.8.tgz","integrity":"sha512-/d5KhAm50+KH7hfPIvmsUXZMy7A+mdScBMVyQBMqW0khcu+zte+i8U3fPJK8lA4CkqnoCvOx2oDY3enaIZ+JPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDL6cXSGVgySo3qoDblcyCIPu+gmlEmTb56G9JTz8QLagIhAMJ1Ho71RyOhxvaYcExFBnzN9xnXFhTBCJQ0xh7WyO6/"}]}},"0.0.9":{"name":"rest-js","version":"0.0.9","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"superagent":"^0.21.0"},"_id":"rest-js@0.0.9","dist":{"shasum":"dfb4b7da161fbff5eba3ed26a6a025b90846977b","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.9.tgz","integrity":"sha512-Vcl6Brf5+3wcYLvsimJd+RVYRJ9UyLKnVu4yl9GchzSY5xIcHkWImDY0iuP6cX1J6z9CkyOmsYBlPSqBoaTdAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgfMMzWJF8/xYJolcydzSoTwJMqvqgMSgtFozyTgfSYQIgGjRUngusd08CZfm2eJ4CAfImCeMzVQX1kdfJxOxUTx8="}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}]},"0.0.10":{"name":"rest-js","version":"0.0.10","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"superagent":"^0.21.0"},"gitHead":"32b36626830299535c41ba79f4e860d7e13ecc87","_id":"rest-js@0.0.10","_shasum":"05872c224aa6a27670a71c245b189cd794606453","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"05872c224aa6a27670a71c245b189cd794606453","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.10.tgz","integrity":"sha512-+6Q99ayb6AAaUWCEfnGve1BYy4yReVwzEykZaroQy3mvbw2oCO4dJwtSt6FWR5AL7QpEyhzHetyMMS71AD6f0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0xQYECKODuNX9LN1cLvXx7j2HlkBWP9JmnOMPOfxChAiEA3RuQV/yubElM6Ny5gq46ZowJ4282K1kHWDFJrKb/W/s="}]}},"0.0.11":{"name":"rest-js","version":"0.0.11","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"superagent":"^0.21.0"},"gitHead":"8346a74611bccb62a8edaac49207dc74ec308a75","_id":"rest-js@0.0.11","_shasum":"0f2b47b9249da56166d79c6bab57d1da6bfc1b4e","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"0f2b47b9249da56166d79c6bab57d1da6bfc1b4e","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.11.tgz","integrity":"sha512-Ed9BP5eIyY85S7d+Dh/qD/dIHzGvL4q4/MknSRr/BoZFa7HhKoXg3+7ALJCVAgI2tW4dUAk4canuhOZ4axR7xA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFyR31mJTXWAjlew73C/ZpggUr9le+rySUsx/KPlk5HgIgBpD2+8HTjzcBbFSBAWVA/0n2j6HyuznxZj2sFdXLuFM="}]}},"0.0.12":{"name":"rest-js","version":"0.0.12","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"superagent":"^0.21.0"},"gitHead":"1595ad656e4d38a3b9c121ae193da8cad340abda","_id":"rest-js@0.0.12","_shasum":"a19492f659163521d6e155eb4642c6f687d82a14","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"a19492f659163521d6e155eb4642c6f687d82a14","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.12.tgz","integrity":"sha512-+9uzdGRUznSU0k+ncKlS0xnBQ1WnaXmUymmiMZj1eO+w4D7/P8q7WIqoIQb8No4TITcvsd2L9lgEzOZQvhs3dQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/3Aik3WVRXu9k7dskj1qvyxYIzYvhgj75/cYsEuPZNQIhAMdNbSpYTTWe8+16KAXw1YvyBrPcbnWGtDj70bZtJYoq"}]}},"0.0.13":{"name":"rest-js","version":"0.0.13","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"superagent":"^0.21.0"},"gitHead":"9a86038824da4b1373b1ead0a0af05d8e02a7984","_id":"rest-js@0.0.13","_shasum":"f32bcd4f9a6f524a5b95fe32d018d0203848cb47","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"f32bcd4f9a6f524a5b95fe32d018d0203848cb47","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.13.tgz","integrity":"sha512-0hlA7xY3JXMOkj/hTf3RYoxjU8IpPKs/SwhaRqebNc6knzOVQnyylpeHXoaloqdO5fE4tYA1H5XVIBYns2IWfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6XBKIXTl5xAThu361FnsFKG81lms9ue1uKbAPdUlY3AiEA0Vl8obzidIa4QMPGO1Ho1Y85mkz+Egf8xuGeik2kId4="}]}},"0.0.14":{"name":"rest-js","version":"0.0.14","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"superagent":"^0.21.0"},"gitHead":"c1fb4ad2bdd27a7ae1b65dd0ea7a7d0813b6e530","_id":"rest-js@0.0.14","_shasum":"f7deccb07112fd29faed4794ae999c98c37ce043","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"f7deccb07112fd29faed4794ae999c98c37ce043","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.14.tgz","integrity":"sha512-5v27mn6bJjzErvxJGAiNsUm0dWCh3/xGygcqWSwr621B+bTA3zvAoBT/oEOZ45GrQeRVxaCyVfg5jSgSPPeApA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUChnbm8kOYsB1ApMfUa/eOYMGdFqaLm3QATRUUrL2qAiBy9jBVnoYCKT33HRoXR1ZecNPU8e+NGdqCYpsUNTC4Rw=="}]}},"0.0.15":{"name":"rest-js","version":"0.0.15","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"superagent":"^0.21.0"},"gitHead":"c6945041f8df2a2639d3fe8a5429e6909de3048f","_id":"rest-js@0.0.15","_shasum":"cbc6e2c5f533479fa4be0f7030c9942e0af062cf","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"cbc6e2c5f533479fa4be0f7030c9942e0af062cf","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.15.tgz","integrity":"sha512-9XNnMmTipHwGCA0s0GibHac1jNuVQrq2w5q1bvhVkgF6+OA3Wc59QmxreVYXUEt7UJrt1NF/EH0jRKlcXUplXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnmJdDiigcrJJJnxN422NDzhwHMcT26K0or5QCjdAwIgIgSwpDKu6FB/LZPObQEN/nZE8Y44Y86ZUK3mCxG4lXFWU="}]}},"0.0.16":{"name":"rest-js","version":"0.0.16","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"superagent":"^0.21.0"},"gitHead":"c8ee518ca78c7f78fedf947afd586fc4f5cbedd3","_id":"rest-js@0.0.16","_shasum":"1910001835a958c41a3a25d242ddc58ef34138b5","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"1910001835a958c41a3a25d242ddc58ef34138b5","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.0.16.tgz","integrity":"sha512-VYJRnxAZPYE6h+XCe/Fr+XN0X09Gs/u5qxxTjBUzRirrJiNA6OeegjBsCIBnyRXx5gfvNtkcBt8chNOTh/MFwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGrN+TWrHAbsPvcT7N+4cW2kbYV7cPMNJSQQLTwkrHKzAiEAhiL4a9ecixf4eNEWtvivANI28IN3xGU2DlBtARelcsA="}]}},"0.1.0":{"name":"rest-js","version":"0.1.0","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"es6-promise":"^2.1.0","superagent":"^0.21.0"},"gitHead":"a3010356f8422e1ff590a6eecda07ed6b375e2ee","_id":"rest-js@0.1.0","_shasum":"a7225896cba77fcf73a77c7f12195bfd9d3cc00a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"a7225896cba77fcf73a77c7f12195bfd9d3cc00a","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.1.0.tgz","integrity":"sha512-suRD4lCpSqAqq/mdZDAycdsi0m/t5v5pQECco66hhUiX7VFG+hQAMKy3/BTrT2gomi2Y3qC80L3B1NVd15zQ6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCM+lDvazYJ03d8to1JRHO22g3oSNKmmsRKfPGp+tCtvwIhAP4gxQKsSCtDlxTFQegpqZnGIPUPG2vEpSHKZQnXJmR5"}]}},"0.1.1":{"name":"rest-js","version":"0.1.1","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"es6-promise":"^2.1.0","superagent":"^0.21.0"},"gitHead":"97c74e9cc5a2d02ec09399a20e7f711a69257804","_id":"rest-js@0.1.1","_shasum":"3dc8234a1cb8bf0a5d72da7edf85002beca80c8f","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"3dc8234a1cb8bf0a5d72da7edf85002beca80c8f","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.1.1.tgz","integrity":"sha512-TeoqwO8QDtCZPALIfxzeBzgiTYoYAF7wYzNWOy176N9Y1NsRrDWCEUGgaMHzLaDXlOafdeUSwO+f+OvcpVWRMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4jLUsxKTxVANuzq7E0AboNjHb8ln7cxd4acCeA9LRLAIhAMJ2PphFdX+iIkrBdfvVn5Z3Qmg+W7phAamjqBQAnF35"}]}},"0.1.2":{"name":"rest-js","version":"0.1.2","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"es6-promise":"^2.1.0","superagent":"^0.21.0"},"gitHead":"5f60482f5269bf5bf4f24adf1734ed93ce006ef3","_id":"rest-js@0.1.2","_shasum":"f491b66fb06673c7981c9364b5206fa7d15f559c","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"f491b66fb06673c7981c9364b5206fa7d15f559c","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.1.2.tgz","integrity":"sha512-jpFIAIB18EYoaKeePU5mY5+hHKYxEEsOTxSAZ7KjK6mGrljG/cF+rwdxWmkIntI6lxFSOwrYIM7z7grrq53H1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9ApmOHSQPx+/NShmWZHz0opL7oS9S5xmHstxiG4ia8wIhAKdPKbv6Luixrp9vMiu4+iULiB0Xxynwwd78N/4YVenL"}]}},"0.1.3":{"name":"rest-js","version":"0.1.3","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"es6-promise":"^2.1.0","superagent":"^0.21.0"},"gitHead":"6b7bc0046873e9638797ba8634360dfa5c8811da","_id":"rest-js@0.1.3","_shasum":"209d25e0b50fd41fc3b85609465d254d63f4bc14","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"209d25e0b50fd41fc3b85609465d254d63f4bc14","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-0.1.3.tgz","integrity":"sha512-4hB1ctez7nvMxE42PueMNHbPgJh3tl9JLTuSSgiFg5rl7Mh0sPEz79ggeZZGvDr23JbaZdh94BNZj9oEcQTrHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHlKD+ypVg+++GQceu67RQj+/zXuuHSf4+aAiH5rqw2AiEAj0rQKNBQ+fqdDee22yGQFKykwl2sfzs0ON76MyH8nhQ="}]}},"1.0.0":{"name":"rest-js","version":"1.0.0","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"es6-promise":"^2.1.0","superagent":"^0.21.0"},"gitHead":"7b235e78ef96b7f6e4a10763c297ed0efd9e10a5","_id":"rest-js@1.0.0","_shasum":"e7be8ba4493e04ed997d3ec62f55baf7d5748600","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"e7be8ba4493e04ed997d3ec62f55baf7d5748600","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-1.0.0.tgz","integrity":"sha512-42Xi5/VVlaLNhDpE6MnYFplln8ahdOEvJsr9vtgt7TavRfVgP0zbaRHip9o6h3sGYtYScTcZJ+OlxTvvF9AwcQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUOlKBKZZQTXRmvro+eoU8f60FFH8LrFrqlPjFBHWYiQIhAIZKhcYb0pYnHJFmszJrP4A47bRLPSEvLHVbTML2ZIVm"}]}},"1.1.0":{"name":"rest-js","version":"1.1.0","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"es6-promise":"^2.1.0","superagent":"^0.21.0"},"gitHead":"df9b1e9f382d36ce858b456e43969dd680a8a998","_id":"rest-js@1.1.0","_shasum":"dd95ea601a5c81dc5c50f902e8037da5a3476ba9","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"dd95ea601a5c81dc5c50f902e8037da5a3476ba9","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-1.1.0.tgz","integrity":"sha512-o2J0ztGAaE+54Co5k/OoHmGSBKwoQGXnqAAlnVBykZtxREaOBu4a2JeOEOqr1x+dxOronEB+wMsn2wyG5g2pFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2biL3dIytJhxT2dSlHb8ptKSR17ZnQciD3Q80HBjzkgIhAPK6RA342idgS7AYNcrhGTF4edSVd3iAEYV2GpJYnwrQ"}]}},"1.1.1":{"name":"rest-js","version":"1.1.1","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"es6-promise":"^2.1.0","superagent":"^0.21.0"},"gitHead":"02bbfd368c0d2b5c87f1da10cada4971da969c0b","_id":"rest-js@1.1.1","_shasum":"7b23fa2e92ff21947725b4914ceda623c9303392","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"7b23fa2e92ff21947725b4914ceda623c9303392","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-1.1.1.tgz","integrity":"sha512-PU5L6+PRyC7IkfS1EGE9nQKSLxfBq40wr+EKn564AHNMZ+nNrLqkhH06oPRMmNymJhVgatK1OclG+XYbXCAa/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3qd1xm1vALLuShfpmD/ndu/B1z6PIbHnc1reZ5CiszAIhAKAYUAoljiuyHj05Xx/4rFi3lsZe8SuhNiPeG/KEsSZ8"}]}},"1.1.2":{"name":"rest-js","version":"1.1.2","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"1.0.0","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.3.0"},"dependencies":{"es6-promise":"^2.1.0","superagent":"^0.21.0"},"gitHead":"19585853b1638812ad9dac44bfe56dad98f89c73","_id":"rest-js@1.1.2","_shasum":"73230a0ef7d5b73dd0047ae1347a4467fc059e48","_from":".","_npmVersion":"3.3.6","_nodeVersion":"0.12.2","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"shasum":"73230a0ef7d5b73dd0047ae1347a4467fc059e48","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-1.1.2.tgz","integrity":"sha512-t55B/T27s6X0YO8xPtHj6rgigQ4EVUEgxLNZNOLCNVbc3A7n/Y7U9sKufSxrGvds19Mrlivm+zRU5jLJIV2VLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGh5yZHbBal9fQRf9XoOBBWZ8x1vHCO+6nSUK+KPmYXUAiEAlVjfR2GUnkNK3veyE7iDWIG1gywMciRyYNR8WMJmttc="}]}},"1.1.3":{"name":"rest-js","version":"1.1.3","description":"Interact with a Rest-API. Works on client and server (node.js).","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node node_modules/jake/bin/cli.js test browser=none --trace"},"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"keywords":["rest"],"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"license":"MIT","bugs":{"url":"https://github.com/der-On/rest-js/issues"},"homepage":"https://github.com/der-On/rest-js","devDependencies":{"async":"0.8.0","browserify":"^6.3.3","ejs":"2.5.7","istanbul":"0.2.9","jake":"0.7.11","restify":"2.7.0","send":"0.16.1"},"dependencies":{"es6-promise":"^2.1.0","superagent":"^0.21.0"},"gitHead":"c45c42e2144a699ff18191364242fb51881f81f2","_id":"rest-js@1.1.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"ondrej","email":"info@anzui.de"},"maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"dist":{"integrity":"sha512-ga2YYUXkpP6pq88BvOrkyrs3+05PFWFTkuyrCPprcguZvG4fOZcAogNGIKY/s1FnRXOOonznjVliDWNmnFYu1A==","shasum":"422c406995101d639dfc31bafd1572d814e6c31b","tarball":"https://registry.npmjs.org/rest-js/-/rest-js-1.1.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtX085hWexU+gcNAIZAUrUAfjK4QM6wwCzxa50gsBq5AiEA0nKG2oL32di+KmDRrS/n0Y6FmaFb+2WS/Uz0enfReMA="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rest-js-1.1.3.tgz_1512220533207_0.6240282801445574"}}},"readme":"rest.js\n=======\n\n[![Build Status](https://travis-ci.org/der-On/rest-js.svg?branch=master)](https://travis-ci.org/der-On/rest-js)\n\nInteract with a Rest-API. Works on client (browser) and server (node.js).\n\n## Installation\n\n    $ npm install rest-js\n\n## Running tests\n\nIf not done yet you first need to install the global dependencies:\n\n    $ npm install -g jake browserify brfs istanbul\n\nThen to run the tests do:\n\n    $ jake test\n\nTo run the test with code coverage:\n\n    $ istanbul cover jake test\n\nBy default Browser-sides tests will run in the chrome browser.\nYou can override the browser(s) to use by providing a \"browser\" option containing a comma seperated list of browser executables:\n\n    $ jake test browser=chrome,firefox\n\nTo skip browser testing do:\n\n    $ jake test browser=none\n\n## Usage\n\n```javascript\nvar rest = require('rest-js');\n\nvar restApi = rest('https://api.github.com/', {\n  crossDomain: true\n});\n\nrestApi.read('users/der-On/repos', function(error, data) {\n  ...\n});\n```\n\nAll methods also return a promise.\n\n## CRUD methods\n\n```javascript\nrestApi.read('/cats', [options, callback]); // GET -> /cats\nrestApi.get(/*...*/); // alias to .read\n\nrestApi.remove('/cats/10', [options, callback]); // DELETE -> /cats/10\nrestApi.del(/*...*/); // alias to .remove\n\nrestApi.create('/cats', [options, callback]); // POST -> /cats\nrestApi.post(/*...*/); // alias to .create\n\nrestApi.update('/cats/10', [options, callback]); // PUT -> /cats/10\nrestApi.put(/*...*/); // alias to .update\n```\n\nYou can also send a rest-request with any available HTTP method using\n\n```javascript\nrestApi.request(method, path, [option, callback]);\n```\n\n## Passing data\n\nYou can pass a data-Object within the options.\n\n```javascript\nrestApi.create('/cats', {\n    data: { name: 'Minka', age: 4 }\n}, function(error, data) {\n    ...\n});\n```\n\n## Available constructor options\n\n```javascript\nvar restApi = rest('https://api.github.com/', {\n    defaultParams: { ... }, // parameters that should be send with every request\n    defaultFormat: 'json', // (default = 'json') default file format to use, will be appended as a suffix to the requested path (e.g. /cats -> /cats.json)\n    defaultDataType: 'json', // (default = 'json') default expected data type\n    crossDomain: false, // (default = false)\n    cacheLifetime: 5000, // (default = 0) lifetime of URL based response cache in ms (only GET requests are cached). If set to 0 no caching will happen.\n});\n```\n\n## Middlewares\n\nMiddlewares or filters allow transormation or manipulation of request and response data.\n\nThey are simple callback functions that get passed two or more parameters.\n\nThe last parameter is always a callback function that needs to be called, once the filter has done it's work.\nIf you pass an error to the callback it will be passed to the error middleware.\n\n- if using two parameters: request, next\n- if using three parameters: request, response, next\n- if using four parameters: error, request, response, next\n\nMiddlewares are executed in the same order they got appended.\nSo if a previously appended middleware executes you get passed the already transformed data in the next middleware.\n\nExample:\n\n```javascript\nrestApi.use(function(request, next) {\n\tvar transformedUrl = request.url.replace('bar', 'foo');\n\tnexst();\n});\n```\n\nYou can add middlewares using the `.use()` method:\n\n```javascript\nrestApi.use(callback);  // add a middleware\n```\n\nYou can also remove already appended filters:\n\n```javascript\nrestApi.unuse(callback); // remove a middleware\n```\n\nRest auto appends the following filters already:\n\n1. **Method-Fallback** middleware that adds the '_method' URL parameter containing the method to use for the request. This is an approved convention to workaround the missing capabilities of browsers to send others then GET and POST requests.\n\n2. **JSON Request-Data** middleware that tries to stringify outgoing data to JSON if the request data type is 'json'.\n\n3. **JSON Response-Data** middleware that tries to parse incoming response data using JSON.stringify() if the expecte response data type is 'json'.\n\n4. **Generic Error** middleware that creates an error for each response with a status code >= 400. It tries to detect the error message from the response data.\n\n## Available request options\n\nYou can pass in options for each CRUD method or Rest.request(). These options are as follows:\n\n```javascript\nrestApi.read('/cats', {\n\tbaseUrl: \"...\", // override the baseUrl passed to the Rest() constructor\n\tformat: \"json\", // file format (will be attached as suffix to the URL, e.g. /cats -> /cats.json)\n\tquery: {...}, // query object\n\tsort: {...}, // sort object, keys are property names and values either 'asc' or 'desc'\n\tlimit: 10, // limit number of results, translates to the URL parameter 'limit'\n\toffset: 100, // skip first N results, translates to the URL parameter 'offset'\n\tskip: 100, // same as offset, but translates to the URL parameter 'skip'\n\tpage: 10, // display page N of results, when using pagination, translates to the URL parameter 'page'\n\tperPage: 100, // display N results per page, when using pagination, translates to the URL parameter 'perPage'\n\tparams: {...}, // all additional URL parameters to be send with the request\n\theaders: {...}, // additional request headers\n\tnocase: true, // (default = false) if true, case insensitive queries are created, translates to the URL parameter 'nocase'\n\tdata: {...}, // data to be send with the request body (only for POST, PUT, UPDATE requests)\n\tforceUncached: true, // (default = true) if true a timestamp parameter will be attached to the URL to prevent agressive browser caching\n\tdataType: 'json', // the datatype to expect from the server, it will try to convert to this datatype. Possible values are: 'xml', 'html', 'json', 'jsonp', 'script', 'text', 'binary'\n\tcrossDomain: true, // (default = false)\n    noCache: true, // (default = false) if true the response data will not be cached, even if the request cache is enabled\n}, function(error, data) {\n\t...\n});\n```\n","maintainers":[{"name":"ondrej","email":"info@anzui.de"}],"time":{"modified":"2022-06-26T12:02:50.830Z","created":"2014-05-28T19:44:17.369Z","0.0.1":"2014-05-28T19:44:17.369Z","0.0.2":"2014-05-28T19:45:36.627Z","0.0.3":"2014-05-29T18:23:42.398Z","0.0.4":"2014-06-04T17:35:16.563Z","0.0.5":"2014-06-04T18:08:13.798Z","0.0.7":"2014-08-22T14:17:49.936Z","0.0.8":"2014-11-29T21:29:59.497Z","0.0.9":"2014-11-29T22:08:36.226Z","0.0.10":"2015-02-12T10:42:35.007Z","0.0.11":"2015-02-12T11:14:07.419Z","0.0.12":"2015-02-13T19:49:08.539Z","0.0.13":"2015-04-07T13:22:16.900Z","0.0.14":"2015-04-07T13:42:47.268Z","0.0.15":"2015-04-13T12:09:14.089Z","0.0.16":"2015-04-16T08:14:07.866Z","0.1.0":"2015-04-16T20:57:21.325Z","0.1.1":"2015-04-16T21:19:09.170Z","0.1.2":"2015-04-16T21:26:07.678Z","0.1.3":"2015-09-16T18:44:19.018Z","1.0.0":"2015-10-07T12:49:10.792Z","1.1.0":"2015-10-07T13:19:37.739Z","1.1.1":"2015-10-07T13:25:24.424Z","1.1.2":"2015-10-14T13:39:54.698Z","1.1.3":"2017-12-02T13:15:33.293Z"},"homepage":"https://github.com/der-On/rest-js","keywords":["rest"],"repository":{"type":"git","url":"git://github.com/der-On/rest-js.git"},"author":{"name":"Ondrej Brinkel","email":"info@anzui.de","url":"http://www.anzui.de"},"bugs":{"url":"https://github.com/der-On/rest-js/issues"},"license":"MIT","readmeFilename":"README.md","users":{"temasm":true,"brandonpapworth":true,"bapinney":true}}