1.2.1 • Published 2 years ago

checkleakedcc v1.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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))

License

MIT

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago