Socket
Socket
Sign inDemoInstall

seo-bot-detect

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    seo-bot-detect

Detect SEO Bot Crawler


Version published
Weekly downloads
80
decreased by-25.93%
Maintainers
1
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 22 Aug 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc