This package has been deprecated

Author message:

This package has been renamed to phisherman.gg. Please use it instead.

@fc5570/phisherman.js
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

phisherman.js

A NodeJS wrapper for phisherman API.

Installation

npm install phisherman.js
yarn add phisherman.js

Example

import { PhishermanClient } from '@fc5570/phisherman.js';

const client = new PhishermanClient({
	apiKey: '<your-api-key>'
});

// Check if domain is a phish or scam
client.check('disczrd.com').then(console.log); // { classification: 'malicious', verifiedPhish: true }

// Report a phish
client.report('https://dicsords-gifted.ru/nitro').then(console.log); // { success: false, message: 'Domain already exists' }

API

PhishermanClient.constructor(options)

options is an object with the following properties:

  1. apiKey (string): The api key to authorize requests.

PhishermanClient.check(domain)

Checks if a domain is a phish or scam.

PhishermanClient.report(domain)

Reports a phish or a scam.

If you encounter any issues, please join the Discord Server and ask for help, or contact FC#5104.

Package Sidebar

Install

npm i @fc5570/phisherman.js

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

6.97 kB

Total Files

8

Last publish

Collaborators

  • fc5570