{"name":"not-found","version":"1.0.1","description":"Express/Connect middleware to serve a default not found/404 page","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test/ --reporter dot"},"repository":{"type":"git","url":"https://github.com/divshot/not-found.git"},"keywords":["divshot","superstatic","notfound","404","error"],"author":{"name":"Divshot"},"license":"MIT","bugs":{"url":"https://github.com/divshot/not-found/issues"},"homepage":"https://github.com/divshot/not-found","dependencies":{"deliver":"^1.1.0","file-exists":"^0.1.1","is-url":"^1.1.0"},"devDependencies":{"chai":"^1.9.1","connect":"^3.0.2","mkdirp":"^0.5.0","mocha":"^1.20.1","rmdir":"^1.0.4","supertest":"^0.13.0","mocksy":"^0.1.7"},"gitHead":"b6c060c7ead2c8e35a6c66e48c088e142da65727","_id":"not-found@1.0.1","_shasum":"3d9cb6d42ee901e68dd047e3d623a2b834b3a427","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"3d9cb6d42ee901e68dd047e3d623a2b834b3a427","tarball":"http://registry-npm.ywwl.com/not-found/download/not-found-1.0.1.tgz","integrity":"sha512-Vo9BYTP+v40Bk7+awzskW4Ux3PazfBtrmc5W57hoc52YMEhuP1Uc1JeT9qtVCadu15qFwEz0Mwvy4FgcF0/HZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiB6VhDScFLd+Jmd6ZmTGlfOHXr3WsxUSzjekNS7y93QIgZ/D85KxZ0hB7m4YKHtpMRX9aipQqg6WUYaWFk7Wnz6s="}],"size":3068,"noattachment":false,"key":"/not-found/-/not-found-1.0.1.tgz"},"readme":"# not-found\n\nExpress/Connect middleware to serve a default not found/404 page.\n\n## Install\n\n```\nnpm install not-found --save\n```\n\n## Usage\n\nLocal file\n\n```js\nvar express = require('express');\nvar notFound = require('not-found');\n\nvar app = express();\n\napp.use(notFound(__dirname + '/not-found.html'));\n\napp.listen(3000, function () {\n\n});\n```\n\nRemote file\n\n```js\nvar express = require('express');\nvar notFound = require('not-found');\n\nvar app = express();\n\napp.use(notFound('http://domain.com/not-found.html'));\n\napp.listen(3000, function () {\n\n});\n```\n\n### notFound(file)\n\n* `file` - the path to the local file or a url for a remote file. This is required. It will skip the middleware if it is not provided or the file does not exists\n\n## Run Tests\n\n```\nnpm install\nnpm test\n```\n\n","publish_time":1410971597647,"_cnpm_publish_time":1410971597647,"dist-tags":{"0.3.1-rc1":"0.3.1-rc1","0.3.1-rc2":"0.3.1-rc2","0.3.1-rc3":"0.3.1-rc3","0.3.1-rc4":"0.3.1-rc4","0.3.1-rc5":"0.3.1-rc5","0.3.1-rc6":"0.3.1-rc6","0.3.1-rc7":"0.3.1-rc7","0.3.1-rc8":"0.3.1-rc8","latest":"1.0.1"}}