Verifies Googlebot, using Google's recommended method (reverse DNS). This middleware also takes performance into account, and caches the results.
npm install express-isgooglebotVerifies Googlebot, using Google's recommended method (reverse DNS). This middleware also takes performance into account, and caches the results.
app.use(require('express-isgooglebot'));
`this will add a property to the request object that can be used like this
`
function (request, response, next) {
response.send(request.isGoogleBot);
}
``