{"_id":"404-pagelet","_rev":"10-ea608faa154775eb2f59e596b5d95dc6","name":"404-pagelet","description":"Default 404 Pagelet used if the router cannot dispatch to any route","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"404-pagelet","version":"1.0.0","description":"Default 404 Pagelet used if the router cannot dispatch to any route","main":"index.js","scripts":{"test":"illuminati"},"repository":{"type":"git","url":"https://github.com/bigpipe/404-pagelet.git"},"dependencies":{"pagelet":"0.8.x","diagnostics-pagelet":"1.0.x"},"devDependencies":{"illuminati":"0.0.x","assume":"0.0.x","coveralls":"2.11.x","istanbul":"0.3.x","mocha":"2.0.x","mocha-lcov-reporter":"0.0.x"},"keywords":["Pagelet","BigPipe","404","default","not","found"],"author":{"name":"Martijn Swaagman"},"license":"MIT","bugs":{"url":"https://github.com/bigpipe/404-pagelet/issues"},"homepage":"https://github.com/bigpipe/404-pagelet","gitHead":"cb4406f2d96241d1ee31fd830af345e06d66af12","_id":"404-pagelet@1.0.0","_shasum":"08464743c4750ebfe03ae571ca7783948c0df9db","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"swaagie","email":"info@martijnswaagman.nl"},"maintainers":[{"name":"swaagie","email":"info@martijnswaagman.nl"}],"dist":{"shasum":"08464743c4750ebfe03ae571ca7783948c0df9db","tarball":"https://registry.npmjs.org/404-pagelet/-/404-pagelet-1.0.0.tgz","integrity":"sha512-dJjivD9Gsnvc7nI6+1dLjEfyG6Kqqfi+wd6pj5tFF+nr5sUlTsUc1tVbVm37MAlGQMVvtzILZ8g3iWlr4ldKgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy3GprNnEFspUJDfSiXSA01ewon6D11g1qEZSxqgDekAIgGsOc1pnHUbCbcwcFf0hsZtqXG3lxhxe/cDGGYzbC/c8="}]}},"1.0.1":{"name":"404-pagelet","version":"1.0.1","description":"Default 404 Pagelet used if the router cannot dispatch to any route","main":"index.js","scripts":{"test":"mocha $(find test -name '*.test.js')","watch":"mocha --watch $(find test -name '*.test.js')","coverage":"istanbul cover ./node_modules/.bin/_mocha -- $(find test -name '*.test.js')","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- $(find test -name '*.test.js')"},"repository":{"type":"git","url":"https://github.com/bigpipe/404-pagelet.git"},"dependencies":{"pagelet":"1.0.x","diagnostics-pagelet":"1.0.x"},"devDependencies":{"assume":"0.0.x","istanbul":"0.3.x","mocha":"2.1.x","pre-commit":"0.0.x","routable":"0.0.x","temper":"0.2.x"},"keywords":["Pagelet","BigPipe","404","default","not","found"],"author":{"name":"Martijn Swaagman"},"license":"MIT","bugs":{"url":"https://github.com/bigpipe/404-pagelet/issues"},"homepage":"https://github.com/bigpipe/404-pagelet","gitHead":"4c62adacd61b982999f0b6a50b206d9e338ef4ea","_id":"404-pagelet@1.0.1","_shasum":"49ed93339ab845ff049b9f1722e0be436a7d9ab7","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"swaagie","email":"info@martijnswaagman.nl"},"maintainers":[{"name":"swaagie","email":"info@martijnswaagman.nl"}],"dist":{"shasum":"49ed93339ab845ff049b9f1722e0be436a7d9ab7","tarball":"https://registry.npmjs.org/404-pagelet/-/404-pagelet-1.0.1.tgz","integrity":"sha512-lU5CvGRoXGuIHMCEscSMRwPsoOxwqQ83vssypPbop5Y6MQTTN5cljT6OhJ9AdMgGZFvrLCkRBAHgSamMT7UmYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpWOWg8+jJ+/VafBMr6jbjlEuu6nzXasRLgBgEwv55fAiB25jbjoLesO4g0tabzxKLWiXzFatCbnG64QpRr1inu8A=="}]}},"1.0.2":{"name":"404-pagelet","version":"1.0.2","description":"Default 404 Pagelet used if the router cannot dispatch to any route","main":"index.js","scripts":{"test":"mocha $(find test -name '*.test.js')","watch":"mocha --watch $(find test -name '*.test.js')","coverage":"istanbul cover ./node_modules/.bin/_mocha -- $(find test -name '*.test.js')","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- $(find test -name '*.test.js')"},"repository":{"type":"git","url":"https://github.com/bigpipe/404-pagelet.git"},"dependencies":{"pagelet":"1.0.0-alpha","diagnostics-pagelet":"1.0.x"},"devDependencies":{"assume":"0.0.x","istanbul":"0.3.x","mocha":"2.1.x","pre-commit":"0.0.x","routable":"0.0.x","temper":"0.2.x"},"keywords":["Pagelet","BigPipe","404","default","not","found"],"author":{"name":"Martijn Swaagman"},"license":"MIT","bugs":{"url":"https://github.com/bigpipe/404-pagelet/issues"},"homepage":"https://github.com/bigpipe/404-pagelet","gitHead":"3eed7933a1891e97e36e129a36cbd3a85c992b2a","_id":"404-pagelet@1.0.2","_shasum":"dde4a900b2f27a9b81b887ee46ad2577b76a0955","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"swaagie","email":"info@martijnswaagman.nl"},"maintainers":[{"name":"swaagie","email":"info@martijnswaagman.nl"}],"dist":{"shasum":"dde4a900b2f27a9b81b887ee46ad2577b76a0955","tarball":"https://registry.npmjs.org/404-pagelet/-/404-pagelet-1.0.2.tgz","integrity":"sha512-WQFnpYCmIzNsTDboyaALAJ6k5381pm5K2EQ3y4m+jDlf4ZTvN0jzWrQfDcgjBcqJTdWyeRaKmhpK/pBFPX7Vng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBD2Nux9g+m/iowt1SpvGX4Ostzb2gIvsciJEpKXbJt1AiEAtZDlrrrCxzadHYD1IoX79haO6aam7jy5GTPRSwc9fGo="}]}},"1.0.4":{"name":"404-pagelet","version":"1.0.4","description":"Default 404 Pagelet used if the router cannot dispatch to any route","main":"index.js","scripts":{"test":"mocha $(find test -name '*.test.js')","watch":"mocha --watch $(find test -name '*.test.js')","coverage":"istanbul cover ./node_modules/.bin/_mocha -- $(find test -name '*.test.js')","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- $(find test -name '*.test.js')"},"repository":{"type":"git","url":"https://github.com/bigpipe/404-pagelet.git"},"dependencies":{"pagelet":"1.0.x","diagnostics-pagelet":"1.0.x"},"devDependencies":{"assume":"0.0.x","istanbul":"0.3.x","mocha":"2.1.x","pre-commit":"0.0.x","routable":"0.0.x","temper":"0.2.x"},"keywords":["Pagelet","BigPipe","404","default","not","found"],"author":{"name":"Martijn Swaagman"},"license":"MIT","bugs":{"url":"https://github.com/bigpipe/404-pagelet/issues"},"homepage":"https://github.com/bigpipe/404-pagelet","gitHead":"c4bca5ff5c70c6ac3046682b95004c0c73af5ed3","_id":"404-pagelet@1.0.4","_shasum":"a91932256e9722f316b6c810c430cc5a77b7bf56","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"swaagie","email":"info@martijnswaagman.nl"},"maintainers":[{"name":"swaagie","email":"info@martijnswaagman.nl"}],"dist":{"shasum":"a91932256e9722f316b6c810c430cc5a77b7bf56","tarball":"https://registry.npmjs.org/404-pagelet/-/404-pagelet-1.0.4.tgz","integrity":"sha512-mfZimmKXvvSPEnrMsbJIIzmoJWibUZL87Zy7bXPvmf9dzq6WbvJkhJHg2LI/VNtNrRe+LwkM6D2qyax4fP5eZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID59DcB/1aA7jFn/ZaTgFJALWhL5ALzCt4lBn+dTFl6/AiEAuVrsKzLaAb1tqa9eHLggtiJy/S9K/c25nZolE+UF9rg="}]}},"1.0.5":{"name":"404-pagelet","version":"1.0.5","description":"Default 404 Pagelet used if the router cannot dispatch to any route","main":"index.js","scripts":{"test":"mocha $(find test -name '*.test.js')","watch":"mocha --watch $(find test -name '*.test.js')","coverage":"istanbul cover ./node_modules/.bin/_mocha -- $(find test -name '*.test.js')","test-travis":"istanbul cover node_modules/.bin/_mocha --report lcovonly -- $(find test -name '*.test.js')"},"repository":{"type":"git","url":"https://github.com/bigpipe/404-pagelet.git"},"dependencies":{"pagelet":"0.9.x","diagnostics-pagelet":"1.0.x"},"devDependencies":{"assume":"0.0.x","istanbul":"0.3.x","mocha":"2.1.x","pre-commit":"0.0.x","routable":"0.0.x","temper":"0.2.x"},"keywords":["Pagelet","BigPipe","404","default","not","found"],"author":{"name":"Martijn Swaagman"},"license":"MIT","bugs":{"url":"https://github.com/bigpipe/404-pagelet/issues"},"homepage":"https://github.com/bigpipe/404-pagelet","gitHead":"bef203a751cbbc516cdde9bdd917d8c25cf96f6f","_id":"404-pagelet@1.0.5","_shasum":"165b17728c4077e2064b03c5f547a6dd58791c79","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"swaagie","email":"info@martijnswaagman.nl"},"maintainers":[{"name":"swaagie","email":"info@martijnswaagman.nl"}],"dist":{"shasum":"165b17728c4077e2064b03c5f547a6dd58791c79","tarball":"https://registry.npmjs.org/404-pagelet/-/404-pagelet-1.0.5.tgz","integrity":"sha512-K1G0aJBXqY+PXTKBX78ZR0Lc907evhqyi8/P9B4eRxnnGiPHDGpRAUJy3nx7n7m/sqNNGqtFeozXotW5Mb/OiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEf9f8MridaAtGLwS4Va8HpAeksZgcYls4o3pt75cIGnAiBtZsPaMlTbKCsrdZdWWzoNmLQTUBzHd3MFEu4cTeLe/A=="}]}}},"readme":"# 404 Pagelet\n\n[![Version npm][version]](http://browsenpm.org/package/404-pagelet)[![Build Status][build]](https://travis-ci.org/bigpipe/404-pagelet)[![Dependencies][david]](https://david-dm.org/bigpipe/404-pagelet)[![Coverage Status][cover]](https://coveralls.io/r/bigpipe/404-pagelet?branch=master)\n\n[version]: http://img.shields.io/npm/v/404-pagelet.svg?style=flat-square\n[build]: http://img.shields.io/travis/bigpipe/404-pagelet/master.svg?style=flat-square\n[david]: https://img.shields.io/david/bigpipe/404-pagelet.svg?style=flat-square\n[cover]: http://img.shields.io/coveralls/bigpipe/404-pagelet/master.svg?style=flat-square\n\nThis Pagelet is responsible for displaying server errors. By\ndefault the 404 Pagelet is provided with [BigPipe]. However, if you\nneed a custom 404 you can extend this Pagelet. For example to change\nthe default view.\n\n## Installation\n\nThe 404 Pagelet is distributed through the node package manager (npm).\n\n```\nnpm install --save 404-pagelet\n```\n\n## Support\n\nGot stuck? Or can't wrap your head around a concept or just want some feedback,\nwe got a dedicated IRC channel for that on Freenode:\n\n- **IRC Server**: `irc.freenode.net`\n- **IRC Room**: `#bigpipe`\n\nStill stuck? Create an issue. Every question you have is a bug in our\ndocumentation and that should be corrected. So please, don't hesitate to create\nissues, many of them.\n\n### Example\n\nIn this example the 404 Pagelet is extended with a custom view.\n[BigPipe] will automatically discover this extended version\nif it is provided to [BigPipe] alongside the other pagelets.\n\n```js\n'use strict';\n\n//\n// Extend the 404 Pagelet with a custom view.\n//\nvar Fourofour = require('404-pagelet').extend({\n  view: '/path/to/my/custom-view.html'\n});\n\n//\n// Initialise BigPipe server.\n//\nvar pipe = require('bigpipe').createServer(2000, {\n  pagelets: [ Fourofour, ... ]\n});\n```\n\n## Debugging\n\nThe library makes use the `diagnostics` module from Pagelet.\nTo display the 404 Pagelet specific debug messages, supply the\nfollowing before running the program or\n\n```bash\nDEBUG=pagelet:404 node ...\n```\n\n## Testing\n\nTests are automatically run on [Travis CI] to ensure that everything is\nfunctioning as intended. For local development we automatically install a\n[pre-commit] hook that runs the `npm test` command every time you commit changes.\nThis ensures that we don't push any broken code in to this project.\n\nTo run tests locally, make sure the development dependencies are installed.\n\n```bash\nnpm test\nnpm run coverage\n```\n\n## License\n\n404-pagelet is released under MIT.\n\n[BigPipe]: http://bigpipe.io/\n[Travis CI]: http://travisci.org\n[Temper]: http://github.com/bigpipe/temper\n[pre-commit]: http://github.com/observing/pre-commit","maintainers":[{"name":"swaagie","email":"info@martijnswaagman.nl"}],"time":{"modified":"2022-06-12T14:07:36.897Z","created":"2014-12-24T10:40:26.958Z","1.0.0":"2014-12-24T10:40:26.958Z","1.0.1":"2015-01-12T15:04:52.075Z","1.0.2":"2015-02-24T23:39:21.870Z","1.0.4":"2015-04-02T10:53:27.934Z","1.0.5":"2015-04-03T10:11:39.328Z"},"homepage":"https://github.com/bigpipe/404-pagelet","keywords":["Pagelet","BigPipe","404","default","not","found"],"repository":{"type":"git","url":"https://github.com/bigpipe/404-pagelet.git"},"author":{"name":"Martijn Swaagman"},"bugs":{"url":"https://github.com/bigpipe/404-pagelet/issues"},"license":"MIT","readmeFilename":"README.md"}