1.0.9 • Published 2 years ago

easy-anti-fishing v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years 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

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago