Disposable Email API Powered by Guerrillamail using TypeScript
A simple wrapper on top of Guerrillamail REST API using TypeScript, Promises, and Axios!
It should empower your team (development/QA) to cover E2E scenarios in more depth.
Check the Guerrillamail docs for more information here
How to install this module
npm i --save-dev disposable-guerrillamail
Example
import { Email } from 'disposable-guerrillamail';
(async () => {
const tempEmail = new Email();
const address = await tempEmail.createEmailAccount();
.
.
.
const emails = await tempEmail.getLatestEmails();
const email = await tempEmail.getEmailDetails('1');
.
.
.
})();
How to run locally
Development
git clone git@github.com:Fghurayri/disposable-guerrillamail.git
cd disposable-guerrillamail
npm i
npm run dev
Testing
npm test