is-disposable
TypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

is-disposable

This library uses disposable-email-domains under the hood to check whether a email address is disposable.


PROTIP: If you need a more accurate solution, I recommend to check out my upcoming cloud service devyl.


Setup

Deno

import isDisposable from 'https://deno.land/x/is_disposable@{VERSION}/mod.ts'

Node.js

npm i is-disposable
// ESM
import isDisposable from 'is-disposable'

// CommonJS
const isDisposable = require('is-disposable')

Usage

// Offline Mode
console.log(await isDisposable('example@email.com')) // updated weekly

// Online Mode (RECOMMENDED)
console.log(await isDisposable('example@email.com', { remote: true })) // updated hourly

Readme

Keywords

none

Package Sidebar

Install

npm i is-disposable

Weekly Downloads

33

Version

0.9.0

License

MIT

Unpacked Size

111 kB

Total Files

7

Last publish

Collaborators

  • boywithkeyboard