| 1 |
{ |
| 2 |
"_id": "statuses", |
| 3 |
"_rev": "64-bba177e63128f3968f712ce70a79bd14", |
| 4 |
"name": "statuses", |
| 5 |
"description": "HTTP status utility", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.0.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.1": { |
| 11 |
"name": "statuses", |
| 12 |
"description": "HTTP status utility", |
| 13 |
"version": "1.0.1", |
| 14 |
"author": { |
| 15 |
"name": "Jonathan Ong", |
| 16 |
"email": "[email protected]", |
| 17 |
"url": "http://jongleberry.com" |
| 18 |
}, |
| 19 |
"repository": { |
| 20 |
"type": "git", |
| 21 |
"url": "https://github.com/expressjs/statuses.git" |
| 22 |
}, |
| 23 |
"bugs": { |
| 24 |
"url": "https://github.com/expressjs/statuses/issues", |
| 25 |
"email": "[email protected]" |
| 26 |
}, |
| 27 |
"license": "MIT", |
| 28 |
"homepage": "https://github.com/expressjs/statuses", |
| 29 |
"_id": "[email protected]", |
| 30 |
"dist": { |
| 31 |
"shasum": "e6e059e1bc769dfccd80fe7e9901a20a48b8ce9a", |
| 32 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.0.1.tgz" |
| 33 |
}, |
| 34 |
"_from": ".", |
| 35 |
"_npmVersion": "1.4.3", |
| 36 |
"_npmUser": { |
| 37 |
"name": "jongleberry", |
| 38 |
"email": "[email protected]" |
| 39 |
}, |
| 40 |
"maintainers": [ |
| 41 |
{ |
| 42 |
"name": "jongleberry", |
| 43 |
"email": "[email protected]" |
| 44 |
} |
| 45 |
], |
| 46 |
"directories": {} |
| 47 |
}, |
| 48 |
"1.0.2": { |
| 49 |
"name": "statuses", |
| 50 |
"description": "HTTP status utility", |
| 51 |
"version": "1.0.2", |
| 52 |
"author": { |
| 53 |
"name": "Jonathan Ong", |
| 54 |
"email": "[email protected]", |
| 55 |
"url": "http://jongleberry.com" |
| 56 |
}, |
| 57 |
"repository": { |
| 58 |
"type": "git", |
| 59 |
"url": "https://github.com/expressjs/statuses.git" |
| 60 |
}, |
| 61 |
"bugs": { |
| 62 |
"url": "https://github.com/expressjs/statuses/issues", |
| 63 |
"email": "[email protected]" |
| 64 |
}, |
| 65 |
"license": "MIT", |
| 66 |
"homepage": "https://github.com/expressjs/statuses", |
| 67 |
"_id": "[email protected]", |
| 68 |
"dist": { |
| 69 |
"shasum": "6e8a73c2fb0886f5eecf78e0aa2a1b9ae92ab73b", |
| 70 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.0.2.tgz" |
| 71 |
}, |
| 72 |
"_from": ".", |
| 73 |
"_npmVersion": "1.4.4", |
| 74 |
"_npmUser": { |
| 75 |
"name": "jongleberry", |
| 76 |
"email": "[email protected]" |
| 77 |
}, |
| 78 |
"maintainers": [ |
| 79 |
{ |
| 80 |
"name": "jongleberry", |
| 81 |
"email": "[email protected]" |
| 82 |
} |
| 83 |
], |
| 84 |
"directories": {} |
| 85 |
}, |
| 86 |
"1.0.3": { |
| 87 |
"name": "statuses", |
| 88 |
"description": "HTTP status utility", |
| 89 |
"version": "1.0.3", |
| 90 |
"author": { |
| 91 |
"name": "Jonathan Ong", |
| 92 |
"email": "[email protected]", |
| 93 |
"url": "http://jongleberry.com" |
| 94 |
}, |
| 95 |
"repository": { |
| 96 |
"type": "git", |
| 97 |
"url": "https://github.com/expressjs/statuses.git" |
| 98 |
}, |
| 99 |
"bugs": { |
| 100 |
"url": "https://github.com/expressjs/statuses/issues", |
| 101 |
"email": "[email protected]" |
| 102 |
}, |
| 103 |
"license": "MIT", |
| 104 |
"homepage": "https://github.com/expressjs/statuses", |
| 105 |
"_id": "[email protected]", |
| 106 |
"_shasum": "a7d9bfb30bce92281bdba717ceb9db10d8640afb", |
| 107 |
"_from": ".", |
| 108 |
"_npmVersion": "1.4.9", |
| 109 |
"_npmUser": { |
| 110 |
"name": "jongleberry", |
| 111 |
"email": "[email protected]" |
| 112 |
}, |
| 113 |
"maintainers": [ |
| 114 |
{ |
| 115 |
"name": "jongleberry", |
| 116 |
"email": "[email protected]" |
| 117 |
}, |
| 118 |
{ |
| 119 |
"name": "tjholowaychuk", |
| 120 |
"email": "[email protected]" |
| 121 |
}, |
| 122 |
{ |
| 123 |
"name": "dougwilson", |
| 124 |
"email": "[email protected]" |
| 125 |
}, |
| 126 |
{ |
| 127 |
"name": "shtylman", |
| 128 |
"email": "[email protected]" |
| 129 |
}, |
| 130 |
{ |
| 131 |
"name": "mscdex", |
| 132 |
"email": "[email protected]" |
| 133 |
}, |
| 134 |
{ |
| 135 |
"name": "fishrock123", |
| 136 |
"email": "[email protected]" |
| 137 |
} |
| 138 |
], |
| 139 |
"dist": { |
| 140 |
"shasum": "a7d9bfb30bce92281bdba717ceb9db10d8640afb", |
| 141 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.0.3.tgz" |
| 142 |
}, |
| 143 |
"directories": {} |
| 144 |
}, |
| 145 |
"1.0.4": { |
| 146 |
"name": "statuses", |
| 147 |
"description": "HTTP status utility", |
| 148 |
"version": "1.0.4", |
| 149 |
"author": { |
| 150 |
"name": "Jonathan Ong", |
| 151 |
"email": "[email protected]", |
| 152 |
"url": "http://jongleberry.com" |
| 153 |
}, |
| 154 |
"repository": { |
| 155 |
"type": "git", |
| 156 |
"url": "https://github.com/jshttp/statuses" |
| 157 |
}, |
| 158 |
"license": "MIT", |
| 159 |
"keywords": [ |
| 160 |
"http", |
| 161 |
"status", |
| 162 |
"code" |
| 163 |
], |
| 164 |
"files": [ |
| 165 |
"index.js" |
| 166 |
], |
| 167 |
"gitHead": "0315a85435546839b4bcafaf5c1e6ac2acab660a", |
| 168 |
"bugs": { |
| 169 |
"url": "https://github.com/jshttp/statuses/issues" |
| 170 |
}, |
| 171 |
"homepage": "https://github.com/jshttp/statuses", |
| 172 |
"_id": "[email protected]", |
| 173 |
"scripts": {}, |
| 174 |
"_shasum": "a8b203f645cf475a66426f6be690205c85f3ebdd", |
| 175 |
"_from": ".", |
| 176 |
"_npmVersion": "1.4.21", |
| 177 |
"_npmUser": { |
| 178 |
"name": "jongleberry", |
| 179 |
"email": "[email protected]" |
| 180 |
}, |
| 181 |
"maintainers": [ |
| 182 |
{ |
| 183 |
"name": "jongleberry", |
| 184 |
"email": "[email protected]" |
| 185 |
}, |
| 186 |
{ |
| 187 |
"name": "tjholowaychuk", |
| 188 |
"email": "[email protected]" |
| 189 |
}, |
| 190 |
{ |
| 191 |
"name": "dougwilson", |
| 192 |
"email": "[email protected]" |
| 193 |
}, |
| 194 |
{ |
| 195 |
"name": "shtylman", |
| 196 |
"email": "[email protected]" |
| 197 |
}, |
| 198 |
{ |
| 199 |
"name": "mscdex", |
| 200 |
"email": "[email protected]" |
| 201 |
}, |
| 202 |
{ |
| 203 |
"name": "fishrock123", |
| 204 |
"email": "[email protected]" |
| 205 |
} |
| 206 |
], |
| 207 |
"dist": { |
| 208 |
"shasum": "a8b203f645cf475a66426f6be690205c85f3ebdd", |
| 209 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.0.4.tgz" |
| 210 |
}, |
| 211 |
"directories": {} |
| 212 |
}, |
| 213 |
"1.1.0": { |
| 214 |
"name": "statuses", |
| 215 |
"description": "HTTP status utility", |
| 216 |
"version": "1.1.0", |
| 217 |
"author": { |
| 218 |
"name": "Jonathan Ong", |
| 219 |
"email": "[email protected]", |
| 220 |
"url": "http://jongleberry.com" |
| 221 |
}, |
| 222 |
"repository": { |
| 223 |
"type": "git", |
| 224 |
"url": "https://github.com/jshttp/statuses" |
| 225 |
}, |
| 226 |
"license": "MIT", |
| 227 |
"keywords": [ |
| 228 |
"http", |
| 229 |
"status", |
| 230 |
"code" |
| 231 |
], |
| 232 |
"files": [ |
| 233 |
"index.js", |
| 234 |
"codes.json", |
| 235 |
"LICENSE" |
| 236 |
], |
| 237 |
"devDependencies": { |
| 238 |
"mocha": "1", |
| 239 |
"istanbul": "0" |
| 240 |
}, |
| 241 |
"scripts": { |
| 242 |
"update": "node update.js", |
| 243 |
"test": "mocha --reporter spec --bail --check-leaks", |
| 244 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks", |
| 245 |
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks" |
| 246 |
}, |
| 247 |
"gitHead": "4d540d3e25368b97d1410bf8bd5637a5c9e20ce8", |
| 248 |
"bugs": { |
| 249 |
"url": "https://github.com/jshttp/statuses/issues" |
| 250 |
}, |
| 251 |
"homepage": "https://github.com/jshttp/statuses", |
| 252 |
"_id": "[email protected]", |
| 253 |
"_shasum": "937882caad053f8d808d845b333cfab9def03222", |
| 254 |
"_from": ".", |
| 255 |
"_npmVersion": "2.0.2", |
| 256 |
"_nodeVersion": "0.11.13", |
| 257 |
"_npmUser": { |
| 258 |
"name": "jongleberry", |
| 259 |
"email": "[email protected]" |
| 260 |
}, |
| 261 |
"maintainers": [ |
| 262 |
{ |
| 263 |
"name": "jongleberry", |
| 264 |
"email": "[email protected]" |
| 265 |
}, |
| 266 |
{ |
| 267 |
"name": "tjholowaychuk", |
| 268 |
"email": "[email protected]" |
| 269 |
}, |
| 270 |
{ |
| 271 |
"name": "dougwilson", |
| 272 |
"email": "[email protected]" |
| 273 |
}, |
| 274 |
{ |
| 275 |
"name": "shtylman", |
| 276 |
"email": "[email protected]" |
| 277 |
}, |
| 278 |
{ |
| 279 |
"name": "mscdex", |
| 280 |
"email": "[email protected]" |
| 281 |
}, |
| 282 |
{ |
| 283 |
"name": "fishrock123", |
| 284 |
"email": "[email protected]" |
| 285 |
} |
| 286 |
], |
| 287 |
"dist": { |
| 288 |
"shasum": "937882caad053f8d808d845b333cfab9def03222", |
| 289 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.1.0.tgz" |
| 290 |
}, |
| 291 |
"directories": {} |
| 292 |
}, |
| 293 |
"1.1.1": { |
| 294 |
"name": "statuses", |
| 295 |
"description": "HTTP status utility", |
| 296 |
"version": "1.1.1", |
| 297 |
"author": { |
| 298 |
"name": "Jonathan Ong", |
| 299 |
"email": "[email protected]", |
| 300 |
"url": "http://jongleberry.com" |
| 301 |
}, |
| 302 |
"repository": { |
| 303 |
"type": "git", |
| 304 |
"url": "https://github.com/jshttp/statuses" |
| 305 |
}, |
| 306 |
"license": "MIT", |
| 307 |
"keywords": [ |
| 308 |
"http", |
| 309 |
"status", |
| 310 |
"code" |
| 311 |
], |
| 312 |
"files": [ |
| 313 |
"index.js", |
| 314 |
"codes.json", |
| 315 |
"LICENSE" |
| 316 |
], |
| 317 |
"devDependencies": { |
| 318 |
"mocha": "1", |
| 319 |
"istanbul": "0" |
| 320 |
}, |
| 321 |
"scripts": { |
| 322 |
"update": "node update.js", |
| 323 |
"test": "mocha --reporter spec --bail --check-leaks", |
| 324 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks", |
| 325 |
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks" |
| 326 |
}, |
| 327 |
"gitHead": "9b775578df2b528c377f53f3ed3cfa03da4d1274", |
| 328 |
"bugs": { |
| 329 |
"url": "https://github.com/jshttp/statuses/issues" |
| 330 |
}, |
| 331 |
"homepage": "https://github.com/jshttp/statuses", |
| 332 |
"_id": "[email protected]", |
| 333 |
"_shasum": "10d1811e1bd3182ea3f566bf6b4745cf8edee6cc", |
| 334 |
"_from": ".", |
| 335 |
"_npmVersion": "2.0.0", |
| 336 |
"_npmUser": { |
| 337 |
"name": "jongleberry", |
| 338 |
"email": "[email protected]" |
| 339 |
}, |
| 340 |
"maintainers": [ |
| 341 |
{ |
| 342 |
"name": "jongleberry", |
| 343 |
"email": "[email protected]" |
| 344 |
}, |
| 345 |
{ |
| 346 |
"name": "tjholowaychuk", |
| 347 |
"email": "[email protected]" |
| 348 |
}, |
| 349 |
{ |
| 350 |
"name": "dougwilson", |
| 351 |
"email": "[email protected]" |
| 352 |
}, |
| 353 |
{ |
| 354 |
"name": "shtylman", |
| 355 |
"email": "[email protected]" |
| 356 |
}, |
| 357 |
{ |
| 358 |
"name": "mscdex", |
| 359 |
"email": "[email protected]" |
| 360 |
}, |
| 361 |
{ |
| 362 |
"name": "fishrock123", |
| 363 |
"email": "[email protected]" |
| 364 |
} |
| 365 |
], |
| 366 |
"dist": { |
| 367 |
"shasum": "10d1811e1bd3182ea3f566bf6b4745cf8edee6cc", |
| 368 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.1.1.tgz" |
| 369 |
}, |
| 370 |
"directories": {} |
| 371 |
}, |
| 372 |
"1.2.0": { |
| 373 |
"name": "statuses", |
| 374 |
"description": "HTTP status utility", |
| 375 |
"version": "1.2.0", |
| 376 |
"author": { |
| 377 |
"name": "Jonathan Ong", |
| 378 |
"email": "[email protected]", |
| 379 |
"url": "http://jongleberry.com" |
| 380 |
}, |
| 381 |
"repository": { |
| 382 |
"type": "git", |
| 383 |
"url": "https://github.com/jshttp/statuses" |
| 384 |
}, |
| 385 |
"license": "MIT", |
| 386 |
"keywords": [ |
| 387 |
"http", |
| 388 |
"status", |
| 389 |
"code" |
| 390 |
], |
| 391 |
"files": [ |
| 392 |
"index.js", |
| 393 |
"codes.json", |
| 394 |
"LICENSE" |
| 395 |
], |
| 396 |
"devDependencies": { |
| 397 |
"csv-parse": "0.0.6", |
| 398 |
"istanbul": "0", |
| 399 |
"mocha": "1", |
| 400 |
"request": "^2.44.0", |
| 401 |
"stream-to-array": "^2.0.2" |
| 402 |
}, |
| 403 |
"scripts": { |
| 404 |
"build": "node scripts/build.js", |
| 405 |
"update": "node scripts/update.js", |
| 406 |
"test": "mocha --reporter spec --bail --check-leaks", |
| 407 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks", |
| 408 |
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks" |
| 409 |
}, |
| 410 |
"gitHead": "64dc7753f28f0302e4140602e36f0e270ddbb1bd", |
| 411 |
"bugs": { |
| 412 |
"url": "https://github.com/jshttp/statuses/issues" |
| 413 |
}, |
| 414 |
"homepage": "https://github.com/jshttp/statuses", |
| 415 |
"_id": "[email protected]", |
| 416 |
"_shasum": "4445790d65bec29184f50d54810f67e290c1679e", |
| 417 |
"_from": ".", |
| 418 |
"_npmVersion": "2.0.2", |
| 419 |
"_nodeVersion": "0.11.14", |
| 420 |
"_npmUser": { |
| 421 |
"name": "jongleberry", |
| 422 |
"email": "[email protected]" |
| 423 |
}, |
| 424 |
"maintainers": [ |
| 425 |
{ |
| 426 |
"name": "jongleberry", |
| 427 |
"email": "[email protected]" |
| 428 |
}, |
| 429 |
{ |
| 430 |
"name": "tjholowaychuk", |
| 431 |
"email": "[email protected]" |
| 432 |
}, |
| 433 |
{ |
| 434 |
"name": "dougwilson", |
| 435 |
"email": "[email protected]" |
| 436 |
}, |
| 437 |
{ |
| 438 |
"name": "shtylman", |
| 439 |
"email": "[email protected]" |
| 440 |
}, |
| 441 |
{ |
| 442 |
"name": "mscdex", |
| 443 |
"email": "[email protected]" |
| 444 |
}, |
| 445 |
{ |
| 446 |
"name": "fishrock123", |
| 447 |
"email": "[email protected]" |
| 448 |
} |
| 449 |
], |
| 450 |
"dist": { |
| 451 |
"shasum": "4445790d65bec29184f50d54810f67e290c1679e", |
| 452 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.2.0.tgz" |
| 453 |
}, |
| 454 |
"directories": {} |
| 455 |
}, |
| 456 |
"1.2.1": { |
| 457 |
"name": "statuses", |
| 458 |
"description": "HTTP status utility", |
| 459 |
"version": "1.2.1", |
| 460 |
"author": { |
| 461 |
"name": "Jonathan Ong", |
| 462 |
"email": "[email protected]", |
| 463 |
"url": "http://jongleberry.com" |
| 464 |
}, |
| 465 |
"repository": { |
| 466 |
"type": "git", |
| 467 |
"url": "https://github.com/jshttp/statuses" |
| 468 |
}, |
| 469 |
"license": "MIT", |
| 470 |
"keywords": [ |
| 471 |
"http", |
| 472 |
"status", |
| 473 |
"code" |
| 474 |
], |
| 475 |
"files": [ |
| 476 |
"index.js", |
| 477 |
"codes.json", |
| 478 |
"LICENSE" |
| 479 |
], |
| 480 |
"devDependencies": { |
| 481 |
"csv-parse": "0.0.6", |
| 482 |
"istanbul": "0", |
| 483 |
"mocha": "1", |
| 484 |
"stream-to-array": "2" |
| 485 |
}, |
| 486 |
"scripts": { |
| 487 |
"build": "node scripts/build.js", |
| 488 |
"update": "node scripts/update.js", |
| 489 |
"test": "mocha --reporter spec --bail --check-leaks", |
| 490 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks", |
| 491 |
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks" |
| 492 |
}, |
| 493 |
"gitHead": "49e6ac7ae4c63ee8186f56cb52112a7eeda28ed7", |
| 494 |
"bugs": { |
| 495 |
"url": "https://github.com/jshttp/statuses/issues" |
| 496 |
}, |
| 497 |
"homepage": "https://github.com/jshttp/statuses", |
| 498 |
"_id": "[email protected]", |
| 499 |
"_shasum": "dded45cc18256d51ed40aec142489d5c61026d28", |
| 500 |
"_from": ".", |
| 501 |
"_npmVersion": "1.4.28", |
| 502 |
"_npmUser": { |
| 503 |
"name": "dougwilson", |
| 504 |
"email": "[email protected]" |
| 505 |
}, |
| 506 |
"maintainers": [ |
| 507 |
{ |
| 508 |
"name": "jongleberry", |
| 509 |
"email": "[email protected]" |
| 510 |
}, |
| 511 |
{ |
| 512 |
"name": "tjholowaychuk", |
| 513 |
"email": "[email protected]" |
| 514 |
}, |
| 515 |
{ |
| 516 |
"name": "dougwilson", |
| 517 |
"email": "[email protected]" |
| 518 |
}, |
| 519 |
{ |
| 520 |
"name": "shtylman", |
| 521 |
"email": "[email protected]" |
| 522 |
}, |
| 523 |
{ |
| 524 |
"name": "mscdex", |
| 525 |
"email": "[email protected]" |
| 526 |
}, |
| 527 |
{ |
| 528 |
"name": "fishrock123", |
| 529 |
"email": "[email protected]" |
| 530 |
} |
| 531 |
], |
| 532 |
"dist": { |
| 533 |
"shasum": "dded45cc18256d51ed40aec142489d5c61026d28", |
| 534 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.2.1.tgz" |
| 535 |
}, |
| 536 |
"directories": {} |
| 537 |
}, |
| 538 |
"1.3.0": { |
| 539 |
"name": "statuses", |
| 540 |
"description": "HTTP status utility", |
| 541 |
"version": "1.3.0", |
| 542 |
"contributors": [ |
| 543 |
{ |
| 544 |
"name": "Douglas Christopher Wilson", |
| 545 |
"email": "[email protected]" |
| 546 |
}, |
| 547 |
{ |
| 548 |
"name": "Jonathan Ong", |
| 549 |
"email": "[email protected]", |
| 550 |
"url": "http://jongleberry.com" |
| 551 |
} |
| 552 |
], |
| 553 |
"repository": { |
| 554 |
"type": "git", |
| 555 |
"url": "https://github.com/jshttp/statuses" |
| 556 |
}, |
| 557 |
"license": "MIT", |
| 558 |
"keywords": [ |
| 559 |
"http", |
| 560 |
"status", |
| 561 |
"code" |
| 562 |
], |
| 563 |
"files": [ |
| 564 |
"HISTORY.md", |
| 565 |
"index.js", |
| 566 |
"codes.json", |
| 567 |
"LICENSE" |
| 568 |
], |
| 569 |
"devDependencies": { |
| 570 |
"csv-parse": "1.0.1", |
| 571 |
"eslint": "2.10.2", |
| 572 |
"eslint-config-standard": "5.3.1", |
| 573 |
"eslint-plugin-promise": "1.1.0", |
| 574 |
"eslint-plugin-standard": "1.3.2", |
| 575 |
"istanbul": "0.4.3", |
| 576 |
"mocha": "1.21.5", |
| 577 |
"stream-to-array": "2.2.0" |
| 578 |
}, |
| 579 |
"engines": { |
| 580 |
"node": ">= 0.6" |
| 581 |
}, |
| 582 |
"scripts": { |
| 583 |
"build": "node scripts/build.js", |
| 584 |
"fetch": "node scripts/fetch.js", |
| 585 |
"lint": "eslint **/*.js", |
| 586 |
"test": "mocha --reporter spec --check-leaks --bail test/", |
| 587 |
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", |
| 588 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", |
| 589 |
"update": "npm run fetch && npm run build" |
| 590 |
}, |
| 591 |
"gitHead": "b3e31e8c32dd8107e898b44b8c0b2dfff3cba495", |
| 592 |
"bugs": { |
| 593 |
"url": "https://github.com/jshttp/statuses/issues" |
| 594 |
}, |
| 595 |
"homepage": "https://github.com/jshttp/statuses", |
| 596 |
"_id": "[email protected]", |
| 597 |
"_shasum": "8e55758cb20e7682c1f4fce8dcab30bf01d1e07a", |
| 598 |
"_from": ".", |
| 599 |
"_npmVersion": "1.4.28", |
| 600 |
"_npmUser": { |
| 601 |
"name": "dougwilson", |
| 602 |
"email": "[email protected]" |
| 603 |
}, |
| 604 |
"maintainers": [ |
| 605 |
{ |
| 606 |
"name": "defunctzombie", |
| 607 |
"email": "[email protected]" |
| 608 |
}, |
| 609 |
{ |
| 610 |
"name": "dougwilson", |
| 611 |
"email": "[email protected]" |
| 612 |
}, |
| 613 |
{ |
| 614 |
"name": "fishrock123", |
| 615 |
"email": "[email protected]" |
| 616 |
}, |
| 617 |
{ |
| 618 |
"name": "jongleberry", |
| 619 |
"email": "[email protected]" |
| 620 |
}, |
| 621 |
{ |
| 622 |
"name": "mscdex", |
| 623 |
"email": "[email protected]" |
| 624 |
}, |
| 625 |
{ |
| 626 |
"name": "tjholowaychuk", |
| 627 |
"email": "[email protected]" |
| 628 |
} |
| 629 |
], |
| 630 |
"dist": { |
| 631 |
"shasum": "8e55758cb20e7682c1f4fce8dcab30bf01d1e07a", |
| 632 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.3.0.tgz" |
| 633 |
}, |
| 634 |
"_npmOperationalInternal": { |
| 635 |
"host": "packages-12-west.internal.npmjs.com", |
| 636 |
"tmp": "tmp/statuses-1.3.0.tgz_1463517875633_0.19560232176445425" |
| 637 |
}, |
| 638 |
"directories": {} |
| 639 |
}, |
| 640 |
"1.3.1": { |
| 641 |
"name": "statuses", |
| 642 |
"description": "HTTP status utility", |
| 643 |
"version": "1.3.1", |
| 644 |
"contributors": [ |
| 645 |
{ |
| 646 |
"name": "Douglas Christopher Wilson", |
| 647 |
"email": "[email protected]" |
| 648 |
}, |
| 649 |
{ |
| 650 |
"name": "Jonathan Ong", |
| 651 |
"email": "[email protected]", |
| 652 |
"url": "http://jongleberry.com" |
| 653 |
} |
| 654 |
], |
| 655 |
"repository": { |
| 656 |
"type": "git", |
| 657 |
"url": "https://github.com/jshttp/statuses" |
| 658 |
}, |
| 659 |
"license": "MIT", |
| 660 |
"keywords": [ |
| 661 |
"http", |
| 662 |
"status", |
| 663 |
"code" |
| 664 |
], |
| 665 |
"files": [ |
| 666 |
"HISTORY.md", |
| 667 |
"index.js", |
| 668 |
"codes.json", |
| 669 |
"LICENSE" |
| 670 |
], |
| 671 |
"devDependencies": { |
| 672 |
"csv-parse": "1.1.7", |
| 673 |
"eslint": "3.10.0", |
| 674 |
"eslint-config-standard": "6.2.1", |
| 675 |
"eslint-plugin-promise": "3.3.2", |
| 676 |
"eslint-plugin-standard": "2.0.1", |
| 677 |
"istanbul": "0.4.5", |
| 678 |
"mocha": "1.21.5", |
| 679 |
"stream-to-array": "2.3.0" |
| 680 |
}, |
| 681 |
"engines": { |
| 682 |
"node": ">= 0.6" |
| 683 |
}, |
| 684 |
"scripts": { |
| 685 |
"build": "node scripts/build.js", |
| 686 |
"fetch": "node scripts/fetch.js", |
| 687 |
"lint": "eslint .", |
| 688 |
"test": "mocha --reporter spec --check-leaks --bail test/", |
| 689 |
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", |
| 690 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", |
| 691 |
"update": "npm run fetch && npm run build" |
| 692 |
}, |
| 693 |
"gitHead": "28a619be77f5b4741e6578a5764c5b06ec6d4aea", |
| 694 |
"bugs": { |
| 695 |
"url": "https://github.com/jshttp/statuses/issues" |
| 696 |
}, |
| 697 |
"homepage": "https://github.com/jshttp/statuses", |
| 698 |
"_id": "[email protected]", |
| 699 |
"_shasum": "faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e", |
| 700 |
"_from": ".", |
| 701 |
"_npmVersion": "1.4.28", |
| 702 |
"_npmUser": { |
| 703 |
"name": "dougwilson", |
| 704 |
"email": "[email protected]" |
| 705 |
}, |
| 706 |
"maintainers": [ |
| 707 |
{ |
| 708 |
"name": "defunctzombie", |
| 709 |
"email": "[email protected]" |
| 710 |
}, |
| 711 |
{ |
| 712 |
"name": "dougwilson", |
| 713 |
"email": "[email protected]" |
| 714 |
}, |
| 715 |
{ |
| 716 |
"name": "fishrock123", |
| 717 |
"email": "[email protected]" |
| 718 |
}, |
| 719 |
{ |
| 720 |
"name": "jongleberry", |
| 721 |
"email": "[email protected]" |
| 722 |
}, |
| 723 |
{ |
| 724 |
"name": "mscdex", |
| 725 |
"email": "[email protected]" |
| 726 |
}, |
| 727 |
{ |
| 728 |
"name": "tjholowaychuk", |
| 729 |
"email": "[email protected]" |
| 730 |
} |
| 731 |
], |
| 732 |
"dist": { |
| 733 |
"shasum": "faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e", |
| 734 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz" |
| 735 |
}, |
| 736 |
"_npmOperationalInternal": { |
| 737 |
"host": "packages-12-west.internal.npmjs.com", |
| 738 |
"tmp": "tmp/statuses-1.3.1.tgz_1478923281491_0.5574048184789717" |
| 739 |
}, |
| 740 |
"directories": {} |
| 741 |
}, |
| 742 |
"1.4.0": { |
| 743 |
"name": "statuses", |
| 744 |
"description": "HTTP status utility", |
| 745 |
"version": "1.4.0", |
| 746 |
"contributors": [ |
| 747 |
{ |
| 748 |
"name": "Douglas Christopher Wilson", |
| 749 |
"email": "[email protected]" |
| 750 |
}, |
| 751 |
{ |
| 752 |
"name": "Jonathan Ong", |
| 753 |
"email": "[email protected]", |
| 754 |
"url": "http://jongleberry.com" |
| 755 |
} |
| 756 |
], |
| 757 |
"repository": { |
| 758 |
"type": "git", |
| 759 |
"url": "git+https://github.com/jshttp/statuses.git" |
| 760 |
}, |
| 761 |
"license": "MIT", |
| 762 |
"keywords": [ |
| 763 |
"http", |
| 764 |
"status", |
| 765 |
"code" |
| 766 |
], |
| 767 |
"files": [ |
| 768 |
"HISTORY.md", |
| 769 |
"index.js", |
| 770 |
"codes.json", |
| 771 |
"LICENSE" |
| 772 |
], |
| 773 |
"devDependencies": { |
| 774 |
"csv-parse": "1.2.4", |
| 775 |
"eslint": "3.19.0", |
| 776 |
"eslint-config-standard": "10.2.1", |
| 777 |
"eslint-plugin-import": "2.8.0", |
| 778 |
"eslint-plugin-markdown": "1.0.0-beta.6", |
| 779 |
"eslint-plugin-node": "5.2.0", |
| 780 |
"eslint-plugin-promise": "3.6.0", |
| 781 |
"eslint-plugin-standard": "3.0.1", |
| 782 |
"istanbul": "0.4.5", |
| 783 |
"mocha": "1.21.5", |
| 784 |
"raw-body": "2.3.2", |
| 785 |
"stream-to-array": "2.3.0" |
| 786 |
}, |
| 787 |
"engines": { |
| 788 |
"node": ">= 0.6" |
| 789 |
}, |
| 790 |
"scripts": { |
| 791 |
"build": "node scripts/build.js", |
| 792 |
"fetch": "node scripts/fetch-apache.js && node scripts/fetch-iana.js && node scripts/fetch-nginx.js && node scripts/fetch-node.js", |
| 793 |
"lint": "eslint --plugin markdown --ext js,md .", |
| 794 |
"test": "mocha --reporter spec --check-leaks --bail test/", |
| 795 |
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", |
| 796 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", |
| 797 |
"update": "npm run fetch && npm run build" |
| 798 |
}, |
| 799 |
"gitHead": "f76682144d9f0ed2c726bf0a8c868a33e393a8e5", |
| 800 |
"bugs": { |
| 801 |
"url": "https://github.com/jshttp/statuses/issues" |
| 802 |
}, |
| 803 |
"homepage": "https://github.com/jshttp/statuses#readme", |
| 804 |
"_id": "[email protected]", |
| 805 |
"_npmVersion": "5.4.2", |
| 806 |
"_nodeVersion": "6.11.4", |
| 807 |
"_npmUser": { |
| 808 |
"name": "dougwilson", |
| 809 |
"email": "[email protected]" |
| 810 |
}, |
| 811 |
"dist": { |
| 812 |
"integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", |
| 813 |
"shasum": "bb73d446da2796106efcc1b601a253d6c46bd087", |
| 814 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz" |
| 815 |
}, |
| 816 |
"maintainers": [ |
| 817 |
{ |
| 818 |
"email": "[email protected]", |
| 819 |
"name": "defunctzombie" |
| 820 |
}, |
| 821 |
{ |
| 822 |
"email": "[email protected]", |
| 823 |
"name": "tjholowaychuk" |
| 824 |
}, |
| 825 |
{ |
| 826 |
"email": "[email protected]", |
| 827 |
"name": "dougwilson" |
| 828 |
}, |
| 829 |
{ |
| 830 |
"email": "[email protected]", |
| 831 |
"name": "mscdex" |
| 832 |
}, |
| 833 |
{ |
| 834 |
"email": "[email protected]", |
| 835 |
"name": "fishrock123" |
| 836 |
}, |
| 837 |
{ |
| 838 |
"email": "[email protected]", |
| 839 |
"name": "jongleberry" |
| 840 |
} |
| 841 |
], |
| 842 |
"_npmOperationalInternal": { |
| 843 |
"host": "s3://npm-registry-packages", |
| 844 |
"tmp": "tmp/statuses-1.4.0.tgz_1508525480889_0.6966120798606426" |
| 845 |
}, |
| 846 |
"directories": {} |
| 847 |
}, |
| 848 |
"1.5.0": { |
| 849 |
"name": "statuses", |
| 850 |
"description": "HTTP status utility", |
| 851 |
"version": "1.5.0", |
| 852 |
"contributors": [ |
| 853 |
{ |
| 854 |
"name": "Douglas Christopher Wilson", |
| 855 |
"email": "[email protected]" |
| 856 |
}, |
| 857 |
{ |
| 858 |
"name": "Jonathan Ong", |
| 859 |
"email": "[email protected]", |
| 860 |
"url": "http://jongleberry.com" |
| 861 |
} |
| 862 |
], |
| 863 |
"repository": { |
| 864 |
"type": "git", |
| 865 |
"url": "git+https://github.com/jshttp/statuses.git" |
| 866 |
}, |
| 867 |
"license": "MIT", |
| 868 |
"keywords": [ |
| 869 |
"http", |
| 870 |
"status", |
| 871 |
"code" |
| 872 |
], |
| 873 |
"files": [ |
| 874 |
"HISTORY.md", |
| 875 |
"index.js", |
| 876 |
"codes.json", |
| 877 |
"LICENSE" |
| 878 |
], |
| 879 |
"devDependencies": { |
| 880 |
"csv-parse": "1.2.4", |
| 881 |
"eslint": "4.19.1", |
| 882 |
"eslint-config-standard": "11.0.0", |
| 883 |
"eslint-plugin-import": "2.9.0", |
| 884 |
"eslint-plugin-markdown": "1.0.0-beta.6", |
| 885 |
"eslint-plugin-node": "6.0.1", |
| 886 |
"eslint-plugin-promise": "3.7.0", |
| 887 |
"eslint-plugin-standard": "3.0.1", |
| 888 |
"istanbul": "0.4.5", |
| 889 |
"mocha": "1.21.5", |
| 890 |
"raw-body": "2.3.2", |
| 891 |
"stream-to-array": "2.3.0" |
| 892 |
}, |
| 893 |
"engines": { |
| 894 |
"node": ">= 0.6" |
| 895 |
}, |
| 896 |
"scripts": { |
| 897 |
"build": "node scripts/build.js", |
| 898 |
"fetch": "node scripts/fetch-apache.js && node scripts/fetch-iana.js && node scripts/fetch-nginx.js && node scripts/fetch-node.js", |
| 899 |
"lint": "eslint --plugin markdown --ext js,md .", |
| 900 |
"test": "mocha --reporter spec --check-leaks --bail test/", |
| 901 |
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", |
| 902 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", |
| 903 |
"update": "npm run fetch && npm run build" |
| 904 |
}, |
| 905 |
"gitHead": "4fcf6fb80ef50e8f0603b87946b0fa7868c815e7", |
| 906 |
"bugs": { |
| 907 |
"url": "https://github.com/jshttp/statuses/issues" |
| 908 |
}, |
| 909 |
"homepage": "https://github.com/jshttp/statuses#readme", |
| 910 |
"_id": "[email protected]", |
| 911 |
"_shasum": "161c7dac177659fd9811f43771fa99381478628c", |
| 912 |
"_from": ".", |
| 913 |
"_npmVersion": "3.10.10", |
| 914 |
"_nodeVersion": "6.13.1", |
| 915 |
"_npmUser": { |
| 916 |
"name": "dougwilson", |
| 917 |
"email": "[email protected]" |
| 918 |
}, |
| 919 |
"dist": { |
| 920 |
"shasum": "161c7dac177659fd9811f43771fa99381478628c", |
| 921 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", |
| 922 |
"fileCount": 6, |
| 923 |
"unpackedSize": 11034 |
| 924 |
}, |
| 925 |
"maintainers": [ |
| 926 |
{ |
| 927 |
"email": "[email protected]", |
| 928 |
"name": "defunctzombie" |
| 929 |
}, |
| 930 |
{ |
| 931 |
"email": "[email protected]", |
| 932 |
"name": "dougwilson" |
| 933 |
}, |
| 934 |
{ |
| 935 |
"email": "[email protected]", |
| 936 |
"name": "fishrock123" |
| 937 |
}, |
| 938 |
{ |
| 939 |
"email": "[email protected]", |
| 940 |
"name": "jongleberry" |
| 941 |
}, |
| 942 |
{ |
| 943 |
"email": "[email protected]", |
| 944 |
"name": "mscdex" |
| 945 |
}, |
| 946 |
{ |
| 947 |
"email": "[email protected]", |
| 948 |
"name": "tjholowaychuk" |
| 949 |
} |
| 950 |
], |
| 951 |
"directories": {}, |
| 952 |
"_npmOperationalInternal": { |
| 953 |
"host": "s3://npm-registry-packages", |
| 954 |
"tmp": "tmp/statuses_1.5.0_1522201397898_0.27375877363523005" |
| 955 |
}, |
| 956 |
"_hasShrinkwrap": false |
| 957 |
}, |
| 958 |
"2.0.0": { |
| 959 |
"name": "statuses", |
| 960 |
"description": "HTTP status utility", |
| 961 |
"version": "2.0.0", |
| 962 |
"contributors": [ |
| 963 |
{ |
| 964 |
"name": "Douglas Christopher Wilson", |
| 965 |
"email": "[email protected]" |
| 966 |
}, |
| 967 |
{ |
| 968 |
"name": "Jonathan Ong", |
| 969 |
"email": "[email protected]", |
| 970 |
"url": "http://jongleberry.com" |
| 971 |
} |
| 972 |
], |
| 973 |
"repository": { |
| 974 |
"type": "git", |
| 975 |
"url": "git+https://github.com/jshttp/statuses.git" |
| 976 |
}, |
| 977 |
"license": "MIT", |
| 978 |
"keywords": [ |
| 979 |
"http", |
| 980 |
"status", |
| 981 |
"code" |
| 982 |
], |
| 983 |
"devDependencies": { |
| 984 |
"csv-parse": "4.8.8", |
| 985 |
"eslint": "6.8.0", |
| 986 |
"eslint-config-standard": "14.1.1", |
| 987 |
"eslint-plugin-import": "2.20.2", |
| 988 |
"eslint-plugin-markdown": "1.0.2", |
| 989 |
"eslint-plugin-node": "11.1.0", |
| 990 |
"eslint-plugin-promise": "4.2.1", |
| 991 |
"eslint-plugin-standard": "4.0.1", |
| 992 |
"mocha": "7.1.1", |
| 993 |
"nyc": "15.0.1", |
| 994 |
"raw-body": "2.4.1", |
| 995 |
"stream-to-array": "2.3.0" |
| 996 |
}, |
| 997 |
"engines": { |
| 998 |
"node": ">= 0.8" |
| 999 |
}, |
| 1000 |
"scripts": { |
| 1001 |
"build": "node scripts/build.js", |
| 1002 |
"fetch": "node scripts/fetch-apache.js && node scripts/fetch-iana.js && node scripts/fetch-nginx.js && node scripts/fetch-node.js", |
| 1003 |
"lint": "eslint --plugin markdown --ext js,md .", |
| 1004 |
"test": "mocha --reporter spec --check-leaks --bail test/", |
| 1005 |
"test-ci": "nyc --reporter=text npm test", |
| 1006 |
"test-cov": "nyc --reporter=html --reporter=text npm test", |
| 1007 |
"update": "npm run fetch && npm run build", |
| 1008 |
"version": "node scripts/version-history.js && git add HISTORY.md" |
| 1009 |
}, |
| 1010 |
"gitHead": "3bf877301beccf9a4dd0814ff8e2e0e260a7e7c6", |
| 1011 |
"bugs": { |
| 1012 |
"url": "https://github.com/jshttp/statuses/issues" |
| 1013 |
}, |
| 1014 |
"homepage": "https://github.com/jshttp/statuses#readme", |
| 1015 |
"_id": "[email protected]", |
| 1016 |
"_nodeVersion": "13.12.0", |
| 1017 |
"_npmVersion": "6.14.4", |
| 1018 |
"dist": { |
| 1019 |
"integrity": "sha512-w9jNUUQdpuVoYqXxnyOakhckBbOxRaoYqJscyIBYCS5ixyCnO7nQn7zBZvP9zf5QOPZcz2DLUpE3KsNPbJBOFA==", |
| 1020 |
"shasum": "aa7b107e018eb33e08e8aee2e7337e762dda1028", |
| 1021 |
"tarball": "https://registry.npmjs.org/statuses/-/statuses-2.0.0.tgz", |
| 1022 |
"fileCount": 6, |
| 1023 |
"unpackedSize": 11666, |
| 1024 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenLN9CRA9TVsSAnZWagAATRcQAJUaqCVG9040tRrUxUdA\nIw3zgdZE2bFqllS/qFdwrho8dnxFhvVTZH9ufDQKFrnD52j7Zq/aF3j0UGEF\nW+1dSPzmleON/wagvwsi61GqsyNZWUOYYXsQtfJw6UtLrgcmAeNkXvcWyqvY\n9gWW8/27sMqpcECZLdXX9CaH9ZnBdJr8hIx/qUCAVKBhKLXTVN23/vrlguUM\nXPavbi0uuWy4qFYx1Pejs1BBgizSvD1/8oNf9IldtEX0vtIvE8JHBxCc1nFE\noQiTH+G8PUHUDvW14pxvMge+sXiLIYYfUipxBjzUVimv3QkeBUq9kLDjuwUO\nhegOeaxCqti73VlNHS+Xrgyqsr6nxcyDAiQcfVA4Kq8D3DEOUsBQK1BaDX3D\nuWNRi7mxDxP0I9IE6waj1kH8W4aaPY5q7rN4FDkeM5Cqd0BIQmlzOh1KrRsq\npgAAh+Jke6fDvegcPhNFXUsikAxbggbkBZtbana6lIcevuufOGQTmvktmcuw\nUHKixZEnuuhxR1OuGLU+PPGGugJcckRY56Xe37RriVXUZmWgPcBfb4mMKC2L\n52zMuRvy8j87j+uMN79TYdrZQw9DH+A428o22kKamIGBkGquXRIQu8sK1Is9\n6jOnhoilhjBZ7bgEa4snAlL1s2VeRpqdKWkwIVlGMYUWR73E0khTqgJ8Oblv\n9n90\r\n=DsWi\r\n-----END PGP SIGNATURE-----\r\n" |
| 1025 |
}, |
| 1026 |
"maintainers": [ |
| 1027 |
{ |
| 1028 |
"email": "[email protected]", |
| 1029 |
"name": "dougwilson" |
| 1030 |
}, |
| 1031 |
{ |
| 1032 |
"email": "[email protected]", |
| 1033 |
"name": "jongleberry" |
| 1034 |
} |
| 1035 |
], |
| 1036 |
"_npmUser": { |
| 1037 |
"name": "dougwilson", |
| 1038 |
"email": "[email protected]" |
| 1039 |
}, |
| 1040 |
"directories": {}, |
| 1041 |
"_npmOperationalInternal": { |
| 1042 |
"host": "s3://npm-registry-packages", |
| 1043 |
"tmp": "tmp/statuses_2.0.0_1587327868540_0.816822952129105" |
| 1044 |
}, |
| 1045 |
"_hasShrinkwrap": false |
| 1046 |
} |
| 1047 |
}, |
| 1048 |
"readme": "# statuses\n\n[![NPM Version][npm-version-image]][npm-url]\n[![NPM Downloads][npm-downloads-image]][npm-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nHTTP status utility for node.\n\nThis module provides a list of status codes and messages sourced from\na few different projects:\n\n * The [IANA Status Code Registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml)\n * The [Node.js project](https://nodejs.org/)\n * The [NGINX project](https://www.nginx.com/)\n * The [Apache HTTP Server project](https://httpd.apache.org/)\n\n## Installation\n\nThis is a [Node.js](https://nodejs.org/en/) module available through the\n[npm registry](https://www.npmjs.com/). Installation is done using the\n[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):\n\n```sh\n$ npm install statuses\n```\n\n## API\n\n<!-- eslint-disable no-unused-vars -->\n\n```js\nvar status = require('statuses')\n```\n\n### status(code)\n\nReturns the status message string for a known HTTP status code. The code\nmay be a number or a string. An error is thrown for an unknown status code.\n\n<!-- eslint-disable no-undef -->\n\n```js\nstatus(403) // => 'Forbidden'\nstatus('403') // => 'Forbidden'\nstatus(306) // throws\n```\n\n### status(msg)\n\nReturns the numeric status code for a known HTTP status message. The message\nis case-insensitive. An error is thrown for an unknown status message.\n\n<!-- eslint-disable no-undef -->\n\n```js\nstatus('forbidden') // => 403\nstatus('Forbidden') // => 403\nstatus('foo') // throws\n```\n\n### status.codes\n\nReturns an array of all the status codes as `Integer`s.\n\n### status.code[msg]\n\nReturns the numeric status code for a known status message (in lower-case),\notherwise `undefined`.\n\n<!-- eslint-disable no-undef, no-unused-expressions -->\n\n```js\nstatus['not found'] // => 404\n```\n\n### status.empty[code]\n\nReturns `true` if a status code expects an empty body.\n\n<!-- eslint-disable no-undef, no-unused-expressions -->\n\n```js\nstatus.empty[200] // => undefined\nstatus.empty[204] // => true\nstatus.empty[304] // => true\n```\n\n### status.message[code]\n\nReturns the string message for a known numeric status code, otherwise\n`undefined`. This object is the same format as the\n[Node.js http module `http.STATUS_CODES`](https://nodejs.org/dist/latest/docs/api/http.html#http_http_status_codes).\n\n<!-- eslint-disable no-undef, no-unused-expressions -->\n\n```js\nstatus.message[404] // => 'Not Found'\n```\n\n### status.redirect[code]\n\nReturns `true` if a status code is a valid redirect status.\n\n<!-- eslint-disable no-undef, no-unused-expressions -->\n\n```js\nstatus.redirect[200] // => undefined\nstatus.redirect[301] // => true\n```\n\n### status.retry[code]\n\nReturns `true` if you should retry the rest.\n\n<!-- eslint-disable no-undef, no-unused-expressions -->\n\n```js\nstatus.retry[501] // => undefined\nstatus.retry[503] // => true\n```\n\n## License\n\n[MIT](LICENSE)\n\n[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/statuses/master\n[coveralls-url]: https://coveralls.io/r/jshttp/statuses?branch=master\n[node-version-image]: https://badgen.net/npm/node/statuses\n[node-version-url]: https://nodejs.org/en/download\n[npm-downloads-image]: https://badgen.net/npm/dm/statuses\n[npm-url]: https://npmjs.org/package/statuses\n[npm-version-image]: https://badgen.net/npm/v/statuses\n[travis-image]: https://badgen.net/travis/jshttp/statuses/master\n[travis-url]: https://travis-ci.org/jshttp/statuses\n", |
| 1049 |
"maintainers": [ |
| 1050 |
{ |
| 1051 |
"email": "[email protected]", |
| 1052 |
"name": "dougwilson" |
| 1053 |
}, |
| 1054 |
{ |
| 1055 |
"email": "[email protected]", |
| 1056 |
"name": "jongleberry" |
| 1057 |
} |
| 1058 |
], |
| 1059 |
"time": { |
| 1060 |
"modified": "2020-04-19T20:24:31.140Z", |
| 1061 |
"created": "2014-03-13T01:21:33.978Z", |
| 1062 |
"1.0.1": "2014-03-13T01:21:33.978Z", |
| 1063 |
"1.0.2": "2014-03-14T19:13:18.390Z", |
| 1064 |
"1.0.3": "2014-06-09T07:25:34.449Z", |
| 1065 |
"1.0.4": "2014-08-21T08:55:36.731Z", |
| 1066 |
"1.1.0": "2014-09-22T00:42:03.183Z", |
| 1067 |
"1.1.1": "2014-09-25T00:25:01.485Z", |
| 1068 |
"1.2.0": "2014-09-29T04:11:14.857Z", |
| 1069 |
"1.2.1": "2015-02-01T23:52:50.008Z", |
| 1070 |
"1.3.0": "2016-05-17T20:44:38.170Z", |
| 1071 |
"1.3.1": "2016-11-12T04:01:23.592Z", |
| 1072 |
"1.4.0": "2017-10-20T18:51:21.858Z", |
| 1073 |
"1.5.0": "2018-03-28T01:43:17.941Z", |
| 1074 |
"2.0.0": "2020-04-19T20:24:28.697Z" |
| 1075 |
}, |
| 1076 |
"homepage": "https://github.com/jshttp/statuses#readme", |
| 1077 |
"repository": { |
| 1078 |
"type": "git", |
| 1079 |
"url": "git+https://github.com/jshttp/statuses.git" |
| 1080 |
}, |
| 1081 |
"bugs": { |
| 1082 |
"url": "https://github.com/jshttp/statuses/issues" |
| 1083 |
}, |
| 1084 |
"license": "MIT", |
| 1085 |
"readmeFilename": "README.md", |
| 1086 |
"users": { |
| 1087 |
"tunnckocore": true, |
| 1088 |
"mimmo1": true, |
| 1089 |
"darkowlzz": true, |
| 1090 |
"docksteaderluke": true, |
| 1091 |
"goodseller": true, |
| 1092 |
"maximilianschmitt": true, |
| 1093 |
"j3kz": true, |
| 1094 |
"h0ward": true, |
| 1095 |
"unboundev": true, |
| 1096 |
"igorissen": true, |
| 1097 |
"cwagner": true, |
| 1098 |
"mojaray2k": true, |
| 1099 |
"kodekracker": true, |
| 1100 |
"nickeltobias": true, |
| 1101 |
"ziflex": true, |
| 1102 |
"jota": true, |
| 1103 |
"wangnan0610": true, |
| 1104 |
"quafoo": true, |
| 1105 |
"bengi": true, |
| 1106 |
"daizch": true, |
| 1107 |
"456wyc": true, |
| 1108 |
"snowdream": true, |
| 1109 |
"xueboren": true, |
| 1110 |
"eyson": true, |
| 1111 |
"tedyhy": true, |
| 1112 |
"zhenguo.zhao": true, |
| 1113 |
"hualei": true |
| 1114 |
}, |
| 1115 |
"keywords": [ |
| 1116 |
"http", |
| 1117 |
"status", |
| 1118 |
"code" |
| 1119 |
], |
| 1120 |
"contributors": [ |
| 1121 |
{ |
| 1122 |
"name": "Douglas Christopher Wilson", |
| 1123 |
"email": "[email protected]" |
| 1124 |
}, |
| 1125 |
{ |
| 1126 |
"name": "Jonathan Ong", |
| 1127 |
"email": "[email protected]", |
| 1128 |
"url": "http://jongleberry.com" |
| 1129 |
} |
| 1130 |
] |
| 1131 |
} |