| 1 |
{ |
| 2 |
"_id": "fresh", |
| 3 |
"_rev": "45-2ea2e347c7b1853450c8fc132432c64a", |
| 4 |
"name": "fresh", |
| 5 |
"description": "HTTP response freshness testing", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "0.5.2" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.0.1": { |
| 11 |
"name": "fresh", |
| 12 |
"author": { |
| 13 |
"name": "TJ Holowaychuk", |
| 14 |
"email": "[email protected]", |
| 15 |
"url": "http://tjholowaychuk.com" |
| 16 |
}, |
| 17 |
"description": "HTTP response freshness testing", |
| 18 |
"version": "0.0.1", |
| 19 |
"main": "index.js", |
| 20 |
"dependencies": {}, |
| 21 |
"devDependencies": { |
| 22 |
"mocha": "*", |
| 23 |
"should": "*" |
| 24 |
}, |
| 25 |
"_npmUser": { |
| 26 |
"name": "tjholowaychuk", |
| 27 |
"email": "[email protected]" |
| 28 |
}, |
| 29 |
"_id": "[email protected]", |
| 30 |
"optionalDependencies": {}, |
| 31 |
"engines": { |
| 32 |
"node": "*" |
| 33 |
}, |
| 34 |
"_engineSupported": true, |
| 35 |
"_npmVersion": "1.1.24", |
| 36 |
"_nodeVersion": "v0.6.19", |
| 37 |
"_defaultsLoaded": true, |
| 38 |
"dist": { |
| 39 |
"shasum": "f98a0a1b9001b6e227fb9c65ff3927bdb7b404fa", |
| 40 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.0.1.tgz" |
| 41 |
}, |
| 42 |
"maintainers": [ |
| 43 |
{ |
| 44 |
"name": "tjholowaychuk", |
| 45 |
"email": "[email protected]" |
| 46 |
} |
| 47 |
], |
| 48 |
"directories": {} |
| 49 |
}, |
| 50 |
"0.1.0": { |
| 51 |
"name": "fresh", |
| 52 |
"author": { |
| 53 |
"name": "TJ Holowaychuk", |
| 54 |
"email": "[email protected]", |
| 55 |
"url": "http://tjholowaychuk.com" |
| 56 |
}, |
| 57 |
"description": "HTTP response freshness testing", |
| 58 |
"version": "0.1.0", |
| 59 |
"main": "index.js", |
| 60 |
"dependencies": {}, |
| 61 |
"devDependencies": { |
| 62 |
"mocha": "*", |
| 63 |
"should": "*" |
| 64 |
}, |
| 65 |
"_npmUser": { |
| 66 |
"name": "tjholowaychuk", |
| 67 |
"email": "[email protected]" |
| 68 |
}, |
| 69 |
"_id": "[email protected]", |
| 70 |
"optionalDependencies": {}, |
| 71 |
"engines": { |
| 72 |
"node": "*" |
| 73 |
}, |
| 74 |
"_engineSupported": true, |
| 75 |
"_npmVersion": "1.1.24", |
| 76 |
"_nodeVersion": "v0.6.19", |
| 77 |
"_defaultsLoaded": true, |
| 78 |
"dist": { |
| 79 |
"shasum": "03e4b0178424e4c2d5d19a54d8814cdc97934850", |
| 80 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz" |
| 81 |
}, |
| 82 |
"maintainers": [ |
| 83 |
{ |
| 84 |
"name": "tjholowaychuk", |
| 85 |
"email": "[email protected]" |
| 86 |
} |
| 87 |
], |
| 88 |
"directories": {} |
| 89 |
}, |
| 90 |
"0.2.0": { |
| 91 |
"name": "fresh", |
| 92 |
"author": { |
| 93 |
"name": "TJ Holowaychuk", |
| 94 |
"email": "[email protected]", |
| 95 |
"url": "http://tjholowaychuk.com" |
| 96 |
}, |
| 97 |
"description": "HTTP response freshness testing", |
| 98 |
"version": "0.2.0", |
| 99 |
"main": "index.js", |
| 100 |
"repository": { |
| 101 |
"type": "git", |
| 102 |
"url": "https://github.com/visionmedia/node-fresh.git" |
| 103 |
}, |
| 104 |
"dependencies": {}, |
| 105 |
"devDependencies": { |
| 106 |
"mocha": "*", |
| 107 |
"should": "*" |
| 108 |
}, |
| 109 |
"bugs": { |
| 110 |
"url": "https://github.com/visionmedia/node-fresh/issues" |
| 111 |
}, |
| 112 |
"_id": "[email protected]", |
| 113 |
"dist": { |
| 114 |
"shasum": "bfd9402cf3df12c4a4c310c79f99a3dde13d34a7", |
| 115 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.2.0.tgz" |
| 116 |
}, |
| 117 |
"_from": ".", |
| 118 |
"_npmVersion": "1.3.4", |
| 119 |
"_npmUser": { |
| 120 |
"name": "tjholowaychuk", |
| 121 |
"email": "[email protected]" |
| 122 |
}, |
| 123 |
"maintainers": [ |
| 124 |
{ |
| 125 |
"name": "tjholowaychuk", |
| 126 |
"email": "[email protected]" |
| 127 |
} |
| 128 |
], |
| 129 |
"directories": {} |
| 130 |
}, |
| 131 |
"0.2.1": { |
| 132 |
"name": "fresh", |
| 133 |
"author": { |
| 134 |
"name": "TJ Holowaychuk", |
| 135 |
"email": "[email protected]", |
| 136 |
"url": "http://tjholowaychuk.com" |
| 137 |
}, |
| 138 |
"description": "HTTP response freshness testing", |
| 139 |
"version": "0.2.1", |
| 140 |
"main": "index.js", |
| 141 |
"repository": { |
| 142 |
"type": "git", |
| 143 |
"url": "https://github.com/visionmedia/node-fresh.git" |
| 144 |
}, |
| 145 |
"dependencies": {}, |
| 146 |
"devDependencies": { |
| 147 |
"mocha": "*", |
| 148 |
"should": "*" |
| 149 |
}, |
| 150 |
"licenses": [ |
| 151 |
{ |
| 152 |
"type": "MIT", |
| 153 |
"url": "https://github.com/visionmedia/node-fresh/blob/master/Readme.md#license" |
| 154 |
} |
| 155 |
], |
| 156 |
"bugs": { |
| 157 |
"url": "https://github.com/visionmedia/node-fresh/issues" |
| 158 |
}, |
| 159 |
"homepage": "https://github.com/visionmedia/node-fresh", |
| 160 |
"_id": "[email protected]", |
| 161 |
"dist": { |
| 162 |
"shasum": "13cc0b1f53fe0e6fa6a70c18d52ce3c5c56be066", |
| 163 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.2.1.tgz" |
| 164 |
}, |
| 165 |
"_from": ".", |
| 166 |
"_npmVersion": "1.3.15", |
| 167 |
"_npmUser": { |
| 168 |
"name": "tjholowaychuk", |
| 169 |
"email": "[email protected]" |
| 170 |
}, |
| 171 |
"maintainers": [ |
| 172 |
{ |
| 173 |
"name": "tjholowaychuk", |
| 174 |
"email": "[email protected]" |
| 175 |
} |
| 176 |
], |
| 177 |
"directories": {} |
| 178 |
}, |
| 179 |
"0.2.2": { |
| 180 |
"name": "fresh", |
| 181 |
"author": { |
| 182 |
"name": "TJ Holowaychuk", |
| 183 |
"email": "[email protected]", |
| 184 |
"url": "http://tjholowaychuk.com" |
| 185 |
}, |
| 186 |
"description": "HTTP response freshness testing", |
| 187 |
"version": "0.2.2", |
| 188 |
"main": "index.js", |
| 189 |
"repository": { |
| 190 |
"type": "git", |
| 191 |
"url": "https://github.com/visionmedia/node-fresh.git" |
| 192 |
}, |
| 193 |
"dependencies": {}, |
| 194 |
"devDependencies": { |
| 195 |
"mocha": "*", |
| 196 |
"should": "*" |
| 197 |
}, |
| 198 |
"licenses": [ |
| 199 |
{ |
| 200 |
"type": "MIT", |
| 201 |
"url": "https://github.com/visionmedia/node-fresh/blob/master/Readme.md#license" |
| 202 |
} |
| 203 |
], |
| 204 |
"bugs": { |
| 205 |
"url": "https://github.com/visionmedia/node-fresh/issues" |
| 206 |
}, |
| 207 |
"homepage": "https://github.com/visionmedia/node-fresh", |
| 208 |
"_id": "[email protected]", |
| 209 |
"dist": { |
| 210 |
"shasum": "9731dcf5678c7faeb44fb903c4f72df55187fa77", |
| 211 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.2.2.tgz" |
| 212 |
}, |
| 213 |
"_from": ".", |
| 214 |
"_npmVersion": "1.3.15", |
| 215 |
"_npmUser": { |
| 216 |
"name": "tjholowaychuk", |
| 217 |
"email": "[email protected]" |
| 218 |
}, |
| 219 |
"maintainers": [ |
| 220 |
{ |
| 221 |
"name": "tjholowaychuk", |
| 222 |
"email": "[email protected]" |
| 223 |
} |
| 224 |
], |
| 225 |
"directories": {} |
| 226 |
}, |
| 227 |
"0.2.3": { |
| 228 |
"name": "fresh", |
| 229 |
"author": { |
| 230 |
"name": "TJ Holowaychuk", |
| 231 |
"email": "[email protected]", |
| 232 |
"url": "http://tjholowaychuk.com" |
| 233 |
}, |
| 234 |
"description": "HTTP response freshness testing", |
| 235 |
"version": "0.2.3", |
| 236 |
"repository": { |
| 237 |
"type": "git", |
| 238 |
"url": "https://github.com/jshttp/fresh" |
| 239 |
}, |
| 240 |
"devDependencies": { |
| 241 |
"istanbul": "0", |
| 242 |
"mocha": "1", |
| 243 |
"should": "3" |
| 244 |
}, |
| 245 |
"license": "MIT", |
| 246 |
"scripts": { |
| 247 |
"test": "mocha --reporter spec --require should", |
| 248 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --require should", |
| 249 |
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot --require should" |
| 250 |
}, |
| 251 |
"keywords": [ |
| 252 |
"fresh", |
| 253 |
"http", |
| 254 |
"conditional", |
| 255 |
"cache" |
| 256 |
], |
| 257 |
"files": [ |
| 258 |
"index.js" |
| 259 |
], |
| 260 |
"gitHead": "a94cacdf94f85bd6a1e1210c5928e4b0d8518043", |
| 261 |
"bugs": { |
| 262 |
"url": "https://github.com/jshttp/fresh/issues" |
| 263 |
}, |
| 264 |
"homepage": "https://github.com/jshttp/fresh", |
| 265 |
"_id": "[email protected]", |
| 266 |
"_shasum": "2db40d43bc63830f418519380879d6bedde2e845", |
| 267 |
"_from": ".", |
| 268 |
"_npmVersion": "1.4.21", |
| 269 |
"_npmUser": { |
| 270 |
"name": "jongleberry", |
| 271 |
"email": "[email protected]" |
| 272 |
}, |
| 273 |
"maintainers": [ |
| 274 |
{ |
| 275 |
"name": "tjholowaychuk", |
| 276 |
"email": "[email protected]" |
| 277 |
}, |
| 278 |
{ |
| 279 |
"name": "jonathanong", |
| 280 |
"email": "[email protected]" |
| 281 |
}, |
| 282 |
{ |
| 283 |
"name": "dougwilson", |
| 284 |
"email": "[email protected]" |
| 285 |
}, |
| 286 |
{ |
| 287 |
"name": "jongleberry", |
| 288 |
"email": "[email protected]" |
| 289 |
} |
| 290 |
], |
| 291 |
"dist": { |
| 292 |
"shasum": "2db40d43bc63830f418519380879d6bedde2e845", |
| 293 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.2.3.tgz" |
| 294 |
}, |
| 295 |
"directories": {} |
| 296 |
}, |
| 297 |
"0.2.4": { |
| 298 |
"name": "fresh", |
| 299 |
"description": "HTTP response freshness testing", |
| 300 |
"version": "0.2.4", |
| 301 |
"author": { |
| 302 |
"name": "TJ Holowaychuk", |
| 303 |
"email": "[email protected]", |
| 304 |
"url": "http://tjholowaychuk.com" |
| 305 |
}, |
| 306 |
"license": "MIT", |
| 307 |
"keywords": [ |
| 308 |
"fresh", |
| 309 |
"http", |
| 310 |
"conditional", |
| 311 |
"cache" |
| 312 |
], |
| 313 |
"repository": { |
| 314 |
"type": "git", |
| 315 |
"url": "https://github.com/jshttp/fresh" |
| 316 |
}, |
| 317 |
"devDependencies": { |
| 318 |
"istanbul": "0", |
| 319 |
"mocha": "1", |
| 320 |
"should": "3" |
| 321 |
}, |
| 322 |
"files": [ |
| 323 |
"HISTORY.md", |
| 324 |
"LICENSE", |
| 325 |
"index.js" |
| 326 |
], |
| 327 |
"engines": { |
| 328 |
"node": ">= 0.6" |
| 329 |
}, |
| 330 |
"scripts": { |
| 331 |
"test": "mocha --reporter spec --require should", |
| 332 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --require should", |
| 333 |
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot --require should" |
| 334 |
}, |
| 335 |
"gitHead": "8440a4ca75fb091dec06e88654b3b1c31d7e7164", |
| 336 |
"bugs": { |
| 337 |
"url": "https://github.com/jshttp/fresh/issues" |
| 338 |
}, |
| 339 |
"homepage": "https://github.com/jshttp/fresh", |
| 340 |
"_id": "[email protected]", |
| 341 |
"_shasum": "3582499206c9723714190edd74b4604feb4a614c", |
| 342 |
"_from": ".", |
| 343 |
"_npmVersion": "1.4.21", |
| 344 |
"_npmUser": { |
| 345 |
"name": "dougwilson", |
| 346 |
"email": "[email protected]" |
| 347 |
}, |
| 348 |
"maintainers": [ |
| 349 |
{ |
| 350 |
"name": "tjholowaychuk", |
| 351 |
"email": "[email protected]" |
| 352 |
}, |
| 353 |
{ |
| 354 |
"name": "jonathanong", |
| 355 |
"email": "[email protected]" |
| 356 |
}, |
| 357 |
{ |
| 358 |
"name": "dougwilson", |
| 359 |
"email": "[email protected]" |
| 360 |
}, |
| 361 |
{ |
| 362 |
"name": "jongleberry", |
| 363 |
"email": "[email protected]" |
| 364 |
} |
| 365 |
], |
| 366 |
"dist": { |
| 367 |
"shasum": "3582499206c9723714190edd74b4604feb4a614c", |
| 368 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.2.4.tgz" |
| 369 |
}, |
| 370 |
"directories": {} |
| 371 |
}, |
| 372 |
"0.3.0": { |
| 373 |
"name": "fresh", |
| 374 |
"description": "HTTP response freshness testing", |
| 375 |
"version": "0.3.0", |
| 376 |
"author": { |
| 377 |
"name": "TJ Holowaychuk", |
| 378 |
"email": "[email protected]", |
| 379 |
"url": "http://tjholowaychuk.com" |
| 380 |
}, |
| 381 |
"contributors": [ |
| 382 |
{ |
| 383 |
"name": "Douglas Christopher Wilson", |
| 384 |
"email": "[email protected]" |
| 385 |
}, |
| 386 |
{ |
| 387 |
"name": "Jonathan Ong", |
| 388 |
"email": "[email protected]", |
| 389 |
"url": "http://jongleberry.com" |
| 390 |
} |
| 391 |
], |
| 392 |
"license": "MIT", |
| 393 |
"keywords": [ |
| 394 |
"fresh", |
| 395 |
"http", |
| 396 |
"conditional", |
| 397 |
"cache" |
| 398 |
], |
| 399 |
"repository": { |
| 400 |
"type": "git", |
| 401 |
"url": "https://github.com/jshttp/fresh" |
| 402 |
}, |
| 403 |
"devDependencies": { |
| 404 |
"istanbul": "0.3.9", |
| 405 |
"mocha": "1.21.5" |
| 406 |
}, |
| 407 |
"files": [ |
| 408 |
"HISTORY.md", |
| 409 |
"LICENSE", |
| 410 |
"index.js" |
| 411 |
], |
| 412 |
"engines": { |
| 413 |
"node": ">= 0.6" |
| 414 |
}, |
| 415 |
"scripts": { |
| 416 |
"test": "mocha --reporter spec --bail --check-leaks test/", |
| 417 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", |
| 418 |
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" |
| 419 |
}, |
| 420 |
"gitHead": "14616c9748368ca08cd6a955dd88ab659b778634", |
| 421 |
"bugs": { |
| 422 |
"url": "https://github.com/jshttp/fresh/issues" |
| 423 |
}, |
| 424 |
"homepage": "https://github.com/jshttp/fresh", |
| 425 |
"_id": "[email protected]", |
| 426 |
"_shasum": "651f838e22424e7566de161d8358caa199f83d4f", |
| 427 |
"_from": ".", |
| 428 |
"_npmVersion": "1.4.28", |
| 429 |
"_npmUser": { |
| 430 |
"name": "dougwilson", |
| 431 |
"email": "[email protected]" |
| 432 |
}, |
| 433 |
"maintainers": [ |
| 434 |
{ |
| 435 |
"name": "tjholowaychuk", |
| 436 |
"email": "[email protected]" |
| 437 |
}, |
| 438 |
{ |
| 439 |
"name": "jonathanong", |
| 440 |
"email": "[email protected]" |
| 441 |
}, |
| 442 |
{ |
| 443 |
"name": "dougwilson", |
| 444 |
"email": "[email protected]" |
| 445 |
}, |
| 446 |
{ |
| 447 |
"name": "jongleberry", |
| 448 |
"email": "[email protected]" |
| 449 |
} |
| 450 |
], |
| 451 |
"dist": { |
| 452 |
"shasum": "651f838e22424e7566de161d8358caa199f83d4f", |
| 453 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.3.0.tgz" |
| 454 |
}, |
| 455 |
"directories": {} |
| 456 |
}, |
| 457 |
"0.4.0": { |
| 458 |
"name": "fresh", |
| 459 |
"description": "HTTP response freshness testing", |
| 460 |
"version": "0.4.0", |
| 461 |
"author": { |
| 462 |
"name": "TJ Holowaychuk", |
| 463 |
"email": "[email protected]", |
| 464 |
"url": "http://tjholowaychuk.com" |
| 465 |
}, |
| 466 |
"contributors": [ |
| 467 |
{ |
| 468 |
"name": "Douglas Christopher Wilson", |
| 469 |
"email": "[email protected]" |
| 470 |
}, |
| 471 |
{ |
| 472 |
"name": "Jonathan Ong", |
| 473 |
"email": "[email protected]", |
| 474 |
"url": "http://jongleberry.com" |
| 475 |
} |
| 476 |
], |
| 477 |
"license": "MIT", |
| 478 |
"keywords": [ |
| 479 |
"fresh", |
| 480 |
"http", |
| 481 |
"conditional", |
| 482 |
"cache" |
| 483 |
], |
| 484 |
"repository": { |
| 485 |
"type": "git", |
| 486 |
"url": "git+https://github.com/jshttp/fresh.git" |
| 487 |
}, |
| 488 |
"devDependencies": { |
| 489 |
"eslint": "3.15.0", |
| 490 |
"eslint-config-standard": "6.2.1", |
| 491 |
"eslint-plugin-promise": "3.4.0", |
| 492 |
"eslint-plugin-standard": "2.0.1", |
| 493 |
"istanbul": "0.4.5", |
| 494 |
"mocha": "1.21.5" |
| 495 |
}, |
| 496 |
"files": [ |
| 497 |
"HISTORY.md", |
| 498 |
"LICENSE", |
| 499 |
"index.js" |
| 500 |
], |
| 501 |
"engines": { |
| 502 |
"node": ">= 0.6" |
| 503 |
}, |
| 504 |
"scripts": { |
| 505 |
"lint": "eslint .", |
| 506 |
"test": "mocha --reporter spec --bail --check-leaks test/", |
| 507 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", |
| 508 |
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" |
| 509 |
}, |
| 510 |
"gitHead": "c0af4deba75d95d1f5d56906b7dc45b849cbaa21", |
| 511 |
"bugs": { |
| 512 |
"url": "https://github.com/jshttp/fresh/issues" |
| 513 |
}, |
| 514 |
"homepage": "https://github.com/jshttp/fresh#readme", |
| 515 |
"_id": "[email protected]", |
| 516 |
"_shasum": "475626a934a8d3480b2101a1d6ecef7dafd7c553", |
| 517 |
"_from": ".", |
| 518 |
"_npmVersion": "2.15.9", |
| 519 |
"_nodeVersion": "4.6.0", |
| 520 |
"_npmUser": { |
| 521 |
"name": "dougwilson", |
| 522 |
"email": "[email protected]" |
| 523 |
}, |
| 524 |
"dist": { |
| 525 |
"shasum": "475626a934a8d3480b2101a1d6ecef7dafd7c553", |
| 526 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.4.0.tgz" |
| 527 |
}, |
| 528 |
"maintainers": [ |
| 529 |
{ |
| 530 |
"name": "dougwilson", |
| 531 |
"email": "[email protected]" |
| 532 |
} |
| 533 |
], |
| 534 |
"_npmOperationalInternal": { |
| 535 |
"host": "packages-12-west.internal.npmjs.com", |
| 536 |
"tmp": "tmp/fresh-0.4.0.tgz_1486346746830_0.760833503678441" |
| 537 |
}, |
| 538 |
"directories": {} |
| 539 |
}, |
| 540 |
"0.5.0": { |
| 541 |
"name": "fresh", |
| 542 |
"description": "HTTP response freshness testing", |
| 543 |
"version": "0.5.0", |
| 544 |
"author": { |
| 545 |
"name": "TJ Holowaychuk", |
| 546 |
"email": "[email protected]", |
| 547 |
"url": "http://tjholowaychuk.com" |
| 548 |
}, |
| 549 |
"contributors": [ |
| 550 |
{ |
| 551 |
"name": "Douglas Christopher Wilson", |
| 552 |
"email": "[email protected]" |
| 553 |
}, |
| 554 |
{ |
| 555 |
"name": "Jonathan Ong", |
| 556 |
"email": "[email protected]", |
| 557 |
"url": "http://jongleberry.com" |
| 558 |
} |
| 559 |
], |
| 560 |
"license": "MIT", |
| 561 |
"keywords": [ |
| 562 |
"fresh", |
| 563 |
"http", |
| 564 |
"conditional", |
| 565 |
"cache" |
| 566 |
], |
| 567 |
"repository": { |
| 568 |
"type": "git", |
| 569 |
"url": "git+https://github.com/jshttp/fresh.git" |
| 570 |
}, |
| 571 |
"devDependencies": { |
| 572 |
"eslint": "3.16.0", |
| 573 |
"eslint-config-standard": "6.2.1", |
| 574 |
"eslint-plugin-promise": "3.4.2", |
| 575 |
"eslint-plugin-standard": "2.0.1", |
| 576 |
"istanbul": "0.4.5", |
| 577 |
"mocha": "1.21.5" |
| 578 |
}, |
| 579 |
"files": [ |
| 580 |
"HISTORY.md", |
| 581 |
"LICENSE", |
| 582 |
"index.js" |
| 583 |
], |
| 584 |
"engines": { |
| 585 |
"node": ">= 0.6" |
| 586 |
}, |
| 587 |
"scripts": { |
| 588 |
"lint": "eslint .", |
| 589 |
"test": "mocha --reporter spec --bail --check-leaks test/", |
| 590 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", |
| 591 |
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" |
| 592 |
}, |
| 593 |
"gitHead": "b1d26abb390d5dd1d9b82f0a5b890ab0ef1fee5c", |
| 594 |
"bugs": { |
| 595 |
"url": "https://github.com/jshttp/fresh/issues" |
| 596 |
}, |
| 597 |
"homepage": "https://github.com/jshttp/fresh#readme", |
| 598 |
"_id": "[email protected]", |
| 599 |
"_shasum": "f474ca5e6a9246d6fd8e0953cfa9b9c805afa78e", |
| 600 |
"_from": ".", |
| 601 |
"_npmVersion": "2.15.11", |
| 602 |
"_nodeVersion": "4.7.3", |
| 603 |
"_npmUser": { |
| 604 |
"name": "dougwilson", |
| 605 |
"email": "[email protected]" |
| 606 |
}, |
| 607 |
"dist": { |
| 608 |
"shasum": "f474ca5e6a9246d6fd8e0953cfa9b9c805afa78e", |
| 609 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.5.0.tgz" |
| 610 |
}, |
| 611 |
"maintainers": [ |
| 612 |
{ |
| 613 |
"name": "dougwilson", |
| 614 |
"email": "[email protected]" |
| 615 |
} |
| 616 |
], |
| 617 |
"_npmOperationalInternal": { |
| 618 |
"host": "packages-12-west.internal.npmjs.com", |
| 619 |
"tmp": "tmp/fresh-0.5.0.tgz_1487738798128_0.4817247486207634" |
| 620 |
}, |
| 621 |
"directories": {} |
| 622 |
}, |
| 623 |
"0.5.1": { |
| 624 |
"name": "fresh", |
| 625 |
"description": "HTTP response freshness testing", |
| 626 |
"version": "0.5.1", |
| 627 |
"author": { |
| 628 |
"name": "TJ Holowaychuk", |
| 629 |
"email": "[email protected]", |
| 630 |
"url": "http://tjholowaychuk.com" |
| 631 |
}, |
| 632 |
"contributors": [ |
| 633 |
{ |
| 634 |
"name": "Douglas Christopher Wilson", |
| 635 |
"email": "[email protected]" |
| 636 |
}, |
| 637 |
{ |
| 638 |
"name": "Jonathan Ong", |
| 639 |
"email": "[email protected]", |
| 640 |
"url": "http://jongleberry.com" |
| 641 |
} |
| 642 |
], |
| 643 |
"license": "MIT", |
| 644 |
"keywords": [ |
| 645 |
"fresh", |
| 646 |
"http", |
| 647 |
"conditional", |
| 648 |
"cache" |
| 649 |
], |
| 650 |
"repository": { |
| 651 |
"type": "git", |
| 652 |
"url": "git+https://github.com/jshttp/fresh.git" |
| 653 |
}, |
| 654 |
"devDependencies": { |
| 655 |
"beautify-benchmark": "0.2.4", |
| 656 |
"benchmark": "2.1.4", |
| 657 |
"eslint": "3.19.0", |
| 658 |
"eslint-config-standard": "10.2.1", |
| 659 |
"eslint-plugin-import": "2.7.0", |
| 660 |
"eslint-plugin-markdown": "1.0.0-beta.6", |
| 661 |
"eslint-plugin-node": "5.1.1", |
| 662 |
"eslint-plugin-promise": "3.5.0", |
| 663 |
"eslint-plugin-standard": "3.0.1", |
| 664 |
"istanbul": "0.4.5", |
| 665 |
"mocha": "1.21.5" |
| 666 |
}, |
| 667 |
"files": [ |
| 668 |
"HISTORY.md", |
| 669 |
"LICENSE", |
| 670 |
"index.js" |
| 671 |
], |
| 672 |
"engines": { |
| 673 |
"node": ">= 0.6" |
| 674 |
}, |
| 675 |
"scripts": { |
| 676 |
"bench": "node benchmark/index.js", |
| 677 |
"lint": "eslint --plugin markdown --ext js,md .", |
| 678 |
"test": "mocha --reporter spec --bail --check-leaks test/", |
| 679 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", |
| 680 |
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" |
| 681 |
}, |
| 682 |
"gitHead": "e8a4aaffc75b6169a6f57168ac79dee7a7f02c92", |
| 683 |
"bugs": { |
| 684 |
"url": "https://github.com/jshttp/fresh/issues" |
| 685 |
}, |
| 686 |
"homepage": "https://github.com/jshttp/fresh#readme", |
| 687 |
"_id": "[email protected]", |
| 688 |
"_shasum": "c3a08bcec0fcdcc223edf3b23eb327f1f9fcbf5c", |
| 689 |
"_from": ".", |
| 690 |
"_npmVersion": "3.10.10", |
| 691 |
"_nodeVersion": "6.11.1", |
| 692 |
"_npmUser": { |
| 693 |
"name": "dougwilson", |
| 694 |
"email": "[email protected]" |
| 695 |
}, |
| 696 |
"dist": { |
| 697 |
"shasum": "c3a08bcec0fcdcc223edf3b23eb327f1f9fcbf5c", |
| 698 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.5.1.tgz" |
| 699 |
}, |
| 700 |
"maintainers": [ |
| 701 |
{ |
| 702 |
"name": "dougwilson", |
| 703 |
"email": "[email protected]" |
| 704 |
} |
| 705 |
], |
| 706 |
"_npmOperationalInternal": { |
| 707 |
"host": "s3://npm-registry-packages", |
| 708 |
"tmp": "tmp/fresh-0.5.1.tgz_1505187168525_0.3156159908976406" |
| 709 |
}, |
| 710 |
"directories": {} |
| 711 |
}, |
| 712 |
"0.5.2": { |
| 713 |
"name": "fresh", |
| 714 |
"description": "HTTP response freshness testing", |
| 715 |
"version": "0.5.2", |
| 716 |
"author": { |
| 717 |
"name": "TJ Holowaychuk", |
| 718 |
"email": "[email protected]", |
| 719 |
"url": "http://tjholowaychuk.com" |
| 720 |
}, |
| 721 |
"contributors": [ |
| 722 |
{ |
| 723 |
"name": "Douglas Christopher Wilson", |
| 724 |
"email": "[email protected]" |
| 725 |
}, |
| 726 |
{ |
| 727 |
"name": "Jonathan Ong", |
| 728 |
"email": "[email protected]", |
| 729 |
"url": "http://jongleberry.com" |
| 730 |
} |
| 731 |
], |
| 732 |
"license": "MIT", |
| 733 |
"keywords": [ |
| 734 |
"fresh", |
| 735 |
"http", |
| 736 |
"conditional", |
| 737 |
"cache" |
| 738 |
], |
| 739 |
"repository": { |
| 740 |
"type": "git", |
| 741 |
"url": "git+https://github.com/jshttp/fresh.git" |
| 742 |
}, |
| 743 |
"devDependencies": { |
| 744 |
"beautify-benchmark": "0.2.4", |
| 745 |
"benchmark": "2.1.4", |
| 746 |
"eslint": "3.19.0", |
| 747 |
"eslint-config-standard": "10.2.1", |
| 748 |
"eslint-plugin-import": "2.7.0", |
| 749 |
"eslint-plugin-markdown": "1.0.0-beta.6", |
| 750 |
"eslint-plugin-node": "5.1.1", |
| 751 |
"eslint-plugin-promise": "3.5.0", |
| 752 |
"eslint-plugin-standard": "3.0.1", |
| 753 |
"istanbul": "0.4.5", |
| 754 |
"mocha": "1.21.5" |
| 755 |
}, |
| 756 |
"files": [ |
| 757 |
"HISTORY.md", |
| 758 |
"LICENSE", |
| 759 |
"index.js" |
| 760 |
], |
| 761 |
"engines": { |
| 762 |
"node": ">= 0.6" |
| 763 |
}, |
| 764 |
"scripts": { |
| 765 |
"bench": "node benchmark/index.js", |
| 766 |
"lint": "eslint --plugin markdown --ext js,md .", |
| 767 |
"test": "mocha --reporter spec --bail --check-leaks test/", |
| 768 |
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", |
| 769 |
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" |
| 770 |
}, |
| 771 |
"gitHead": "02df6303ff260b6b7da0b479f3e42222e8157b47", |
| 772 |
"bugs": { |
| 773 |
"url": "https://github.com/jshttp/fresh/issues" |
| 774 |
}, |
| 775 |
"homepage": "https://github.com/jshttp/fresh#readme", |
| 776 |
"_id": "[email protected]", |
| 777 |
"_shasum": "3d8cadd90d976569fa835ab1f8e4b23a105605a7", |
| 778 |
"_from": ".", |
| 779 |
"_npmVersion": "3.10.10", |
| 780 |
"_nodeVersion": "6.11.1", |
| 781 |
"_npmUser": { |
| 782 |
"name": "dougwilson", |
| 783 |
"email": "[email protected]" |
| 784 |
}, |
| 785 |
"dist": { |
| 786 |
"shasum": "3d8cadd90d976569fa835ab1f8e4b23a105605a7", |
| 787 |
"tarball": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz" |
| 788 |
}, |
| 789 |
"maintainers": [ |
| 790 |
{ |
| 791 |
"name": "dougwilson", |
| 792 |
"email": "[email protected]" |
| 793 |
} |
| 794 |
], |
| 795 |
"_npmOperationalInternal": { |
| 796 |
"host": "s3://npm-registry-packages", |
| 797 |
"tmp": "tmp/fresh-0.5.2.tgz_1505365391149_0.7952043106779456" |
| 798 |
}, |
| 799 |
"directories": {} |
| 800 |
} |
| 801 |
}, |
| 802 |
"readme": "# fresh\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-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 response freshness testing\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```\n$ npm install fresh\n```\n\n## API\n\n<!-- eslint-disable no-unused-vars -->\n\n```js\nvar fresh = require('fresh')\n```\n\n### fresh(reqHeaders, resHeaders)\n\nCheck freshness of the response using request and response headers.\n\nWhen the response is still \"fresh\" in the client's cache `true` is\nreturned, otherwise `false` is returned to indicate that the client\ncache is now stale and the full response should be sent.\n\nWhen a client sends the `Cache-Control: no-cache` request header to\nindicate an end-to-end reload request, this module will return `false`\nto make handling these requests transparent.\n\n## Known Issues\n\nThis module is designed to only follow the HTTP specifications, not\nto work-around all kinda of client bugs (especially since this module\ntypically does not recieve enough information to understand what the\nclient actually is).\n\nThere is a known issue that in certain versions of Safari, Safari\nwill incorrectly make a request that allows this module to validate\nfreshness of the resource even when Safari does not have a\nrepresentation of the resource in the cache. The module\n[jumanji](https://www.npmjs.com/package/jumanji) can be used in\nan Express application to work-around this issue and also provides\nlinks to further reading on this Safari bug.\n\n## Example\n\n### API usage\n\n<!-- eslint-disable no-redeclare, no-undef -->\n\n```js\nvar reqHeaders = { 'if-none-match': '\"foo\"' }\nvar resHeaders = { 'etag': '\"bar\"' }\nfresh(reqHeaders, resHeaders)\n// => false\n\nvar reqHeaders = { 'if-none-match': '\"foo\"' }\nvar resHeaders = { 'etag': '\"foo\"' }\nfresh(reqHeaders, resHeaders)\n// => true\n```\n\n### Using with Node.js http server\n\n```js\nvar fresh = require('fresh')\nvar http = require('http')\n\nvar server = http.createServer(function (req, res) {\n // perform server logic\n // ... including adding ETag / Last-Modified response headers\n\n if (isFresh(req, res)) {\n // client has a fresh copy of resource\n res.statusCode = 304\n res.end()\n return\n }\n\n // send the resource\n res.statusCode = 200\n res.end('hello, world!')\n})\n\nfunction isFresh (req, res) {\n return fresh(req.headers, {\n 'etag': res.getHeader('ETag'),\n 'last-modified': res.getHeader('Last-Modified')\n })\n}\n\nserver.listen(3000)\n```\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/fresh.svg\n[npm-url]: https://npmjs.org/package/fresh\n[node-version-image]: https://img.shields.io/node/v/fresh.svg\n[node-version-url]: https://nodejs.org/en/\n[travis-image]: https://img.shields.io/travis/jshttp/fresh/master.svg\n[travis-url]: https://travis-ci.org/jshttp/fresh\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/fresh/master.svg\n[coveralls-url]: https://coveralls.io/r/jshttp/fresh?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/fresh.svg\n[downloads-url]: https://npmjs.org/package/fresh\n", |
| 803 |
"maintainers": [ |
| 804 |
{ |
| 805 |
"name": "dougwilson", |
| 806 |
"email": "[email protected]" |
| 807 |
} |
| 808 |
], |
| 809 |
"time": { |
| 810 |
"modified": "2017-12-04T10:08:50.043Z", |
| 811 |
"created": "2012-06-10T19:09:34.892Z", |
| 812 |
"0.0.1": "2012-06-10T19:09:36.227Z", |
| 813 |
"0.1.0": "2012-06-15T23:07:11.778Z", |
| 814 |
"0.2.0": "2013-08-10T21:44:55.387Z", |
| 815 |
"0.2.1": "2014-01-29T20:16:08.494Z", |
| 816 |
"0.2.2": "2014-02-19T23:28:15.565Z", |
| 817 |
"0.2.3": "2014-09-08T01:09:11.214Z", |
| 818 |
"0.2.4": "2014-09-08T02:50:40.194Z", |
| 819 |
"0.3.0": "2015-05-12T15:10:38.713Z", |
| 820 |
"0.4.0": "2017-02-06T02:05:48.973Z", |
| 821 |
"0.5.0": "2017-02-22T04:46:40.181Z", |
| 822 |
"0.5.1": "2017-09-12T03:32:49.448Z", |
| 823 |
"0.5.2": "2017-09-14T05:03:12.205Z" |
| 824 |
}, |
| 825 |
"author": { |
| 826 |
"name": "TJ Holowaychuk", |
| 827 |
"email": "[email protected]", |
| 828 |
"url": "http://tjholowaychuk.com" |
| 829 |
}, |
| 830 |
"users": { |
| 831 |
"m42am": true, |
| 832 |
"goodseller": true, |
| 833 |
"simplyianm": true, |
| 834 |
"ninozhang": true, |
| 835 |
"moimikey": true, |
| 836 |
"nickeltobias": true, |
| 837 |
"tobiasnickel": true, |
| 838 |
"wangnan0610": true, |
| 839 |
"jovinbm": true, |
| 840 |
"mojaray2k": true, |
| 841 |
"ckaatz": true, |
| 842 |
"oldfish": true, |
| 843 |
"wxttxw125": true, |
| 844 |
"eyson": true |
| 845 |
}, |
| 846 |
"repository": { |
| 847 |
"type": "git", |
| 848 |
"url": "git+https://github.com/jshttp/fresh.git" |
| 849 |
}, |
| 850 |
"readmeFilename": "README.md", |
| 851 |
"homepage": "https://github.com/jshttp/fresh#readme", |
| 852 |
"bugs": { |
| 853 |
"url": "https://github.com/jshttp/fresh/issues" |
| 854 |
}, |
| 855 |
"keywords": [ |
| 856 |
"fresh", |
| 857 |
"http", |
| 858 |
"conditional", |
| 859 |
"cache" |
| 860 |
], |
| 861 |
"license": "MIT", |
| 862 |
"contributors": [ |
| 863 |
{ |
| 864 |
"name": "Douglas Christopher Wilson", |
| 865 |
"email": "[email protected]" |
| 866 |
}, |
| 867 |
{ |
| 868 |
"name": "Jonathan Ong", |
| 869 |
"email": "[email protected]", |
| 870 |
"url": "http://jongleberry.com" |
| 871 |
} |
| 872 |
], |
| 873 |
"_attachments": {} |
| 874 |
} |