0.0.3 • Published 4 years ago

tb-bot-identification v0.0.3

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

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