npm.io
0.0.3 • Published 5 years ago

tb-bot-identification

Licence
ISC
Version
0.0.3
Deps
1
Size
2 kB
Vulns
23
Weekly
0

tb-bot-identification

tb-bot-identification is a package to identify bots in windows93 trollbox

Features

  • Use a custom api url
  • Use a custom path for the api

Examples

Simple API Request

var api = require('tb-bot-identification');
async function test() {
dt = await api.isabot("Marisa m!?","home")
}
test()

Simple API Request with custom url and path:

var api = require('tb-bot-identification');
api.use('url', 'https://localhost:3000');
api.use('path', '/apipath')
async function test() {
dt = await api.isabot("Marisa m!?","home")
}
test()

Installation

Install the dependencies and devDependencies and start the server.

$ cd tb-bot-identification
$ npm install -d
Test
$ npm test