yopmail-helper
TypeScript icon, indicating that this package has built-in type declarations

1.0.12 • Public • Published

Yopmail helper

📦 Install

You can install the library using NPM or Yarm

npm i yopmail-helper
yarn add yopmail-helper

🔧 How to use

//Declare module
import { inbox, linkOfFirstMail, mailDetails, mailDetailsHtml } from 'yopmail-helper';

✉️ get inbox of a mail address

    const mails = await inbox('admin01');

🗃️ Read details of an email

    const mails = await inbox('admin01');
    const mailDetailsInfo = await mailDetails(mails[0].mailId,'admin01');

🗃️ Read details of an email in HTML

    const mails = await inbox('admin01');
    const mailDetailsHtmlInfo = await mailDetailsHtml(mails[0].mailId,'admin01');

📑 Read link of an email

    const link = await linkOfFirstMail('admin01');

Package Sidebar

Install

npm i yopmail-helper

Weekly Downloads

135

Version

1.0.12

License

MIT

Unpacked Size

57.4 kB

Total Files

35

Last publish

Collaborators

  • toronto22