You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

seo-bot-detect

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seo-bot-detect

Detect SEO Bot Crawler

1.0.3
latest
Source
npm
Version published
Weekly downloads
43
-71.33%
Maintainers
1
Weekly downloads
 
Created
Source

Detect SEO Crawler

Node.js module that detect SEO Bot's. This module detects requests from search engine bots and crawlers, and replies with boolen value.

Installation

Install via npm.

npm install seo-bot-detect --save

Usage with Express.js

var express = require('express'), 
	http = require('http'),
	request = require('request'),
	seo-bot-detect = require('seo-bot-detect');
var app = express();

app.set('port', process.env.PORT || 3000);

app.use(express.static(__dirname + '/public/images'));

app.get('/',function(req,res,next){	
	res.send(seo-bot-detect(req));
});

http.createServer(app).listen(app.get('port'), function(){
 console.log('Express server listening on port ' + app.get('port'));
});

Keywords

seo

FAQs

Package last updated on 22 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts