1.0.9 • Published 10 months ago

easy-anti-fishing v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

easy-anti-fishing

easy-anti-fishing is an API which was made to make the usage of Anti Fish API.

Update Log v1.0.9

  • Added new function :getCurrentRegExp()

Installation

In order to install the package, open a terminal and enter the following command:

$ npm i easy-anti-fishing

Functions

request(message:string)

This function uses promise, so you must use it like the following example:

const {request} = require("easy-anti-fishing")
const req = await request(message)

Example Returns

No phishing data found:

{"match":false}

If it finds data:

{
"match":true,
"matches":
[
    {
        "followed":false,
    "domain":"scam.link",
    "source":"AntiFish",
    "type":"PHISHING",
    "trust_rating":1.0
    }
]
}

:getCurrentRegExp()

Returns the current RegExp that the API uses for link matches.

Important Notes

  • Our script returns you the data DIRECLTY which means that you don't need to path to data like (req.data), req will return you the informations above.
  • This API (Anti Fish API) does not belong to me, it's owned by ByteAlex.
1.0.9

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago