{"library":"address-rfc2821","type":"library","category":null,"description":"address-rfc2821 is a JavaScript/TypeScript library designed for parsing email addresses conforming to RFC-5321 (formerly RFC-821/2821) specifically for the SMTP envelope, found in `MAIL FROM:` and `RCPT TO:` commands. This module focuses on the nuances of envelope addressing, including handling null senders (`<>`) and correctly managing quoted local-parts. Since version 2.0.0, it transitioned from a regex-based parser to one built with Nearley, providing more robust and accurate parsing. It also supports UTF-8 email addresses according to RFCs 5890-5892, providing the domain in punycode when necessary. The current stable version is 2.1.5, with recent updates including the addition of TypeScript type definitions in v2.1.4 and a fix to `isNull()`'s return type in v2.1.5. The library maintains an active release cadence, reflecting ongoing development and maintenance for Haraka mail server components.","language":"javascript","status":"active","version":"2.1.5","tags":["javascript","email","envelope","address","rfc821","rfc2821","rfc5321","RFC-5321","mail","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install address-rfc2821","imports":["import { Address } from 'address-rfc2821';","const { Address } = require('address-rfc2821');","import type { Address } from 'address-rfc2821';"]},{"cmd":"yarn add address-rfc2821","imports":[]},{"cmd":"pnpm add address-rfc2821","imports":[]}],"homepage":"https://haraka.github.io","github":"https://github.com/haraka/node-address-rfc2821","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/address-rfc2821","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/address-rfc2821/compatibility"}}