1.2.1 • Published 2 years ago
checkleakedcc v1.2.1
CheckLeaked.cc Official NPM Package
CheckLeakedCC is a NodeJS library to interact with checkleaked.cc
Installation
npm i checkleakedcc --save
Requirements
Bot api key, can be found at: https://checkleaked.cc/botLinks
Usage
const CheckLeakedCC = require('checkleakedcc').default
// Initialize with bot api key
// Can be found at: https://checkleaked.cc/botLinks
const api_key = 'XXXX-XXX-XXX'
const api = new CheckLeakedCC(api_key)
const entry = 'test1234@mail.com'
const page = 1;
const type = 'email';
// Experimental Search
api.experimental(entry, type)
.then(res => console.log(res))
.catch(e=> console.error(e))
// Dehashed Search
api.dehashed(entry, type, page)
.then(res => console.log(res))
.catch(e=> console.error(e))