Installation
npm install --save @types/disposable-email
Summary
This package contains type definitions for disposable-email (https://github.com/disposable/disposable#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/disposable-email.
index.d.ts
export function validate(domainOrEmail: string): boolean;
export function validate(domainOrEmail: string, callback: (error: null, isValid: boolean) => void): void;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Zeeshan Ahmad.