@axiasolar-js/phishing

1.1.0 • Public • Published

@axiasolar-js/phishing

To check for sites that are on the list -

import { checkIfDenied } from '@axiasolar-js/phishing';

const isOnDeny = await checkIfDenied(window.location.host);

console.log(`isOnDeny=${isOnDeny}`);

To check for addresses that are on the list -

import { checkAddress } from '@axiasolar-js/phishing';

const info = await checkAddress('1b....');

if (info) {
  console.log(`The address is reported as ${info}`);
} else {
  console.log('Not reported');
}

Readme

Keywords

none

Package Sidebar

Install

npm i @axiasolar-js/phishing

Weekly Downloads

1

Version

1.1.0

License

Apache-2.0

Unpacked Size

16.2 kB

Total Files

11

Last publish

Collaborators

  • abhishek-zeeve
  • sankar-boro-zeeve