{"_id":"nets","_rev":"27-f6097f7fb2c467e6d1272b4beb506884","name":"nets","description":"nothin but nets. http client that works in node and browsers","dist-tags":{"latest":"3.2.0"},"versions":{"1.0.0":{"name":"nets","version":"1.0.0","description":"nothin but nets. http client that works in node and browsers","main":"index.js","scripts":{"test":"node test.js"},"author":{"name":"max ogden"},"license":"ISC","browser":{"request":"xhr"},"dependencies":{"request":"^2.36.0","tape":"^2.13.1","xhr":"^1.6.1"},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/maxogden/nets.git"},"bugs":{"url":"https://github.com/maxogden/nets/issues"},"homepage":"https://github.com/maxogden/nets","testling":{"files":"test.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest"]},"_id":"nets@1.0.0","_shasum":"04fb43edf2f7f2e876aa6ea89e1ffd99393cf775","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"dist":{"shasum":"04fb43edf2f7f2e876aa6ea89e1ffd99393cf775","tarball":"https://registry.npmjs.org/nets/-/nets-1.0.0.tgz","integrity":"sha512-hKBqpBioNtcCtO90wt+r0DktUD1QwUJqIEh23KUJVK+en6zrr5XWAsQS6xyYxE4wJoOmJTmXESodopzGtG0k2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+LRMpCdwxh+j4ElPbyUmjYCSA1+ZH2Fzu/xfOr1ID/wIgI0z2hetNGYb2yWmH/8YXIPcSqcy1TLBt9zCMw/fP7G8="}]}},"2.0.0":{"name":"nets","version":"2.0.0","description":"nothin but nets. http client that works in node and browsers","main":"index.js","scripts":{"test":"node test.js"},"author":{"name":"max ogden"},"license":"ISC","browser":{"request":"xhr"},"dependencies":{"request":"^2.36.0","tape":"^2.13.1","xhr":"^1.6.1"},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/maxogden/nets.git"},"bugs":{"url":"https://github.com/maxogden/nets/issues"},"homepage":"https://github.com/maxogden/nets","testling":{"files":"test.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest"]},"gitHead":"b5feb6806f88d3b9eebbf6956ceb567676e42c18","_id":"nets@2.0.0","_shasum":"47213f6b7bd8763ccb0a352462a1d6648bb735a9","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.28","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"dist":{"shasum":"47213f6b7bd8763ccb0a352462a1d6648bb735a9","tarball":"https://registry.npmjs.org/nets/-/nets-2.0.0.tgz","integrity":"sha512-KZK6lFeOjJ3dCjKxQLUvaQgKVNU3gIbGtDp37gcNmw6C2DWcL1srR98r8nHaUY75aQmYZqMIJGFVMiB0mMhPGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI62RWFBKUx7JOJwJgpg/AWMGlVUDOukNacX/rkl9OgwIhALhpFv24fGiewWAGuAoObquxG8lfYBw4rQ3FdVvkyRpM"}]}},"3.0.0":{"name":"nets","version":"3.0.0","description":"nothin but nets. http client that works in node and browsers","main":"index.js","scripts":{"test":"standard && node test.js"},"author":{"name":"max ogden"},"license":"ISC","browser":{"request":"xhr"},"dependencies":{"request":"^2.53.0","tape":"^2.13.1","xhr":"^2.0.1"},"devDependencies":{"standard":"^3.0.0-beta"},"repository":{"type":"git","url":"https://github.com/maxogden/nets.git"},"bugs":{"url":"https://github.com/maxogden/nets/issues"},"homepage":"https://github.com/maxogden/nets","testling":{"files":"test.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest"]},"gitHead":"0d449732c3da38db478c0303c9bb4bcf1ff5d5f3","_id":"nets@3.0.0","_shasum":"dc72d5fdf0a0bd005e9b64a4f2afaee38783510f","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.10.35","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"dist":{"shasum":"dc72d5fdf0a0bd005e9b64a4f2afaee38783510f","tarball":"https://registry.npmjs.org/nets/-/nets-3.0.0.tgz","integrity":"sha512-dKVpZ9OB6lgrhuHjWQXOdFgEVDyEUqqc6L8g7IipTRF21wealXLRXDJ+uyDbBOU4PxV3oZuzDl+2F3PfW3Rqqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoDAgW8t2fVrBqYowz2CIr7aeObxvO8tki2CfgAqsO7AIgYjRumGhZnNE08GNMqzlV3OZyiiVbzJqOgEdbzEoSM4Y="}]}},"3.1.0":{"name":"nets","version":"3.1.0","description":"nothin but nets. http client that works in node and browsers","main":"index.js","scripts":{"test":"standard && node test.js"},"author":{"name":"max ogden"},"license":"ISC","browser":{"request":"xhr"},"dependencies":{"request":"^2.53.0","xhr":"^2.0.1"},"devDependencies":{"tape":"^2.13.1","standard":"^3.0.0-beta"},"repository":{"type":"git","url":"https://github.com/maxogden/nets.git"},"bugs":{"url":"https://github.com/maxogden/nets/issues"},"homepage":"https://github.com/maxogden/nets","testling":{"files":"test.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest"]},"gitHead":"6a5d345c31a15767f33436a7776f95d15c6fd5f6","_id":"nets@3.1.0","_shasum":"ade3ddf802f175cbb06486debd0412e5e49c5858","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.10.35","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"},{"name":"zeke","email":"zeke@npmjs.com"}],"dist":{"shasum":"ade3ddf802f175cbb06486debd0412e5e49c5858","tarball":"https://registry.npmjs.org/nets/-/nets-3.1.0.tgz","integrity":"sha512-OgzdHSSGAwu0IrWrewKgkEznUKAfS7rJ1qWEF+ofqZL/vKssxhl2TlYK/KJLxYppSMerc8s+J2lwyuaD5pLSkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGe01djpr/hK0rvmt5awXrOrTFCBIf/NxHOaA0AqYpqwIgZ14aqQZ0ursm9S3BMTJ8buAT8K7RXMKD4ZkP7mfaBsI="}]}},"3.2.0":{"name":"nets","version":"3.2.0","description":"nothin but nets. http client that works in node and browsers","main":"index.js","scripts":{"test":"standard && node test.js"},"author":{"name":"max ogden"},"license":"ISC","browser":{"request":"xhr"},"dependencies":{"request":"^2.65.0","xhr":"^2.1.0"},"devDependencies":{"tape":"^2.13.1","standard":"^3.0.0-beta"},"repository":{"type":"git","url":"git+https://github.com/maxogden/nets.git"},"bugs":{"url":"https://github.com/maxogden/nets/issues"},"homepage":"https://github.com/maxogden/nets","testling":{"files":"test.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest"]},"gitHead":"2e2050a5bc3670359a7395942afa5da5ec66bad1","_id":"nets@3.2.0","_shasum":"d511fbab7af11da013f21b97ee91747d33852d38","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"zeke","email":"zeke@sikelianos.com"},"dist":{"shasum":"d511fbab7af11da013f21b97ee91747d33852d38","tarball":"https://registry.npmjs.org/nets/-/nets-3.2.0.tgz","integrity":"sha512-5644wFwLQzom2zx/4CzQXO8OcOADf1otKe5vUvfAqXes18gruSv18wGIBHlNclTGQuOOLgzGPYKen26tfNIfBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHtP94BJNB9iiD+HBihK1yLhpf0q/4CNYds5BVVhXSBhAiAoBeS+TBIbPF91qxXcCVpH+8rSOUWpW3aBNcidxDNNGQ=="}]},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"},{"name":"zeke","email":"zeke@npmjs.com"}]}},"readme":"# nets\n\nMac/Linux | Windows\n------------ | --------------\n[![Travis](http://img.shields.io/travis/maxogden/nets.svg?style=flat)](https://travis-ci.org/maxogden/nets) | [![Build status](http://ci.appveyor.com/api/projects/status/vo5hdm5sdwaf7ss2)](https://ci.appveyor.com/project/maxogden/nets)\n\n[![js-standard-style](https://raw.githubusercontent.com/feross/standard/master/badge.png)](https://github.com/feross/standard)\n\nNothin but nets. HTTP client that works the same in node and browsers\n\nUses [xhr](https://www.npmjs.org/package/xhr) for browsers and [request](https://www.npmjs.org/package/request) for node\n\n#### get\n\n```js\nvar nets = require(\"nets\")\n\nnets({ url: \"http://placekitten.com/g/400/400\" }, function(err, resp, body) {\n  // body is a Buffer containing the image\n})\n```\n\nNote that `nets` returns data as [`Buffer`](http://nodejs.org/api/buffer.html)s by default, in both node and in browsers. You can pass `{encoding: undefined}` to turn this off.\n\n#### post\n\n```js\nvar nets = require(\"nets\")\n\nnets({\n  body: '{\"foo\": \"bar\"}',\n  url: \"/foo\",\n  method: \"POST\",\n  headers: {\n    \"Content-Type\": \"application/json\"\n  }\n}, function done (err, resp, body) {\n\n})\n```\n","maintainers":[{"email":"max@maxogden.com","name":"maxogden"},{"email":"zeke@sikelianos.com","name":"zeke"}],"time":{"modified":"2022-06-21T01:08:39.889Z","created":"2014-05-21T13:50:36.795Z","1.0.0":"2014-05-21T13:50:36.795Z","2.0.0":"2014-11-25T17:35:45.454Z","3.0.0":"2015-03-10T18:38:09.087Z","3.1.0":"2015-03-10T18:43:10.946Z","3.1.1":"2015-10-19T21:58:15.573Z","3.2.0":"2015-10-19T22:01:08.633Z"},"homepage":"https://github.com/maxogden/nets","repository":{"type":"git","url":"git+https://github.com/maxogden/nets.git"},"author":{"name":"max ogden"},"bugs":{"url":"https://github.com/maxogden/nets/issues"},"license":"ISC","readmeFilename":"readme.md","users":{"axelav":true,"zeke":true,"bret":true,"nichoth":true,"genovo":true,"akiva":true,"slurm":true,"shriek":true}}