Mailpit API Client
JSON →The `mailpit-api` package provides a robust TypeScript client for programmatically interacting with the Mailpit REST API. It enables developers to automate email testing workflows in various JavaScript environments, including Node.js, browsers, and modern JS runtimes, making it ideal for end-to-end (E2E) testing with frameworks like Playwright. The current stable version is 1.9.0, with minor releases and patch fixes occurring frequently, often driven by dependency updates and feature enhancements such as WebSocket support for real-time event listening. Key differentiators include its TypeScript-first design, comprehensive documentation, and specific utilities for common testing scenarios like waiting for messages to arrive, clearing mailboxes, and inspecting email content, all while maintaining compatibility across diverse JavaScript ecosystems. It simplifies the integration of email verification into automated test suites by abstracting the raw Mailpit API calls.
Traffic · last 30 days ↑350% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇮 Finland · 🇫🇷 France · 🇩🇪 Germany