| 1 |
{ |
| 2 |
"_id": "clone-response", |
| 3 |
"_rev": "9-7ee1757c8e8a45333fe2de2f57654fd5", |
| 4 |
"name": "clone-response", |
| 5 |
"description": "Clone a Node.js HTTP response stream", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "1.0.2" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.0.0": { |
| 11 |
"name": "clone-response", |
| 12 |
"version": "0.0.0", |
| 13 |
"description": "Clone a Node.js response object", |
| 14 |
"main": "src/index.js", |
| 15 |
"scripts": { |
| 16 |
"test": "xo && nyc ava", |
| 17 |
"coverage": "nyc report --reporter=text-lcov | coveralls" |
| 18 |
}, |
| 19 |
"xo": { |
| 20 |
"extends": "xo-lukechilds" |
| 21 |
}, |
| 22 |
"repository": { |
| 23 |
"type": "git", |
| 24 |
"url": "git+https://github.com/lukechilds/clone-response.git" |
| 25 |
}, |
| 26 |
"keywords": [ |
| 27 |
"async", |
| 28 |
"asynchronous", |
| 29 |
"non-blocking", |
| 30 |
"base64", |
| 31 |
"encode", |
| 32 |
"decode" |
| 33 |
], |
| 34 |
"author": { |
| 35 |
"name": "Luke Childs", |
| 36 |
"email": "[email protected]", |
| 37 |
"url": "http://lukechilds.co.uk" |
| 38 |
}, |
| 39 |
"license": "MIT", |
| 40 |
"bugs": { |
| 41 |
"url": "https://github.com/lukechilds/clone-response/issues" |
| 42 |
}, |
| 43 |
"homepage": "https://github.com/lukechilds/clone-response", |
| 44 |
"dependencies": {}, |
| 45 |
"devDependencies": { |
| 46 |
"ava": "^0.19.1", |
| 47 |
"coveralls": "^2.13.1", |
| 48 |
"eslint-config-xo-lukechilds": "^1.0.0", |
| 49 |
"nyc": "^10.3.2", |
| 50 |
"xo": "^0.19.0" |
| 51 |
}, |
| 52 |
"gitHead": "eb11503122152fc224e75593d56eecf1e9e0bba6", |
| 53 |
"_id": "[email protected]", |
| 54 |
"_npmVersion": "5.0.0", |
| 55 |
"_nodeVersion": "8.0.0", |
| 56 |
"_npmUser": { |
| 57 |
"name": "lukechilds", |
| 58 |
"email": "[email protected]" |
| 59 |
}, |
| 60 |
"dist": { |
| 61 |
"integrity": "sha512-Zze/x9w0nRaaCi2+hgU5GkmzT4D0izCj89YGIGiteCVDFqs5nXdw6gIvZ3XgKDTEnZTVqR0XfyucdH+rL7sz2A==", |
| 62 |
"shasum": "14c14a912cc34fba56c3ddb996ac3e70aec17b0f", |
| 63 |
"tarball": "https://registry.npmjs.org/clone-response/-/clone-response-0.0.0.tgz" |
| 64 |
}, |
| 65 |
"maintainers": [ |
| 66 |
{ |
| 67 |
"name": "lukechilds", |
| 68 |
"email": "[email protected]" |
| 69 |
} |
| 70 |
], |
| 71 |
"_npmOperationalInternal": { |
| 72 |
"host": "s3://npm-registry-packages", |
| 73 |
"tmp": "tmp/clone-response-0.0.0.tgz_1496313212628_0.3775720295961946" |
| 74 |
}, |
| 75 |
"directories": {} |
| 76 |
}, |
| 77 |
"0.1.0": { |
| 78 |
"name": "clone-response", |
| 79 |
"version": "0.1.0", |
| 80 |
"description": "Clone a Node.js response object", |
| 81 |
"main": "src/index.js", |
| 82 |
"scripts": { |
| 83 |
"test": "xo && nyc ava", |
| 84 |
"coverage": "nyc report --reporter=text-lcov | coveralls" |
| 85 |
}, |
| 86 |
"xo": { |
| 87 |
"extends": "xo-lukechilds" |
| 88 |
}, |
| 89 |
"repository": { |
| 90 |
"type": "git", |
| 91 |
"url": "git+https://github.com/lukechilds/clone-response.git" |
| 92 |
}, |
| 93 |
"keywords": [ |
| 94 |
"async", |
| 95 |
"asynchronous", |
| 96 |
"non-blocking", |
| 97 |
"base64", |
| 98 |
"encode", |
| 99 |
"decode" |
| 100 |
], |
| 101 |
"author": { |
| 102 |
"name": "Luke Childs", |
| 103 |
"email": "[email protected]", |
| 104 |
"url": "http://lukechilds.co.uk" |
| 105 |
}, |
| 106 |
"license": "MIT", |
| 107 |
"bugs": { |
| 108 |
"url": "https://github.com/lukechilds/clone-response/issues" |
| 109 |
}, |
| 110 |
"homepage": "https://github.com/lukechilds/clone-response", |
| 111 |
"dependencies": {}, |
| 112 |
"devDependencies": { |
| 113 |
"ava": "^0.19.1", |
| 114 |
"coveralls": "^2.13.1", |
| 115 |
"create-test-server": "^0.1.0", |
| 116 |
"eslint-config-xo-lukechilds": "^1.0.0", |
| 117 |
"get-stream": "^3.0.0", |
| 118 |
"nyc": "^10.3.2", |
| 119 |
"rfpify": "^1.0.0", |
| 120 |
"xo": "^0.19.0" |
| 121 |
}, |
| 122 |
"gitHead": "cb68480b467474ee01fe521d016a557a68c440a3", |
| 123 |
"_id": "[email protected]", |
| 124 |
"_npmVersion": "5.0.0", |
| 125 |
"_nodeVersion": "8.0.0", |
| 126 |
"_npmUser": { |
| 127 |
"name": "lukechilds", |
| 128 |
"email": "[email protected]" |
| 129 |
}, |
| 130 |
"dist": { |
| 131 |
"integrity": "sha512-ts+zUMLrGd9f3iO9LUk+qEcKJSiP4tqO+1Oli6RSlx5Ha4b2cI5QScz9SAzjaslBicOMQOz76L28zdikidqXvA==", |
| 132 |
"shasum": "ee9ba731a99c70668b006eaebf3f1503df40836a", |
| 133 |
"tarball": "https://registry.npmjs.org/clone-response/-/clone-response-0.1.0.tgz" |
| 134 |
}, |
| 135 |
"maintainers": [ |
| 136 |
{ |
| 137 |
"name": "lukechilds", |
| 138 |
"email": "[email protected]" |
| 139 |
} |
| 140 |
], |
| 141 |
"_npmOperationalInternal": { |
| 142 |
"host": "s3://npm-registry-packages", |
| 143 |
"tmp": "tmp/clone-response-0.1.0.tgz_1496390670787_0.1935164975002408" |
| 144 |
}, |
| 145 |
"directories": {} |
| 146 |
}, |
| 147 |
"0.1.1": { |
| 148 |
"name": "clone-response", |
| 149 |
"version": "0.1.1", |
| 150 |
"description": "Clone a Node.js response object", |
| 151 |
"main": "src/index.js", |
| 152 |
"scripts": { |
| 153 |
"test": "xo && nyc ava", |
| 154 |
"coverage": "nyc report --reporter=text-lcov | coveralls" |
| 155 |
}, |
| 156 |
"xo": { |
| 157 |
"extends": "xo-lukechilds" |
| 158 |
}, |
| 159 |
"repository": { |
| 160 |
"type": "git", |
| 161 |
"url": "git+https://github.com/lukechilds/clone-response.git" |
| 162 |
}, |
| 163 |
"keywords": [ |
| 164 |
"async", |
| 165 |
"asynchronous", |
| 166 |
"non-blocking", |
| 167 |
"base64", |
| 168 |
"encode", |
| 169 |
"decode" |
| 170 |
], |
| 171 |
"author": { |
| 172 |
"name": "Luke Childs", |
| 173 |
"email": "[email protected]", |
| 174 |
"url": "http://lukechilds.co.uk" |
| 175 |
}, |
| 176 |
"license": "MIT", |
| 177 |
"bugs": { |
| 178 |
"url": "https://github.com/lukechilds/clone-response/issues" |
| 179 |
}, |
| 180 |
"homepage": "https://github.com/lukechilds/clone-response", |
| 181 |
"dependencies": {}, |
| 182 |
"devDependencies": { |
| 183 |
"ava": "^0.19.1", |
| 184 |
"coveralls": "^2.13.1", |
| 185 |
"create-test-server": "^0.1.0", |
| 186 |
"eslint-config-xo-lukechilds": "^1.0.0", |
| 187 |
"get-stream": "^3.0.0", |
| 188 |
"nyc": "^10.3.2", |
| 189 |
"rfpify": "^1.0.0", |
| 190 |
"xo": "^0.19.0" |
| 191 |
}, |
| 192 |
"gitHead": "86f4f00e61905a3921b0a4d43cccda8871b7dea4", |
| 193 |
"_id": "[email protected]", |
| 194 |
"_npmVersion": "5.0.0", |
| 195 |
"_nodeVersion": "8.0.0", |
| 196 |
"_npmUser": { |
| 197 |
"name": "lukechilds", |
| 198 |
"email": "[email protected]" |
| 199 |
}, |
| 200 |
"dist": { |
| 201 |
"integrity": "sha512-LfqdnW4bZ3A2jr8tL3GJANzfJ//mPCdNzPSIudkvtRuf1T4xd6vE9aj2KKr0px/7o+ldEiLPpq/sSAkYL6B8MQ==", |
| 202 |
"shasum": "6dc95e0ee70f7262585a8743587a327847b21519", |
| 203 |
"tarball": "https://registry.npmjs.org/clone-response/-/clone-response-0.1.1.tgz" |
| 204 |
}, |
| 205 |
"maintainers": [ |
| 206 |
{ |
| 207 |
"name": "lukechilds", |
| 208 |
"email": "[email protected]" |
| 209 |
} |
| 210 |
], |
| 211 |
"_npmOperationalInternal": { |
| 212 |
"host": "s3://npm-registry-packages", |
| 213 |
"tmp": "tmp/clone-response-0.1.1.tgz_1496390993550_0.6186737371608615" |
| 214 |
}, |
| 215 |
"directories": {} |
| 216 |
}, |
| 217 |
"0.2.0": { |
| 218 |
"name": "clone-response", |
| 219 |
"version": "0.2.0", |
| 220 |
"description": "Clone a Node.js response object", |
| 221 |
"main": "src/index.js", |
| 222 |
"scripts": { |
| 223 |
"test": "xo && nyc ava", |
| 224 |
"coverage": "nyc report --reporter=text-lcov | coveralls" |
| 225 |
}, |
| 226 |
"xo": { |
| 227 |
"extends": "xo-lukechilds" |
| 228 |
}, |
| 229 |
"repository": { |
| 230 |
"type": "git", |
| 231 |
"url": "git+https://github.com/lukechilds/clone-response.git" |
| 232 |
}, |
| 233 |
"keywords": [ |
| 234 |
"async", |
| 235 |
"asynchronous", |
| 236 |
"non-blocking", |
| 237 |
"base64", |
| 238 |
"encode", |
| 239 |
"decode" |
| 240 |
], |
| 241 |
"author": { |
| 242 |
"name": "Luke Childs", |
| 243 |
"email": "[email protected]", |
| 244 |
"url": "http://lukechilds.co.uk" |
| 245 |
}, |
| 246 |
"license": "MIT", |
| 247 |
"bugs": { |
| 248 |
"url": "https://github.com/lukechilds/clone-response/issues" |
| 249 |
}, |
| 250 |
"homepage": "https://github.com/lukechilds/clone-response", |
| 251 |
"dependencies": {}, |
| 252 |
"devDependencies": { |
| 253 |
"ava": "^0.19.1", |
| 254 |
"coveralls": "^2.13.1", |
| 255 |
"create-test-server": "^0.1.0", |
| 256 |
"eslint-config-xo-lukechilds": "^1.0.0", |
| 257 |
"get-stream": "^3.0.0", |
| 258 |
"nyc": "^10.3.2", |
| 259 |
"rfpify": "^1.0.0", |
| 260 |
"xo": "^0.19.0" |
| 261 |
}, |
| 262 |
"gitHead": "1e4c18b99aafee599260bfeb2eaa82ec36c13fc1", |
| 263 |
"_id": "[email protected]", |
| 264 |
"_npmVersion": "5.0.0", |
| 265 |
"_nodeVersion": "8.0.0", |
| 266 |
"_npmUser": { |
| 267 |
"name": "lukechilds", |
| 268 |
"email": "[email protected]" |
| 269 |
}, |
| 270 |
"dist": { |
| 271 |
"integrity": "sha512-Qi6+0zKEcRkehT6A5TFQ2rOfL7Q5qp9xHARvMiyXiNdLFdm6o2zbSqjEtnyTu/hvFRPJaLhFZNAiKXmtz+wW5w==", |
| 272 |
"shasum": "5cff071a359afc43c0199ba673356a948482cadb", |
| 273 |
"tarball": "https://registry.npmjs.org/clone-response/-/clone-response-0.2.0.tgz" |
| 274 |
}, |
| 275 |
"maintainers": [ |
| 276 |
{ |
| 277 |
"name": "lukechilds", |
| 278 |
"email": "[email protected]" |
| 279 |
} |
| 280 |
], |
| 281 |
"_npmOperationalInternal": { |
| 282 |
"host": "s3://npm-registry-packages", |
| 283 |
"tmp": "tmp/clone-response-0.2.0.tgz_1496392152797_0.6868132923264056" |
| 284 |
}, |
| 285 |
"directories": {} |
| 286 |
}, |
| 287 |
"0.2.1": { |
| 288 |
"name": "clone-response", |
| 289 |
"version": "0.2.1", |
| 290 |
"description": "Clone a Node.js response object", |
| 291 |
"main": "src/index.js", |
| 292 |
"scripts": { |
| 293 |
"test": "xo && nyc ava", |
| 294 |
"coverage": "nyc report --reporter=text-lcov | coveralls" |
| 295 |
}, |
| 296 |
"xo": { |
| 297 |
"extends": "xo-lukechilds" |
| 298 |
}, |
| 299 |
"repository": { |
| 300 |
"type": "git", |
| 301 |
"url": "git+https://github.com/lukechilds/clone-response.git" |
| 302 |
}, |
| 303 |
"keywords": [ |
| 304 |
"async", |
| 305 |
"asynchronous", |
| 306 |
"non-blocking", |
| 307 |
"base64", |
| 308 |
"encode", |
| 309 |
"decode" |
| 310 |
], |
| 311 |
"author": { |
| 312 |
"name": "Luke Childs", |
| 313 |
"email": "[email protected]", |
| 314 |
"url": "http://lukechilds.co.uk" |
| 315 |
}, |
| 316 |
"license": "MIT", |
| 317 |
"bugs": { |
| 318 |
"url": "https://github.com/lukechilds/clone-response/issues" |
| 319 |
}, |
| 320 |
"homepage": "https://github.com/lukechilds/clone-response", |
| 321 |
"dependencies": { |
| 322 |
"mimic-response": "^1.0.0" |
| 323 |
}, |
| 324 |
"devDependencies": { |
| 325 |
"ava": "^0.19.1", |
| 326 |
"coveralls": "^2.13.1", |
| 327 |
"create-test-server": "^0.1.0", |
| 328 |
"eslint-config-xo-lukechilds": "^1.0.0", |
| 329 |
"get-stream": "^3.0.0", |
| 330 |
"nyc": "^10.3.2", |
| 331 |
"pify": "^3.0.0", |
| 332 |
"xo": "^0.19.0" |
| 333 |
}, |
| 334 |
"gitHead": "9b1128d5758d4669d4f1b4db6ef6a7cb5495ed65", |
| 335 |
"_id": "[email protected]", |
| 336 |
"_npmVersion": "5.0.0", |
| 337 |
"_nodeVersion": "8.0.0", |
| 338 |
"_npmUser": { |
| 339 |
"name": "lukechilds", |
| 340 |
"email": "[email protected]" |
| 341 |
}, |
| 342 |
"dist": { |
| 343 |
"integrity": "sha512-CRslSnR3z9MQ/8MNShNRQBwTzI7SI1GWWRQEc8+/dgbefXUoD7/S3pZQhF1YeIS3237owLg5IFkuo52X4nBAEA==", |
| 344 |
"shasum": "b7b2fa85a083f5b4b467af31ee6a766ad99d9342", |
| 345 |
"tarball": "https://registry.npmjs.org/clone-response/-/clone-response-0.2.1.tgz" |
| 346 |
}, |
| 347 |
"maintainers": [ |
| 348 |
{ |
| 349 |
"name": "lukechilds", |
| 350 |
"email": "[email protected]" |
| 351 |
} |
| 352 |
], |
| 353 |
"_npmOperationalInternal": { |
| 354 |
"host": "s3://npm-registry-packages", |
| 355 |
"tmp": "tmp/clone-response-0.2.1.tgz_1496460501457_0.03791434480808675" |
| 356 |
}, |
| 357 |
"directories": {} |
| 358 |
}, |
| 359 |
"0.2.2": { |
| 360 |
"name": "clone-response", |
| 361 |
"version": "0.2.2", |
| 362 |
"description": "Clone a Node.js response object", |
| 363 |
"main": "src/index.js", |
| 364 |
"scripts": { |
| 365 |
"test": "xo && nyc ava", |
| 366 |
"coverage": "nyc report --reporter=text-lcov | coveralls" |
| 367 |
}, |
| 368 |
"xo": { |
| 369 |
"extends": "xo-lukechilds" |
| 370 |
}, |
| 371 |
"repository": { |
| 372 |
"type": "git", |
| 373 |
"url": "git+https://github.com/lukechilds/clone-response.git" |
| 374 |
}, |
| 375 |
"keywords": [ |
| 376 |
"clone", |
| 377 |
"duplicate", |
| 378 |
"copy", |
| 379 |
"response" |
| 380 |
], |
| 381 |
"author": { |
| 382 |
"name": "Luke Childs", |
| 383 |
"email": "[email protected]", |
| 384 |
"url": "http://lukechilds.co.uk" |
| 385 |
}, |
| 386 |
"license": "MIT", |
| 387 |
"bugs": { |
| 388 |
"url": "https://github.com/lukechilds/clone-response/issues" |
| 389 |
}, |
| 390 |
"homepage": "https://github.com/lukechilds/clone-response", |
| 391 |
"dependencies": { |
| 392 |
"mimic-response": "^1.0.0" |
| 393 |
}, |
| 394 |
"devDependencies": { |
| 395 |
"ava": "^0.19.1", |
| 396 |
"coveralls": "^2.13.1", |
| 397 |
"create-test-server": "^0.1.0", |
| 398 |
"eslint-config-xo-lukechilds": "^1.0.0", |
| 399 |
"get-stream": "^3.0.0", |
| 400 |
"nyc": "^10.3.2", |
| 401 |
"pify": "^3.0.0", |
| 402 |
"xo": "^0.19.0" |
| 403 |
}, |
| 404 |
"gitHead": "b942a1f08548c5d82ff6770ffa39a6a266fc223e", |
| 405 |
"_id": "[email protected]", |
| 406 |
"_npmVersion": "5.0.0", |
| 407 |
"_nodeVersion": "8.0.0", |
| 408 |
"_npmUser": { |
| 409 |
"name": "lukechilds", |
| 410 |
"email": "[email protected]" |
| 411 |
}, |
| 412 |
"dist": { |
| 413 |
"integrity": "sha512-fZt1B3Fj5A13LBBKcGQhmxEz1pQyG8SVMvWdC+4WEIpnZrvRsqDZDkiqmaT00HASlGDUxMxyGye/gH2LO2zWMA==", |
| 414 |
"shasum": "d8f8c277f7a4f22653585130bd834c2266c77c6e", |
| 415 |
"tarball": "https://registry.npmjs.org/clone-response/-/clone-response-0.2.2.tgz" |
| 416 |
}, |
| 417 |
"maintainers": [ |
| 418 |
{ |
| 419 |
"name": "lukechilds", |
| 420 |
"email": "[email protected]" |
| 421 |
} |
| 422 |
], |
| 423 |
"_npmOperationalInternal": { |
| 424 |
"host": "s3://npm-registry-packages", |
| 425 |
"tmp": "tmp/clone-response-0.2.2.tgz_1496468080100_0.45025671273469925" |
| 426 |
}, |
| 427 |
"directories": {} |
| 428 |
}, |
| 429 |
"1.0.0": { |
| 430 |
"name": "clone-response", |
| 431 |
"version": "1.0.0", |
| 432 |
"description": "Clone a Node.js HTTP response stream", |
| 433 |
"main": "src/index.js", |
| 434 |
"scripts": { |
| 435 |
"test": "xo && nyc ava", |
| 436 |
"coverage": "nyc report --reporter=text-lcov | coveralls" |
| 437 |
}, |
| 438 |
"xo": { |
| 439 |
"extends": "xo-lukechilds" |
| 440 |
}, |
| 441 |
"repository": { |
| 442 |
"type": "git", |
| 443 |
"url": "git+https://github.com/lukechilds/clone-response.git" |
| 444 |
}, |
| 445 |
"keywords": [ |
| 446 |
"clone", |
| 447 |
"duplicate", |
| 448 |
"copy", |
| 449 |
"response", |
| 450 |
"HTTP", |
| 451 |
"stream" |
| 452 |
], |
| 453 |
"author": { |
| 454 |
"name": "Luke Childs", |
| 455 |
"email": "[email protected]", |
| 456 |
"url": "http://lukechilds.co.uk" |
| 457 |
}, |
| 458 |
"license": "MIT", |
| 459 |
"bugs": { |
| 460 |
"url": "https://github.com/lukechilds/clone-response/issues" |
| 461 |
}, |
| 462 |
"homepage": "https://github.com/lukechilds/clone-response", |
| 463 |
"dependencies": { |
| 464 |
"mimic-response": "^1.0.0" |
| 465 |
}, |
| 466 |
"devDependencies": { |
| 467 |
"ava": "^0.19.1", |
| 468 |
"coveralls": "^2.13.1", |
| 469 |
"create-test-server": "^1.1.1", |
| 470 |
"eslint-config-xo-lukechilds": "^1.0.0", |
| 471 |
"get-stream": "^3.0.0", |
| 472 |
"nyc": "^10.3.2", |
| 473 |
"pify": "^3.0.0", |
| 474 |
"xo": "^0.19.0" |
| 475 |
}, |
| 476 |
"gitHead": "45bad5bda2ebcb5c510638273ba53147d61acd8f", |
| 477 |
"_id": "[email protected]", |
| 478 |
"_npmVersion": "5.0.3", |
| 479 |
"_nodeVersion": "8.0.0", |
| 480 |
"_npmUser": { |
| 481 |
"name": "lukechilds", |
| 482 |
"email": "[email protected]" |
| 483 |
}, |
| 484 |
"dist": { |
| 485 |
"integrity": "sha512-dIA1J7HryFHdlfo7GJ+2wypKWKYOvLEU7oNLOZPoBc4qIM0tdJ0B0aZv6LWNd48ehlSN6ZsByGdXqwIX/jwuuA==", |
| 486 |
"shasum": "098632e140f04cdca509c6926c7ad3a8c44f36a6", |
| 487 |
"tarball": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.0.tgz" |
| 488 |
}, |
| 489 |
"maintainers": [ |
| 490 |
{ |
| 491 |
"name": "lukechilds", |
| 492 |
"email": "[email protected]" |
| 493 |
} |
| 494 |
], |
| 495 |
"_npmOperationalInternal": { |
| 496 |
"host": "s3://npm-registry-packages", |
| 497 |
"tmp": "tmp/clone-response-1.0.0.tgz_1497615089253_0.2357099496293813" |
| 498 |
}, |
| 499 |
"directories": {} |
| 500 |
}, |
| 501 |
"1.0.1": { |
| 502 |
"name": "clone-response", |
| 503 |
"version": "1.0.1", |
| 504 |
"description": "Clone a Node.js HTTP response stream", |
| 505 |
"main": "src/index.js", |
| 506 |
"scripts": { |
| 507 |
"test": "xo && nyc ava", |
| 508 |
"coverage": "nyc report --reporter=text-lcov | coveralls" |
| 509 |
}, |
| 510 |
"xo": { |
| 511 |
"extends": "xo-lukechilds" |
| 512 |
}, |
| 513 |
"repository": { |
| 514 |
"type": "git", |
| 515 |
"url": "git+https://github.com/lukechilds/clone-response.git" |
| 516 |
}, |
| 517 |
"keywords": [ |
| 518 |
"clone", |
| 519 |
"duplicate", |
| 520 |
"copy", |
| 521 |
"response", |
| 522 |
"HTTP", |
| 523 |
"stream" |
| 524 |
], |
| 525 |
"author": { |
| 526 |
"name": "Luke Childs", |
| 527 |
"email": "[email protected]", |
| 528 |
"url": "http://lukechilds.co.uk" |
| 529 |
}, |
| 530 |
"license": "MIT", |
| 531 |
"bugs": { |
| 532 |
"url": "https://github.com/lukechilds/clone-response/issues" |
| 533 |
}, |
| 534 |
"homepage": "https://github.com/lukechilds/clone-response", |
| 535 |
"dependencies": { |
| 536 |
"mimic-response": "^1.0.0" |
| 537 |
}, |
| 538 |
"devDependencies": { |
| 539 |
"ava": "^0.20.0", |
| 540 |
"coveralls": "^2.13.1", |
| 541 |
"create-test-server": "^2.0.1", |
| 542 |
"eslint-config-xo-lukechilds": "^1.0.0", |
| 543 |
"get-stream": "^3.0.0", |
| 544 |
"nyc": "^11.0.2", |
| 545 |
"pify": "^3.0.0", |
| 546 |
"xo": "^0.19.0" |
| 547 |
}, |
| 548 |
"gitHead": "b90422a12709acb5d15e0b462c3623d06fb62923", |
| 549 |
"_id": "[email protected]", |
| 550 |
"_shasum": "35ecdb6235f5a064979a8ef263325cc75da6d40e", |
| 551 |
"_from": ".", |
| 552 |
"_npmVersion": "4.6.1", |
| 553 |
"_nodeVersion": "8.1.2", |
| 554 |
"_npmUser": { |
| 555 |
"name": "lukechilds", |
| 556 |
"email": "[email protected]" |
| 557 |
}, |
| 558 |
"dist": { |
| 559 |
"shasum": "35ecdb6235f5a064979a8ef263325cc75da6d40e", |
| 560 |
"tarball": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.1.tgz" |
| 561 |
}, |
| 562 |
"maintainers": [ |
| 563 |
{ |
| 564 |
"name": "lukechilds", |
| 565 |
"email": "[email protected]" |
| 566 |
} |
| 567 |
], |
| 568 |
"_npmOperationalInternal": { |
| 569 |
"host": "s3://npm-registry-packages", |
| 570 |
"tmp": "tmp/clone-response-1.0.1.tgz_1498827743228_0.20690521295182407" |
| 571 |
}, |
| 572 |
"directories": {} |
| 573 |
}, |
| 574 |
"1.0.2": { |
| 575 |
"name": "clone-response", |
| 576 |
"version": "1.0.2", |
| 577 |
"description": "Clone a Node.js HTTP response stream", |
| 578 |
"main": "src/index.js", |
| 579 |
"scripts": { |
| 580 |
"test": "xo && nyc ava", |
| 581 |
"coverage": "nyc report --reporter=text-lcov | coveralls" |
| 582 |
}, |
| 583 |
"xo": { |
| 584 |
"extends": "xo-lukechilds" |
| 585 |
}, |
| 586 |
"repository": { |
| 587 |
"type": "git", |
| 588 |
"url": "git+https://github.com/lukechilds/clone-response.git" |
| 589 |
}, |
| 590 |
"keywords": [ |
| 591 |
"clone", |
| 592 |
"duplicate", |
| 593 |
"copy", |
| 594 |
"response", |
| 595 |
"HTTP", |
| 596 |
"stream" |
| 597 |
], |
| 598 |
"author": { |
| 599 |
"name": "Luke Childs", |
| 600 |
"email": "[email protected]", |
| 601 |
"url": "http://lukechilds.co.uk" |
| 602 |
}, |
| 603 |
"license": "MIT", |
| 604 |
"bugs": { |
| 605 |
"url": "https://github.com/lukechilds/clone-response/issues" |
| 606 |
}, |
| 607 |
"homepage": "https://github.com/lukechilds/clone-response", |
| 608 |
"dependencies": { |
| 609 |
"mimic-response": "^1.0.0" |
| 610 |
}, |
| 611 |
"devDependencies": { |
| 612 |
"ava": "^0.22.0", |
| 613 |
"coveralls": "^2.13.1", |
| 614 |
"create-test-server": "^2.0.1", |
| 615 |
"eslint-config-xo-lukechilds": "^1.0.0", |
| 616 |
"get-stream": "^3.0.0", |
| 617 |
"nyc": "^11.0.2", |
| 618 |
"pify": "^3.0.0", |
| 619 |
"xo": "^0.19.0" |
| 620 |
}, |
| 621 |
"gitHead": "857094916c5393a7ce78838a4e447fa944263cca", |
| 622 |
"_id": "[email protected]", |
| 623 |
"_shasum": "d1dc973920314df67fbeb94223b4ee350239e96b", |
| 624 |
"_from": ".", |
| 625 |
"_npmVersion": "4.6.1", |
| 626 |
"_nodeVersion": "8.4.0", |
| 627 |
"_npmUser": { |
| 628 |
"name": "lukechilds", |
| 629 |
"email": "[email protected]" |
| 630 |
}, |
| 631 |
"dist": { |
| 632 |
"shasum": "d1dc973920314df67fbeb94223b4ee350239e96b", |
| 633 |
"tarball": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz" |
| 634 |
}, |
| 635 |
"maintainers": [ |
| 636 |
{ |
| 637 |
"name": "lukechilds", |
| 638 |
"email": "[email protected]" |
| 639 |
} |
| 640 |
], |
| 641 |
"_npmOperationalInternal": { |
| 642 |
"host": "s3://npm-registry-packages", |
| 643 |
"tmp": "tmp/clone-response-1.0.2.tgz_1502988274674_0.8035625964403152" |
| 644 |
}, |
| 645 |
"directories": {} |
| 646 |
} |
| 647 |
}, |
| 648 |
"readme": "# clone-response\n\n> Clone a Node.js HTTP response stream\n\n[](https://travis-ci.org/lukechilds/clone-response)\n[](https://coveralls.io/github/lukechilds/clone-response?branch=master)\n[](https://www.npmjs.com/package/clone-response)\n[](https://www.npmjs.com/package/clone-response)\n\nReturns a new stream and copies over all properties and methods from the original response giving you a complete duplicate.\n\nThis is useful in situations where you need to consume the response stream but also want to pass an unconsumed stream somewhere else to be consumed later.\n\n## Install\n\n```shell\nnpm install --save clone-response\n```\n\n## Usage\n\n```js\nconst http = require('http');\nconst cloneResponse = require('clone-response');\n\nhttp.get('http://example.com', response => {\n const clonedResponse = cloneResponse(response);\n response.pipe(process.stdout);\n\n setImmediate(() => {\n // The response stream has already been consumed by the time this executes,\n // however the cloned response stream is still available.\n doSomethingWithResponse(clonedResponse);\n });\n});\n```\n\nPlease bear in mind that the process of cloning a stream consumes it. However, you can consume a stream multiple times in the same tick, therefore allowing you to create multiple clones. e.g:\n\n```js\nconst clone1 = cloneResponse(response);\nconst clone2 = cloneResponse(response);\n// response can still be consumed in this tick but cannot be consumed if passed\n// into any async callbacks. clone1 and clone2 can be passed around and be\n// consumed in the future.\n```\n\n## API\n\n### cloneResponse(response)\n\nReturns a clone of the passed in response.\n\n#### response\n\nType: `stream`\n\nA [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage) to clone.\n\n## License\n\nMIT © Luke Childs\n", |
| 649 |
"maintainers": [ |
| 650 |
{ |
| 651 |
"name": "lukechilds", |
| 652 |
"email": "[email protected]" |
| 653 |
} |
| 654 |
], |
| 655 |
"time": { |
| 656 |
"modified": "2017-08-17T16:44:35.584Z", |
| 657 |
"created": "2017-06-01T10:33:32.704Z", |
| 658 |
"0.0.0": "2017-06-01T10:33:32.704Z", |
| 659 |
"0.1.0": "2017-06-02T08:04:30.901Z", |
| 660 |
"0.1.1": "2017-06-02T08:09:53.625Z", |
| 661 |
"0.2.0": "2017-06-02T08:29:13.105Z", |
| 662 |
"0.2.1": "2017-06-03T03:28:21.554Z", |
| 663 |
"0.2.2": "2017-06-03T05:34:40.172Z", |
| 664 |
"1.0.0": "2017-06-16T12:11:29.393Z", |
| 665 |
"1.0.1": "2017-06-30T13:02:24.398Z", |
| 666 |
"1.0.2": "2017-08-17T16:44:35.584Z" |
| 667 |
}, |
| 668 |
"homepage": "https://github.com/lukechilds/clone-response", |
| 669 |
"keywords": [ |
| 670 |
"clone", |
| 671 |
"duplicate", |
| 672 |
"copy", |
| 673 |
"response", |
| 674 |
"HTTP", |
| 675 |
"stream" |
| 676 |
], |
| 677 |
"repository": { |
| 678 |
"type": "git", |
| 679 |
"url": "git+https://github.com/lukechilds/clone-response.git" |
| 680 |
}, |
| 681 |
"author": { |
| 682 |
"name": "Luke Childs", |
| 683 |
"email": "[email protected]", |
| 684 |
"url": "http://lukechilds.co.uk" |
| 685 |
}, |
| 686 |
"bugs": { |
| 687 |
"url": "https://github.com/lukechilds/clone-response/issues" |
| 688 |
}, |
| 689 |
"license": "MIT", |
| 690 |
"readmeFilename": "README.md", |
| 691 |
"_attachments": {} |
| 692 |
} |