yunlongzha_try_nodejs
Version:
try it
1 lines • 28 kB
JSON
{"_id":"finalhandler","_rev":"38-7740382528c14c6cdfa447aa403905f0","name":"finalhandler","description":"Node.js final http responder","dist-tags":{"latest":"0.4.1"},"versions":{"0.0.0":{"name":"finalhandler","description":"Node.js final http responder","version":"0.0.0","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/expressjs/finalhandler"},"dependencies":{"debug":"1.0.0","escape-html":"1.0.1"},"devDependencies":{"istanbul":"0.2.10","mocha":"~1.20.1","should":"~4.0.1","supertest":"~0.13.0"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/"},"bugs":{"url":"https://github.com/expressjs/finalhandler/issues"},"homepage":"https://github.com/expressjs/finalhandler","_id":"finalhandler@0.0.0","_shasum":"1dcd03de37b283d0593b47a327535c9490d5b246","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"}],"dist":{"shasum":"1dcd03de37b283d0593b47a327535c9490d5b246","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.0.0.tgz"},"directories":{}},"0.0.1":{"name":"finalhandler","description":"Node.js final http responder","version":"0.0.1","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/expressjs/finalhandler"},"dependencies":{"debug":"1.0.2","escape-html":"1.0.1"},"devDependencies":{"istanbul":"0.2.10","mocha":"~1.20.1","should":"~4.0.1","supertest":"~0.13.0"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/"},"bugs":{"url":"https://github.com/expressjs/finalhandler/issues"},"homepage":"https://github.com/expressjs/finalhandler","_id":"finalhandler@0.0.1","dist":{"shasum":"624429d98b41ab1538b21b97086a74f23b07fcd6","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.0.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"}],"directories":{}},"0.0.2":{"name":"finalhandler","description":"Node.js final http responder","version":"0.0.2","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/expressjs/finalhandler"},"dependencies":{"debug":"1.0.2","escape-html":"1.0.1"},"devDependencies":{"istanbul":"0.2.10","mocha":"~1.20.1","should":"~4.0.1","supertest":"~0.13.0"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/"},"bugs":{"url":"https://github.com/expressjs/finalhandler/issues"},"homepage":"https://github.com/expressjs/finalhandler","_id":"finalhandler@0.0.2","dist":{"shasum":"0603d875ee87d567a266692815cc8ad44fcceeda","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.0.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"}],"directories":{}},"0.0.3":{"name":"finalhandler","description":"Node.js final http responder","version":"0.0.3","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/expressjs/finalhandler"},"dependencies":{"debug":"1.0.3","escape-html":"1.0.1"},"devDependencies":{"istanbul":"0.3.0","mocha":"~1.20.1","should":"~4.0.1","supertest":"~0.13.0"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/"},"bugs":{"url":"https://github.com/expressjs/finalhandler/issues"},"homepage":"https://github.com/expressjs/finalhandler","_id":"finalhandler@0.0.3","dist":{"shasum":"5a86b7bc4dca3d1275eb0532c81ee81d747504df","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.0.3.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"}],"directories":{}},"0.1.0":{"name":"finalhandler","description":"Node.js final http responder","version":"0.1.0","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/expressjs/finalhandler"},"dependencies":{"debug":"1.0.4","escape-html":"1.0.1"},"devDependencies":{"istanbul":"0.3.0","mocha":"~1.20.1","readable-stream":"~1.0.27","should":"~4.0.1","supertest":"~0.13.0"},"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter dot test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/"},"bugs":{"url":"https://github.com/expressjs/finalhandler/issues"},"homepage":"https://github.com/expressjs/finalhandler","_id":"finalhandler@0.1.0","dist":{"shasum":"da05bbc4f5f4a30c84ce1d91f3c154007c4e9daa","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"}],"directories":{}},"0.2.0":{"name":"finalhandler","description":"Node.js final http responder","version":"0.2.0","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/pillarjs/finalhandler"},"dependencies":{"debug":"~2.0.0","escape-html":"1.0.1"},"devDependencies":{"istanbul":"0.3.0","mocha":"~1.21.4","readable-stream":"~1.0.27","should":"~4.0.1","supertest":"~0.13.0"},"files":["LICENSE","HISTORY.md","index.js"],"engines":{"node":">= 0.8.0"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"0e5d26695b1ab248823366018f09c058a4eaf59b","bugs":{"url":"https://github.com/pillarjs/finalhandler/issues"},"homepage":"https://github.com/pillarjs/finalhandler","_id":"finalhandler@0.2.0","_shasum":"794082424b17f6a4b2a0eda39f9db6948ee4be8d","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"}],"dist":{"shasum":"794082424b17f6a4b2a0eda39f9db6948ee4be8d","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.2.0.tgz"},"directories":{}},"0.3.0":{"name":"finalhandler","description":"Node.js final http responder","version":"0.3.0","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/pillarjs/finalhandler"},"dependencies":{"debug":"~2.0.0","escape-html":"1.0.1","on-finished":"~2.1.0"},"devDependencies":{"istanbul":"0.3.2","mocha":"~1.21.4","readable-stream":"~1.0.27","should":"~4.0.1","supertest":"~0.13.0"},"files":["LICENSE","HISTORY.md","index.js"],"engines":{"node":">= 0.8"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"8cc4b0afde5ab1fdb1f42bcdf80fd1d9dd4e1528","bugs":{"url":"https://github.com/pillarjs/finalhandler/issues"},"homepage":"https://github.com/pillarjs/finalhandler","_id":"finalhandler@0.3.0","_shasum":"581afe4d28da13491487f1c0ef9c29ef883e6e59","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"}],"dist":{"shasum":"581afe4d28da13491487f1c0ef9c29ef883e6e59","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.3.0.tgz"},"directories":{}},"0.3.1":{"name":"finalhandler","description":"Node.js final http responder","version":"0.3.1","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/pillarjs/finalhandler"},"dependencies":{"debug":"~2.1.0","escape-html":"1.0.1","on-finished":"~2.1.0"},"devDependencies":{"istanbul":"0.3.2","mocha":"~1.21.5","readable-stream":"~1.0.33","should":"~4.0.1","supertest":"~0.14.0"},"files":["LICENSE","HISTORY.md","index.js"],"engines":{"node":">= 0.8"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"d7ad6d8d66316d88774171f606b78f386eadce85","bugs":{"url":"https://github.com/pillarjs/finalhandler/issues"},"homepage":"https://github.com/pillarjs/finalhandler","_id":"finalhandler@0.3.1","_shasum":"ffda7643228678c6b088c89421a8381663961808","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"}],"dist":{"shasum":"ffda7643228678c6b088c89421a8381663961808","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.3.1.tgz"},"directories":{}},"0.3.2":{"name":"finalhandler","description":"Node.js final http responder","version":"0.3.2","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/pillarjs/finalhandler"},"dependencies":{"debug":"~2.1.0","escape-html":"1.0.1","on-finished":"~2.1.1"},"devDependencies":{"istanbul":"0.3.2","mocha":"~2.0.0","readable-stream":"~1.0.33","should":"~4.1.0","supertest":"~0.14.0"},"files":["LICENSE","HISTORY.md","index.js"],"engines":{"node":">= 0.8"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"1dc292faf576fade3b0218caab39060f4da5fe9c","bugs":{"url":"https://github.com/pillarjs/finalhandler/issues"},"homepage":"https://github.com/pillarjs/finalhandler","_id":"finalhandler@0.3.2","_shasum":"7b389b0fd3647a6f90bd564e22624bf8a4a77fb5","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"}],"dist":{"shasum":"7b389b0fd3647a6f90bd564e22624bf8a4a77fb5","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.3.2.tgz"},"directories":{}},"0.3.3":{"name":"finalhandler","description":"Node.js final http responder","version":"0.3.3","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/pillarjs/finalhandler"},"dependencies":{"debug":"~2.1.1","escape-html":"1.0.1","on-finished":"~2.2.0"},"devDependencies":{"istanbul":"0.3.5","mocha":"~2.1.0","readable-stream":"~1.0.33","supertest":"~0.15.0"},"files":["LICENSE","HISTORY.md","index.js"],"engines":{"node":">= 0.8"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"dfce5042f996ba93ac85b9282e6d1cae1561acc6","bugs":{"url":"https://github.com/pillarjs/finalhandler/issues"},"homepage":"https://github.com/pillarjs/finalhandler","_id":"finalhandler@0.3.3","_shasum":"b1a09aa1e6a607b3541669b09bcb727f460cd426","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"}],"dist":{"shasum":"b1a09aa1e6a607b3541669b09bcb727f460cd426","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.3.3.tgz"},"directories":{}},"0.3.4":{"name":"finalhandler","description":"Node.js final http responder","version":"0.3.4","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/pillarjs/finalhandler"},"dependencies":{"debug":"~2.1.3","escape-html":"1.0.1","on-finished":"~2.2.0"},"devDependencies":{"istanbul":"0.3.8","mocha":"~2.2.1","readable-stream":"~1.0.33","supertest":"~0.15.0"},"files":["LICENSE","HISTORY.md","index.js"],"engines":{"node":">= 0.8"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"63e18603c11effcacc06676f6fefbf270795459a","bugs":{"url":"https://github.com/pillarjs/finalhandler/issues"},"homepage":"https://github.com/pillarjs/finalhandler","_id":"finalhandler@0.3.4","_shasum":"4787d3573d079ae8b07536f26b0b911ebaf2a2ac","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"}],"dist":{"shasum":"4787d3573d079ae8b07536f26b0b911ebaf2a2ac","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.3.4.tgz"},"directories":{}},"0.3.5":{"name":"finalhandler","description":"Node.js final http responder","version":"0.3.5","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/pillarjs/finalhandler"},"dependencies":{"debug":"~2.1.3","escape-html":"1.0.1","on-finished":"~2.2.1"},"devDependencies":{"istanbul":"0.3.9","mocha":"~2.2.4","readable-stream":"~1.0.33","supertest":"~0.15.0"},"files":["LICENSE","HISTORY.md","index.js"],"engines":{"node":">= 0.8"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"618ff86e01ca5b8eb2f204ba1f322f65896c1455","bugs":{"url":"https://github.com/pillarjs/finalhandler/issues"},"homepage":"https://github.com/pillarjs/finalhandler","_id":"finalhandler@0.3.5","_shasum":"0d1bf5dfcb5f77d073a402aabe5f7a8a90413721","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"shtylman","email":"shtylman@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"}],"dist":{"shasum":"0d1bf5dfcb5f77d073a402aabe5f7a8a90413721","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.3.5.tgz"},"directories":{}},"0.3.6":{"name":"finalhandler","description":"Node.js final http responder","version":"0.3.6","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/pillarjs/finalhandler"},"dependencies":{"debug":"~2.2.0","escape-html":"1.0.1","on-finished":"~2.2.1"},"devDependencies":{"istanbul":"0.3.9","mocha":"~2.2.4","readable-stream":"~1.0.33","supertest":"~0.15.0"},"files":["LICENSE","HISTORY.md","index.js"],"engines":{"node":">= 0.8"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"10c8b938d00acdd5a2bdc6fbd912fb24ffd9f328","bugs":{"url":"https://github.com/pillarjs/finalhandler/issues"},"homepage":"https://github.com/pillarjs/finalhandler","_id":"finalhandler@0.3.6","_shasum":"daf9c4161b1b06e001466b1411dfdb6973be138b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"},{"name":"defunctzombie","email":"shtylman@gmail.com"}],"dist":{"shasum":"daf9c4161b1b06e001466b1411dfdb6973be138b","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.3.6.tgz"},"directories":{}},"0.4.0":{"name":"finalhandler","description":"Node.js final http responder","version":"0.4.0","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/pillarjs/finalhandler"},"dependencies":{"debug":"~2.2.0","escape-html":"1.0.2","on-finished":"~2.3.0","unpipe":"~1.0.0"},"devDependencies":{"istanbul":"0.3.15","mocha":"2.2.5","readable-stream":"2.0.0","supertest":"1.0.1"},"files":["LICENSE","HISTORY.md","index.js"],"engines":{"node":">= 0.8"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"fe4e4de9ebb0f3831493ad75119ee6ba40542853","bugs":{"url":"https://github.com/pillarjs/finalhandler/issues"},"homepage":"https://github.com/pillarjs/finalhandler","_id":"finalhandler@0.4.0","_shasum":"965a52d9e8d05d2b857548541fb89b53a2497d9b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"},{"name":"defunctzombie","email":"shtylman@gmail.com"}],"dist":{"shasum":"965a52d9e8d05d2b857548541fb89b53a2497d9b","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.4.0.tgz"},"directories":{}},"0.4.1":{"name":"finalhandler","description":"Node.js final http responder","version":"0.4.1","author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/pillarjs/finalhandler"},"dependencies":{"debug":"~2.2.0","escape-html":"~1.0.3","on-finished":"~2.3.0","unpipe":"~1.0.0"},"devDependencies":{"istanbul":"0.4.1","mocha":"2.3.4","readable-stream":"2.0.4","supertest":"1.1.0"},"files":["LICENSE","HISTORY.md","index.js"],"engines":{"node":">= 0.8"},"scripts":{"test":"mocha --reporter spec --bail --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"ac2036774059eb93dbac8475580e52433204d4d4","bugs":{"url":"https://github.com/pillarjs/finalhandler/issues"},"homepage":"https://github.com/pillarjs/finalhandler","_id":"finalhandler@0.4.1","_shasum":"85a17c6c59a94717d262d61230d4b0ebe3d4a14d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"},{"name":"defunctzombie","email":"shtylman@gmail.com"}],"dist":{"shasum":"85a17c6c59a94717d262d61230d4b0ebe3d4a14d","tarball":"http://registry.npmjs.org/finalhandler/-/finalhandler-0.4.1.tgz"},"directories":{}}},"readme":"# finalhandler\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-image]][node-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nNode.js function to invoke as the final step to respond to HTTP request.\n\n## Installation\n\n```sh\n$ npm install finalhandler\n```\n\n## API\n\n```js\nvar finalhandler = require('finalhandler')\n```\n\n### finalhandler(req, res, [options])\n\nReturns function to be invoked as the final step for the given `req` and `res`.\nThis function is to be invoked as `fn(err)`. If `err` is falsy, the handler will\nwrite out a 404 response to the `res`. If it is truthy, an error response will\nbe written out to the `res`, and `res.statusCode` is set from `err.status`.\n\nThe final handler will also unpipe anything from `req` when it is invoked.\n\n#### options.env\n\nBy default, the environment is determined by `NODE_ENV` variable, but it can be\noverridden by this option.\n\n#### options.onerror\n\nProvide a function to be called with the `err` when it exists. Can be used for\nwriting errors to a central location without excessive function generation. Called\nas `onerror(err, req, res)`.\n\n## Examples\n\n### always 404\n\n```js\nvar finalhandler = require('finalhandler')\nvar http = require('http')\n\nvar server = http.createServer(function (req, res) {\n var done = finalhandler(req, res)\n done()\n})\n\nserver.listen(3000)\n```\n\n### perform simple action\n\n```js\nvar finalhandler = require('finalhandler')\nvar fs = require('fs')\nvar http = require('http')\n\nvar server = http.createServer(function (req, res) {\n var done = finalhandler(req, res)\n\n fs.readFile('index.html', function (err, buf) {\n if (err) return done(err)\n res.setHeader('Content-Type', 'text/html')\n res.end(buf)\n })\n})\n\nserver.listen(3000)\n```\n\n### use with middleware-style functions\n\n```js\nvar finalhandler = require('finalhandler')\nvar http = require('http')\nvar serveStatic = require('serve-static')\n\nvar serve = serveStatic('public')\n\nvar server = http.createServer(function (req, res) {\n var done = finalhandler(req, res)\n serve(req, res, done)\n})\n\nserver.listen(3000)\n```\n\n### keep log of all errors\n\n```js\nvar finalhandler = require('finalhandler')\nvar fs = require('fs')\nvar http = require('http')\n\nvar server = http.createServer(function (req, res) {\n var done = finalhandler(req, res, {onerror: logerror})\n\n fs.readFile('index.html', function (err, buf) {\n if (err) return done(err)\n res.setHeader('Content-Type', 'text/html')\n res.end(buf)\n })\n})\n\nserver.listen(3000)\n\nfunction logerror(err) {\n console.error(err.stack || err.toString())\n}\n```\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/finalhandler.svg\n[npm-url]: https://npmjs.org/package/finalhandler\n[node-image]: https://img.shields.io/node/v/finalhandler.svg\n[node-url]: http://nodejs.org/download/\n[travis-image]: https://img.shields.io/travis/pillarjs/finalhandler.svg\n[travis-url]: https://travis-ci.org/pillarjs/finalhandler\n[coveralls-image]: https://img.shields.io/coveralls/pillarjs/finalhandler.svg\n[coveralls-url]: https://coveralls.io/r/pillarjs/finalhandler?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/finalhandler.svg\n[downloads-url]: https://npmjs.org/package/finalhandler\n","maintainers":[{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"},{"name":"fishrock123","email":"fishrock123@rocketmail.com"},{"name":"defunctzombie","email":"shtylman@gmail.com"}],"time":{"modified":"2015-12-02T18:07:45.449Z","created":"2014-06-06T02:46:23.972Z","0.0.0":"2014-06-06T02:46:23.972Z","0.0.1":"2014-06-17T03:16:02.504Z","0.0.2":"2014-06-19T22:45:27.016Z","0.0.3":"2014-07-12T02:55:27.900Z","0.1.0":"2014-07-17T00:46:33.245Z","0.2.0":"2014-09-04T02:47:49.096Z","0.3.0":"2014-09-18T08:05:47.995Z","0.3.1":"2014-10-17T03:04:23.148Z","0.3.2":"2014-10-23T03:43:37.882Z","0.3.3":"2015-01-02T03:41:17.238Z","0.3.4":"2015-03-16T01:50:44.350Z","0.3.5":"2015-04-23T02:25:52.619Z","0.3.6":"2015-05-12T03:53:24.990Z","0.4.0":"2015-06-14T21:15:57.149Z","0.4.1":"2015-12-02T18:07:45.449Z"},"homepage":"https://github.com/pillarjs/finalhandler","repository":{"type":"git","url":"https://github.com/pillarjs/finalhandler"},"author":{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},"bugs":{"url":"https://github.com/pillarjs/finalhandler/issues"},"license":"MIT","readmeFilename":"README.md","users":{"akiva":true,"simplyianm":true,"qqqppp9998":true,"nex":true,"princetoad":true,"sergiodxa":true},"_attachments":{},"_etag":"\"A9RCF00L9QOIXR50EOP5F4SBG\""}