Get Started

Install

yarn add @scamsniffer/detector

Scan

const { DetectorAPI } = require("@scamsniffer/detector");
const API_KEY = '';
const ENDPOINT = '';
(async () => {
const detectorApi = new DetectorAPI({
apiKey: API_KEY,
endpoint: ENDPOINT
});
const testUrl = 'https://pudgypenguuins.xyz';
const result = await detectorApi.detect(testUrl);
console.log('result', result)
})();
Copy link
On this page