tb-bot-identification
v0.0.3
Published
A API For Identifiying TB Bots
Downloads
12
Maintainers
Readme
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