A minimal library for formatting email addresses specifically for Gmail/Googlemail domains. Current stable version 1.0.5, low release cadence. Differentiators: simple regex-based transformation that removes dots from Gmail usernames and normalizes to lowercase. Limited scope and no active development since 2021.
npm install email-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows CommonJS usage with Gmail formatting (dots removed, lowercase) and invalid email handling.
Use only for Gmail normalization; for general email formatting, consider a more comprehensive library.
Combine with a proper email validation library like validator.js for RFC compliance.
Use const emailFormatter = await import('email-formatter'); then call emailFormatter.default(email).Ensure const emailFormatter = require('email-formatter'); is placed before usage.Use const emailFormatter = require('email-formatter'); (default export) not { emailFormatter }.No dependency data recorded yet.