{"_id":"superagent-promise","_rev":"33-af921515e4c5e7e7190bede73d483b3b","name":"superagent-promise","description":"superagent promise wrapper","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.0":{"name":"superagent-promise","version":"0.0.0","description":"superagent promise wrapper","main":"index.js","scripts":{"test":"./node_modules/.bin/mocha --ui tdd index_test.js"},"repository":{"type":"git","url":"git://github.com/lightsofapollo/superagent-promise.git"},"keywords":["superagent","promise","http"],"author":{"name":"James Lal [:lightsofapollo]"},"license":"MIT","bugs":{"url":"https://github.com/lightsofapollo/superagent-promise/issues"},"peerDependencies":{"superagent":">= 0.16.0","promise":">= 3.2.0"},"devDependencies":{"mocha":"~1.17.1"},"_id":"superagent-promise@0.0.0","dist":{"shasum":"c388150635bf03066622648c6407a7de991aef89","tarball":"https://registry.npmjs.org/superagent-promise/-/superagent-promise-0.0.0.tgz","integrity":"sha512-u/CIaBYuI6MVnNIfRM5JXeV1gTCPLs4Re/t1Po42KTRshleZSjHVU9b2/HxQp8d6WM7MqXM8F3llgVH2CRtsPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjOiNfliQO5Pos7s0X6NOSjbfFNRiPzFGbBgl/658cyAiEAo6RukntXwvYnpCx3Palwn2ElAu/04hRVJSxMWrKypWw="}]},"_from":".","_npmVersion":"1.3.7","_npmUser":{"name":"lights-of-apollo","email":"james@lightsofapollo.com"},"maintainers":[{"name":"lights-of-apollo","email":"james@lightsofapollo.com"}]},"0.1.0":{"name":"superagent-promise","version":"0.1.0","description":"superagent promise wrapper","main":"index.js","scripts":{"test":"mocha --ui tdd index_test.js"},"repository":{"type":"git","url":"git://github.com/lightsofapollo/superagent-promise.git"},"keywords":["superagent","promise","http"],"author":{"name":"James Lal [:lightsofapollo]"},"license":"MIT","bugs":{"url":"https://github.com/lightsofapollo/superagent-promise/issues"},"peerDependencies":{"superagent":">= 0.16.0","promise":">= 3.2.0"},"devDependencies":{"mocha":"~1.17.1","superagent":">= 0.16.0","promise":">= 3.2.0","debug":"0.7.4"},"homepage":"https://github.com/lightsofapollo/superagent-promise","_id":"superagent-promise@0.1.0","dist":{"shasum":"39bbfc7c2304dced1c078205ef90efbe66cadb5d","tarball":"https://registry.npmjs.org/superagent-promise/-/superagent-promise-0.1.0.tgz","integrity":"sha512-nfGyX4JeaDj01bkwx1BT8mgVQRqA/3MgoANnMdjt8jcalGdOG/PU29pORqWaWSH6BPz6ssf7XvhzOHfNjO+AuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID/TNc1vcOY7abJa2foDevvdWUcMJoFuFJ42+xRNMGL7AiALAqAr9zXYB3JEYzm/xxOVM7ZHHVSCBzhZjMbge/Tp2g=="}]},"_from":".","_npmVersion":"1.3.26","_npmUser":{"name":"lights-of-apollo","email":"james@lightsofapollo.com"},"maintainers":[{"name":"lights-of-apollo","email":"james@lightsofapollo.com"}]},"0.1.1":{"name":"superagent-promise","version":"0.1.1","description":"superagent promise wrapper","main":"index.js","scripts":{"test":"mocha --ui tdd index_test.js"},"repository":{"type":"git","url":"git://github.com/lightsofapollo/superagent-promise.git"},"keywords":["superagent","promise","http"],"author":{"name":"James Lal [:lightsofapollo]"},"license":"MIT","bugs":{"url":"https://github.com/lightsofapollo/superagent-promise/issues"},"peerDependencies":{"superagent":">= 0.16.0","promise":">= 3.2.0"},"devDependencies":{"browser-test":"0.0.0-alpha.2","component":"^1.0.0-rc5","debug":"0.7.4","mocha":"~1.17.1","node-static":"^0.7.3","promise":">= 3.2.0","superagent":">= 0.16.0"},"homepage":"https://github.com/lightsofapollo/superagent-promise","_id":"superagent-promise@0.1.1","_shasum":"6292fd22a780090cfb43bbeb589da0c3f1da44b7","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lights-of-apollo","email":"james@lightsofapollo.com"},"maintainers":[{"name":"lights-of-apollo","email":"james@lightsofapollo.com"}],"dist":{"shasum":"6292fd22a780090cfb43bbeb589da0c3f1da44b7","tarball":"https://registry.npmjs.org/superagent-promise/-/superagent-promise-0.1.1.tgz","integrity":"sha512-8NcpfIKFtBdlCnVhcIOuMY1TCMr3F6MppqtdFWPVPUB+bI7UOoH9qO3DAEV+rHOQ9sZwrXPkb8NZgbmR7U0kKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXor+2gdQfeKd9xXqbTGGJd3D2jgD/zmQ4QbQwmZM/jwIhAPyxdbpgyxo8V0Qx980EIpDb247mGgoEYg6+WFUEOjSR"}]}},"0.1.2":{"name":"superagent-promise","version":"0.1.2","description":"superagent promise wrapper","main":"index.js","scripts":{"test":"mocha --ui tdd index_test.js"},"repository":{"type":"git","url":"git://github.com/lightsofapollo/superagent-promise.git"},"keywords":["superagent","promise","http"],"author":{"name":"James Lal [:lightsofapollo]"},"license":"MIT","bugs":{"url":"https://github.com/lightsofapollo/superagent-promise/issues"},"peerDependencies":{"superagent":">= 0.16.0","promise":">= 3.2.0"},"devDependencies":{"browser-test":"0.0.0-alpha.2","component":"^1.0.0-rc5","debug":"0.7.4","mocha":"^1.20.1","node-static":"^0.7.3","promise":">= 3.2.0","superagent":">= 0.16.0"},"homepage":"https://github.com/lightsofapollo/superagent-promise","_id":"superagent-promise@0.1.2","_shasum":"a1abff51422c53732b6c1ed7d995debc39b88f57","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lights-of-apollo","email":"james@lightsofapollo.com"},"maintainers":[{"name":"lights-of-apollo","email":"james@lightsofapollo.com"}],"dist":{"shasum":"a1abff51422c53732b6c1ed7d995debc39b88f57","tarball":"https://registry.npmjs.org/superagent-promise/-/superagent-promise-0.1.2.tgz","integrity":"sha512-+O+mZOTwuZ4aOTE2qdFO1b1jiaJy6af6U/ozLeXMaeu7zyBhPO5RO+MQuoXHv8aYs+tRAZbfX6VKlydRZYK6Tw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5pp38blDr24jRuj/Tiyc6B3TWvMuwhFebkCn+B6K2rQIgS9u93Is82GXut4ImU59gRAs5fKrZTZspT7PVbU527Fg="}]}},"0.2.0":{"name":"superagent-promise","version":"0.2.0","description":"superagent promise wrapper","main":"index.js","scripts":{"test":"mocha --ui tdd index_test.js"},"repository":{"type":"git","url":"git://github.com/lightsofapollo/superagent-promise.git"},"keywords":["superagent","promise","http"],"author":{"name":"James Lal [:lightsofapollo]"},"license":"MIT","bugs":{"url":"https://github.com/lightsofapollo/superagent-promise/issues"},"peerDependencies":{"superagent":">= 0.16.0","promise":">= 3.2.0"},"devDependencies":{"browser-test":"0.0.0-alpha.2","component":"^1.0.0-rc5","debug":"0.7.4","mocha":"^1.20.1","node-static":"^0.7.3","promise":">= 3.2.0","superagent":">= 0.16.0"},"homepage":"https://github.com/lightsofapollo/superagent-promise","_id":"superagent-promise@0.2.0","_shasum":"91c77f4cb0c9cf41beeb917d8add697f6d15caea","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"lights-of-apollo","email":"james@lightsofapollo.com"},"maintainers":[{"name":"lights-of-apollo","email":"james@lightsofapollo.com"},{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"gregarndt","email":"garndt@mozilla.com"}],"dist":{"shasum":"91c77f4cb0c9cf41beeb917d8add697f6d15caea","tarball":"https://registry.npmjs.org/superagent-promise/-/superagent-promise-0.2.0.tgz","integrity":"sha512-WDKo+t+GXgTXu8GUGBRgAIVGcL0uFTWYfZUy7fG0Pdy16tSPysGmecm5zNcsHc7TRyT8p122HaxmGV831UjCBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8yzihCTZcmawY57fC9y0fw4fvSKHw5EtC4UVinM2k2QIhAK794WllgSK5CtdChsq+JHir96jVI6jiQcRtZMaVeAtZ"}]}},"1.0.0":{"name":"superagent-promise","version":"1.0.0","description":"superagent promise wrapper","main":"index.js","scripts":{"test":"mocha --ui tdd index_test.js"},"repository":{"type":"git","url":"git://github.com/lightsofapollo/superagent-promise.git"},"keywords":["superagent","promise","http"],"author":{"name":"James Lal [:lightsofapollo]"},"license":"MIT","bugs":{"url":"https://github.com/lightsofapollo/superagent-promise/issues"},"devDependencies":{"browser-test":"0.0.0-alpha.2","chai":"^2.3.0","component":"^1.1.0","debug":"2.2.0","es6-promise":"^2.1.1","mocha":"^2.2.5","node-static":"^0.7.6","superagent":">= 1.2.0"},"gitHead":"364d9f7ba81bc7fcb593b98258c89bbacc0e3ead","homepage":"https://github.com/lightsofapollo/superagent-promise","_id":"superagent-promise@1.0.0","_shasum":"8dd5b6394a1602fbfd84315ce5c44b1475bc9aa4","_from":".","_npmVersion":"2.7.3","_nodeVersion":"0.12.1","_npmUser":{"name":"clayreimann","email":"clayreimann@gmail.com"},"dist":{"shasum":"8dd5b6394a1602fbfd84315ce5c44b1475bc9aa4","tarball":"https://registry.npmjs.org/superagent-promise/-/superagent-promise-1.0.0.tgz","integrity":"sha512-Ym/9Xb/cju9nr6IaZoZj7AR7FUeSltayD5GZG0LF88uo0Laj27PLynWt2vm5HXfMj8N+/3TaabXQT3mTjRBC3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBqok87CpcKiuWbQFVhNWA1FrF+r3OeT/f/EYgaUtumCAiBZzvIvOa610vzGaU7rCex5ECufb3iHoxrH9YGFrZJdng=="}]},"maintainers":[{"name":"lights-of-apollo","email":"james@lightsofapollo.com"},{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"gregarndt","email":"garndt@mozilla.com"},{"name":"clayreimann","email":"clayreimann@gmail.com"}]},"1.0.3":{"name":"superagent-promise","version":"1.0.3","description":"superagent promise wrapper","main":"index.js","scripts":{"test":"mocha --ui tdd index_test.js"},"repository":{"type":"git","url":"git://github.com/lightsofapollo/superagent-promise.git"},"keywords":["superagent","promise","http"],"author":{"name":"James Lal [:lightsofapollo]"},"license":"MIT","bugs":{"url":"https://github.com/lightsofapollo/superagent-promise/issues"},"devDependencies":{"browser-test":"0.0.0-alpha.2","chai":"^2.3.0","component":"^1.1.0","debug":"2.2.0","es6-promise":"^2.1.1","mocha":"^2.2.5","node-static":"^0.7.6","superagent":">= 1.2.0"},"gitHead":"f4385e4627557caac2489d8e63f0762d05f6175c","homepage":"https://github.com/lightsofapollo/superagent-promise#readme","_id":"superagent-promise@1.0.3","_shasum":"5a5869e504adb0071eb3730e28bef5665160bb75","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"clayreimann","email":"clayreimann@gmail.com"},"dist":{"shasum":"5a5869e504adb0071eb3730e28bef5665160bb75","tarball":"https://registry.npmjs.org/superagent-promise/-/superagent-promise-1.0.3.tgz","integrity":"sha512-fj2Nm/qk6viZPUg4XvUSSiZ6Tuno/IGs4IvHwqJDo8Yhn2iEXiKi6IRi2PGAmmsrFkZxe4mv3r3NMvj7KXMjZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkzpS86SXF9CiWhh7Lt7fzSbmI9CH9wPnOYJ0AkSqz4gIhAKo8V4zHXkBQs+icZGrW2j3AZc9qzJJvLU25AfdpwgGI"}]},"maintainers":[{"name":"lights-of-apollo","email":"james@lightsofapollo.com"},{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"gregarndt","email":"garndt@mozilla.com"},{"name":"clayreimann","email":"clayreimann@gmail.com"}]},"1.1.0":{"name":"superagent-promise","version":"1.1.0","description":"superagent promise wrapper","main":"index.js","scripts":{"test":"mocha --ui tdd index_test.js"},"repository":{"type":"git","url":"git://github.com/lightsofapollo/superagent-promise.git"},"keywords":["superagent","promise","http"],"author":{"name":"James Lal [:lightsofapollo]"},"license":"MIT","bugs":{"url":"https://github.com/lightsofapollo/superagent-promise/issues"},"devDependencies":{"browser-test":"0.0.0-alpha.2","chai":"^2.3.0","component":"^1.1.0","debug":"2.2.0","es6-promise":"^2.1.1","mocha":"^2.2.5","node-static":"^0.7.6","superagent":">= 1.2.0"},"gitHead":"03184c6f735f75236932d0188eaf1dea0e14358d","homepage":"https://github.com/lightsofapollo/superagent-promise#readme","_id":"superagent-promise@1.1.0","_shasum":"baf22d8bbdd439a9b07dd10f8c08f54fe2503533","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"clayreimann","email":"clayreimann@gmail.com"},"dist":{"shasum":"baf22d8bbdd439a9b07dd10f8c08f54fe2503533","tarball":"https://registry.npmjs.org/superagent-promise/-/superagent-promise-1.1.0.tgz","integrity":"sha512-ZXdEHF2FAXKypICHFZDtdvHfzOiTgrCAaIAEj7kP9Q4NBlAeXwbN2UBjNQp9YIDLDpwu3mxIyMvW+tukY0IHKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh8XtP7wLp6V5FqanvcicJRhZEK+Wjn+OpekPy8LinQQIhAM0N3Bk5/CdNcpHC2K2zvi6r0vmRfVTuioWeGRrurCtG"}]},"maintainers":[{"name":"lights-of-apollo","email":"james@lightsofapollo.com"},{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"gregarndt","email":"garndt@mozilla.com"},{"name":"clayreimann","email":"clayreimann@gmail.com"}]}},"readme":"[![Build Status](https://img.shields.io/travis/lightsofapollo/superagent-promise/master.svg)](https://travis-ci.org/lightsofapollo/superagent-promise)\n\nsuperagent-promise\n==================\n\nSimple/dumb promise wrapper for superagent. You must depend on `superagent` and your favorite Promise library directly.\n\n\n## Usage\n\n```js\nvar Promise = this.Promise || require('promise');\nvar agent = require('superagent-promise')(require('superagent'), Promise);\n\n// method, url form with `end`\nagent('GET', 'http://google.com')\n  .end()\n  .then(function onResult(res) {\n    // do stuff\n  }, function onError(err) {\n    //err.response has the response from the server\n  });\n\n// method, url form with `then`\nagent('GET', 'http://google.com')\n  .then(function onResult(res) {\n    // do stuff\n  });\n\n\n// helper functions: options, head, get, post, put, patch, del\nagent.put('http://myxfoo', 'data')\n  .end()\n  .then(function(res) {\n    // do stuff`\n  });\n\n// helper functions: options, head, get, post, put, patch, del\nagent.put('http://myxfoo', 'data').\n  .then(function(res) {\n    // do stuff\n  });\n\n\n```\n","maintainers":[{"email":"clayreimann@gmail.com","name":"clayreimann"},{"email":"james@lightsofapollo.com","name":"lights-of-apollo"},{"email":"jopsen@gmail.com","name":"jonasfj"},{"email":"garndt@mozilla.com","name":"gregarndt"}],"time":{"modified":"2022-06-27T02:12:31.852Z","created":"2014-01-28T11:05:55.010Z","0.0.0":"2014-01-28T11:05:55.518Z","0.1.0":"2014-03-07T20:26:16.139Z","0.1.1":"2014-05-08T07:32:09.782Z","0.1.2":"2014-07-09T07:18:00.037Z","0.2.0":"2014-09-24T04:35:23.748Z","1.0.0":"2015-06-03T13:25:18.888Z","1.0.3":"2015-07-16T03:01:27.479Z","1.1.0":"2015-12-22T22:40:32.094Z"},"readmeFilename":"README.md","author":{"name":"James Lal [:lightsofapollo]"},"repository":{"type":"git","url":"git://github.com/lightsofapollo/superagent-promise.git"},"homepage":"https://github.com/lightsofapollo/superagent-promise#readme","keywords":["superagent","promise","http"],"bugs":{"url":"https://github.com/lightsofapollo/superagent-promise/issues"},"license":"MIT","users":{"markthethomas":true,"tait":true,"ddorfel79":true,"brunolemos":true,"mikestaub":true,"runjinz":true,"ktstowell":true,"hurerera":true,"sgvinci":true,"ganeshkbhat":true,"method76":true}}