1.2.0 • Published 6 months ago

mailpit-api v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

mailpit-api

A NodeJS client library, written in TypeScript, to interact with the Mailpit API.

npm version TypeScript

This package provides a convenient way to interact with Mailpit from your NodeJS applications.

Installation

npm install mailpit-api

Example

import { MailpitClient } from "mailpit-api";

// Initialize the API client
const mailpit = new MailpitClient("http://localhost:8025");

// Get all messages
const messages = await mailpit.listMessages();

// Delete all messages
await mailpit.deleteMessages();

Documentation

1.2.0

6 months ago

1.1.1

6 months ago

1.1.0

6 months ago

1.0.6

6 months ago

1.0.5

7 months ago

1.0.4

9 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.2-beta.3

1 year ago

1.0.2-beta.2

1 year ago

1.0.2-beta

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago