{"_id":"express-nobots","_rev":"9-f332fbd5f1fa1788ed72e006932f07ad","name":"express-nobots","description":"Keep Bots Away From Your Express App","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"express-nobots","version":"1.0.0","description":"Keep Bots Away From Your Express App","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jeremyscalpello/express-nobots.git"},"keywords":["node","express","bot","crawler","protection","block","googlebot","facebookexternalhit"],"author":{"name":"Jeremy Scalpello","email":"jeremy@scalpello.info"},"license":"Apache-2.0","homepage":"https://github.com/jeremyscalpello/express-nobots#readme","dependencies":{},"gitHead":"16810017308c87d710df42648814939afc4556f7","bugs":{"url":"https://github.com/jeremyscalpello/express-nobots/issues"},"_id":"express-nobots@1.0.0","scripts":{},"_shasum":"a7d6c282524b4dc72f77813e42c5d2cde63b8677","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"jeremyscalpello","email":"jeremy@scalpello.info"},"dist":{"shasum":"a7d6c282524b4dc72f77813e42c5d2cde63b8677","tarball":"https://registry.npmjs.org/express-nobots/-/express-nobots-1.0.0.tgz","integrity":"sha512-dFCKPo46766VDfL5quvoWB1TZXxWPHgaeVskWXrFlPeOGUXeimz8fglcLZFHekatOOSPAt28htdNiJ50iSk/tQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxLpieFZo/HHVeY5j6fbxZAf0b7iEiyqrCb7fGAlHxzAIgEmkOHPW0MGyTIh0uHkfs68AOMHSvYlslvS2bNJsPN9g="}]},"maintainers":[{"name":"jeremyscalpello","email":"jeremy@scalpello.info"}],"directories":{}},"1.0.1":{"name":"express-nobots","version":"1.0.1","description":"Keep Bots Away From Your Express App","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jeremyscalpello/express-nobots.git"},"keywords":["node","express","bot","crawler","protection","block","googlebot","facebookexternalhit"],"author":{"name":"Jeremy Scalpello","email":"jeremy@scalpello.info"},"license":"Apache-2.0","homepage":"https://github.com/jeremyscalpello/express-nobots#readme","dependencies":{},"gitHead":"278a91a388ed4c87319142d711703208a9a8c0b2","bugs":{"url":"https://github.com/jeremyscalpello/express-nobots/issues"},"_id":"express-nobots@1.0.1","scripts":{},"_shasum":"34c61f84579f6748c1c6158d14b0915bf780e9b3","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"jeremyscalpello","email":"jeremy@scalpello.info"},"dist":{"shasum":"34c61f84579f6748c1c6158d14b0915bf780e9b3","tarball":"https://registry.npmjs.org/express-nobots/-/express-nobots-1.0.1.tgz","integrity":"sha512-GhnDgix2ryTWmO+2hbbZltdOhWxXXW7xV65IWgAN8Cy1aCUpc7PC93zK9T0+e/MB4Y3y5lk1080vhiMDVTo/ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWS1ODS4bEimmFzAvACtljdc1OIhKMcpLwBrksybL8dwIgb3Bos1TGs0CniM5tZebuyALzvYK1INiSiMSEXIAMkXQ="}]},"maintainers":[{"name":"jeremyscalpello","email":"jeremy@scalpello.info"}],"directories":{}},"1.0.2":{"name":"express-nobots","version":"1.0.2","description":"Keep Bots Away From Your Express App","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jeremyscalpello/express-nobots.git"},"keywords":["node","express","bot","crawler","protection","block","googlebot","facebookexternalhit"],"author":{"name":"Jeremy Scalpello","email":"jeremy@scalpello.info"},"license":"Apache-2.0","homepage":"https://github.com/jeremyscalpello/express-nobots#readme","dependencies":{},"gitHead":"549ada9880cb7a19fe8b4609734f9600565124d3","bugs":{"url":"https://github.com/jeremyscalpello/express-nobots/issues"},"_id":"express-nobots@1.0.2","scripts":{},"_shasum":"ad18405944b54452290ec298fce129283b67bbed","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"jeremyscalpello","email":"jeremy@scalpello.info"},"dist":{"shasum":"ad18405944b54452290ec298fce129283b67bbed","tarball":"https://registry.npmjs.org/express-nobots/-/express-nobots-1.0.2.tgz","integrity":"sha512-pg7FHSTPsCLIujN640gEMNfoSZZQ6MslBM1QdeONwIDZMSDx+KndU0PzOjUxQwgWGrC2BEiS8+f3gfWn1/kdwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIO1O29IOlfdipuj2wAcnv3pNnHMAtZGQgzAyoeXhUIAiEAmgnm8Nm7dGlKqCIEcM4UHshPosKoOWFRZJ4mJFesWSg="}]},"maintainers":[{"name":"jeremyscalpello","email":"jeremy@scalpello.info"}],"directories":{}},"1.0.3":{"name":"express-nobots","version":"1.0.3","description":"Keep Bots Away From Your Express App","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jeremyscalpello/express-nobots.git"},"keywords":["node","express","bot","crawler","protection","block","googlebot","facebookexternalhit"],"author":{"name":"Jeremy Scalpello","email":"jeremy@scalpello.info"},"license":"Apache-2.0","homepage":"https://github.com/jeremyscalpello/express-nobots#readme","dependencies":{},"gitHead":"6aef63828d69a3ac034a8f1502081981b9f923df","bugs":{"url":"https://github.com/jeremyscalpello/express-nobots/issues"},"_id":"express-nobots@1.0.3","scripts":{},"_shasum":"f8be47b9e874f456125e6206eff3709c02977ac8","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"jeremyscalpello","email":"jeremy@scalpello.info"},"dist":{"shasum":"f8be47b9e874f456125e6206eff3709c02977ac8","tarball":"https://registry.npmjs.org/express-nobots/-/express-nobots-1.0.3.tgz","integrity":"sha512-1WHPwsTfoz5N+MYR0Nru2F3HODpv2LScJ8YfM89WuG90230LHNs/uB9SaCUkF/so2munYQJ15LjnhfDg60sz+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe3eUVuaerVDhbtC6942eGzdNQi5EAjN/YIC1czC2ZmAIgFXfjc48xQydUn7hfkIH3nu/9PslRvdc/FPPT7LQUEE8="}]},"maintainers":[{"name":"jeremyscalpello","email":"jeremy@scalpello.info"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/express-nobots-1.0.3.tgz_1491152777119_0.33467953628860414"},"directories":{}},"1.0.4":{"name":"express-nobots","version":"1.0.4","description":"Keep Bots Away From Your Express App","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jeremyscalpello/express-nobots.git"},"keywords":["node","express","bot","crawler","protection","block","googlebot","facebookexternalhit"],"author":{"name":"Jeremy Scalpello","email":"jeremy@scalpello.info"},"license":"Apache-2.0","homepage":"https://github.com/jeremyscalpello/express-nobots#readme","dependencies":{},"gitHead":"b1c81f6a146ec9f7ab1ac36cd0c9cadc4688b0f2","bugs":{"url":"https://github.com/jeremyscalpello/express-nobots/issues"},"_id":"express-nobots@1.0.4","scripts":{},"_shasum":"7dbf656ec6bdbd45b39aa8b720ef7ea15cae18b4","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.5.0","_npmUser":{"name":"jeremyscalpello","email":"jeremy@scalpello.info"},"dist":{"shasum":"7dbf656ec6bdbd45b39aa8b720ef7ea15cae18b4","tarball":"https://registry.npmjs.org/express-nobots/-/express-nobots-1.0.4.tgz","integrity":"sha512-bPtsp7yot63Ue7XPYuUX483vr/42MZZW/5rmjUml9Zpdq5NDKlwjX2tppNs2xhNrxF7pRByVzoqCzGH+nCb2aA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDq7KqR2C25Hj4cpofE5b1VvQDDCP5rGVWbgDXvyoZdYQIhAM2txgOa8kMK7JITlHDEYKdiieB3ZIFN2Ft4ulgouNfZ"}]},"maintainers":[{"name":"jeremyscalpello","email":"jeremy@scalpello.info"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-nobots-1.0.4.tgz_1504109842778_0.9609342587646097"},"directories":{}},"1.0.5":{"name":"express-nobots","version":"1.0.5","description":"Keep Bots Away From Your Express App","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jeremyscalpello/express-nobots.git"},"keywords":["node","express","bot","crawler","protection","block","googlebot","facebookexternalhit"],"author":{"name":"Jeremy Scalpello","email":"jeremy@scalpello.info"},"license":"Apache-2.0","homepage":"https://github.com/jeremyscalpello/express-nobots#readme","dependencies":{},"gitHead":"6b388bacfe0e3229d430379763d7e3b4a35e5d0c","bugs":{"url":"https://github.com/jeremyscalpello/express-nobots/issues"},"_id":"express-nobots@1.0.5","_nodeVersion":"10.16.0","_npmVersion":"6.13.0","dist":{"integrity":"sha512-+tmSr0H1GLPD0ZmFfyHCXc1rK9Y1WFWFtk8yFBaFPVmSkShu25pjWAJ0EUU43omB3qPgNJfhtvPU9u5VLwWtIw==","shasum":"1035bd3f81b43a2e2133319f9ab8bb9281501df7","tarball":"https://registry.npmjs.org/express-nobots/-/express-nobots-1.0.5.tgz","fileCount":6,"unpackedSize":16021,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8N9PCRA9TVsSAnZWagAAoccP/AvH/KtpPiS+WYgJ5W5k\ndEgveVHlJUaum7A8zLl4sakqmIrant/XdO8ugUtv+VdkxKnvjqS9nU4VOXSn\n/xN3Ty19rQ4cWkw8HdWNpgZ5D8rm90gRrX7RxTAsKi3w3x9LS5j4KoBb/deK\nMlk0Db+8+tU7jx/eooFX/YYtfsfRRUBKIMd4q5LLEZ/C5WvyfA7YMauWhNYM\nu+vCi/BJ/uG6ju7WEA4HlcjMoxA78v2EnCr6Y+j0HJ79zrxKDF/E8u6VtfNY\n49YKFaCFLwJCW/wfZOudXLAT7EVNftxcvh0gNUbpyAhxzT0ZJv7xmmB2tPQk\nrWVcWCoZ9ZTn5pku/Uz4uArqUg2kEDme/X70O1muuZEn0uCXbclzU7vT0bQv\nJ8qO2//BKehOTyOqdpbj9kuGFlUnAAxRX01r+6A5LOJnnLDoN+GcPO4Z2vGd\nNkkxXYKOirVaPv2qmks7aJTg1Tkc0YyeonztVlJJDkHs16L1z9fw9wPSEwPb\nKcBDxtahNzjlsb6U/zQgXP5oQXZzOvd7p/YORskilfeUPqzYaC+xElhQi7OJ\nSZ/vpL5ks3dYd6YwxvoVvkv4E0Bzakb1AJOkLkmTsbVUU3uAsSbr/uF6OM2/\nj/aoMYCp0xDFxhYsAV8PDX2x3n5C/cLLuYPa+GR8WgWsC7qY8g0FF8ajUcRd\ncPJi\r\n=EYY6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8OL2L62VojtMJzHWagNTnOfdzZJipmzm+Am26ImMgtAiEAzxJyftbdHqM/rcl76Q3BfVJk0XwXSnzV4OErQ7F6xt8="}]},"maintainers":[{"name":"jeremyscalpello","email":"jeremy@scalpello.info"}],"_npmUser":{"name":"jeremyscalpello","email":"jeremy@scalpello.info"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-nobots_1.0.5_1576066894704_0.7810426739606837"},"_hasShrinkwrap":false}},"readme":"# express-nobots\nKeep Bots And Crawlers Away From Your Express App\n\nThis simple to integrate module uses the user-agent header to determine whether or not a request is made from a bot, and if so, either blocks it or tags the request.\n\nInstallation\n=====\n\n```bash\nnpm install express-nobots --save\n```\n\nUsage\n=====\nMake sure to include this as the first middleware!\n\nBlocking Bots (sends 401 unauthorised):\n```javascript\nvar noBots = require('express-nobots');\n\n....\n\napp.use(noBots());\n//or\napp.use(noBots({block:true}));\n```\n\nTagging Bots (this will set req.isBot to true if a bot makes a request):\n```javascript\nvar noBots = require('express-nobots');\n\n....\n\napp.use(noBots({block:false}));\n```\n\nRequest from a bot with block set to false:\n```javascript\n...\nconsole.log(req.isBot);\n//true\n...\n```","maintainers":[{"name":"jeremyscalpello","email":"jeremy@scalpello.info"}],"time":{"modified":"2022-06-17T22:28:24.681Z","created":"2015-12-12T11:28:36.848Z","1.0.0":"2015-12-12T11:28:36.848Z","1.0.1":"2015-12-12T11:31:37.929Z","1.0.2":"2015-12-12T20:26:11.658Z","1.0.3":"2017-04-02T17:06:17.981Z","1.0.4":"2017-08-30T16:17:23.634Z","1.0.5":"2019-12-11T12:21:35.042Z"},"homepage":"https://github.com/jeremyscalpello/express-nobots#readme","keywords":["node","express","bot","crawler","protection","block","googlebot","facebookexternalhit"],"repository":{"type":"git","url":"git+https://github.com/jeremyscalpello/express-nobots.git"},"author":{"name":"Jeremy Scalpello","email":"jeremy@scalpello.info"},"bugs":{"url":"https://github.com/jeremyscalpello/express-nobots/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}