npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@greyharbor/form-mailer

v0.3.0

Published

Lightweight form-to-email delivery for embeddable apps and serverless handlers.

Readme

form-mailer

CI npm version

form-mailer

form-mailer is a compact way to turn form submissions into email without dragging a full mail platform into your app.

It gives your product a calm, reliable email layer that stays easy to understand, easy to embed, and easy to teach from in standard Node.js applications as well as serverless handlers.

If you'd like to explore the project site, Click Here for the latest overview and supporting pages.

Start Here

Why it exists

Most apps do not need a mail system.

They need a small, dependable path from submission to delivery:

  • accept the form payload
  • validate and shape the message
  • send through a transport adapter
  • return a typed outcome the app can trust

That is the space form-mailer is built for.

What it helps you do

Use form-mailer when you want to:

  • add contact, support, lead, or workflow email handling to an existing app
  • use the same package from JavaScript or TypeScript in a Node.js codebase
  • keep delivery logic small enough to reason about quickly
  • swap transports without redesigning the application
  • demonstrate simple deployment patterns across multiple environments
  • build a learning-friendly example that still feels production-minded

What you gain

Using form-mailer gives you a few practical advantages:

  • a narrow API instead of a sprawling mail subsystem
  • typed success and failure results instead of vague side effects
  • security-conscious defaults for validation and message handling
  • separate adapters for different runtimes and delivery paths
  • documentation that can double as teaching material

Product goals

The project is guided by a simple set of goals:

  • stay framework-agnostic
  • stay TypeScript-first
  • stay easy to consume from plain JavaScript projects
  • keep the dependency footprint small
  • keep the default path safe and predictable
  • support multiple runtime environments through separate adapters
  • remain easy to explain in tutorials, demos, and deployment guides

Best fit

This package is a good fit when you want:

  • a compact email delivery layer for an existing Node.js application
  • a reusable foundation for demo deployments in places like Cloudflare or AWS Lambda
  • a codebase that is simple enough to teach from, not just use

It is not intended to become:

  • a hosted mail service
  • a newsletter platform
  • a full mail server
  • an SMTP relay product

Project notes

Quick Start

For the package itself, install and try the main tutorial first:

npm install
npm test

Then continue into the example workspace docs if you want the deployment-oriented flows: