{"id":19387715,"url":"https://github.com/haraka/node-address-rfc2821","last_synced_at":"2026-01-19T04:00:55.944Z","repository":{"id":22640226,"uuid":"25983098","full_name":"haraka/node-address-rfc2821","owner":"haraka","description":"RFC2821 Email Address parser (from Haraka)","archived":false,"fork":false,"pushed_at":"2025-10-09T14:09:48.000Z","size":84,"stargazers_count":14,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-20T06:55:42.975Z","etag":null,"topics":["email","email-address-validator","haraka","parser"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/address-rfc2821","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haraka.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-10-30T17:56:26.000Z","updated_at":"2025-10-09T14:09:53.000Z","dependencies_parsed_at":"2024-06-18T17:00:43.399Z","dependency_job_id":"34e689fe-f409-4afd-8a67-0809889a7779","html_url":"https://github.com/haraka/node-address-rfc2821","commit_stats":{"total_commits":84,"total_committers":10,"mean_commits":8.4,"dds":"0.33333333333333337","last_synced_commit":"5c617f8dd3ffe0ff482875fb9df4c0434ae01cbe"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/haraka/node-address-rfc2821","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraka%2Fnode-address-rfc2821","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraka%2Fnode-address-rfc2821/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraka%2Fnode-address-rfc2821/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraka%2Fnode-address-rfc2821/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haraka","download_url":"https://codeload.github.com/haraka/node-address-rfc2821/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraka%2Fnode-address-rfc2821/sbom","scorecard":{"id":455528,"data":{"date":"2025-08-11","repo":{"name":"github.com/haraka/node-address-rfc2821","commit":"795d74088e2204a9ffd411e84eb17585876b0818"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":1,"reason":"Found 4/23 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/haraka/node-address-rfc2821/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/haraka/node-address-rfc2821/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/haraka/node-address-rfc2821/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/haraka/node-address-rfc2821/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/codeql.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/haraka/node-address-rfc2821/codeql.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/haraka/node-address-rfc2821/publish.yml/master?enable=pin","Info:   0 out of   6 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T09:30:04.099Z","repository_id":22640226,"created_at":"2025-08-19T09:30:04.099Z","updated_at":"2025-08-19T09:30:04.099Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28561597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["email","email-address-validator","haraka","parser"],"created_at":"2024-11-10T10:10:16.833Z","updated_at":"2026-01-19T04:00:55.939Z","avatar_url":"https://github.com/haraka.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status][ci-img]][ci-url]\n[![Coverage Status][cov-img]][cov-url]\n\n# address-rfc2821\n\nParser for RFC-821/RFC-2821/RFC-5321 (envelope) format email addresses (Mailbox and Path).\n\nThis module parses email addresses from the SMTP envelope. These are the portions immediately following the SMTP verbs `MAIL FROM:` and `RCPT TO:`. RFC-5321 email addresses look like this:\n\n```\n\u003c\u003e             // null\n\u003cPostmaster\u003e\n\u003cfrom@example.com\u003e\n\u003cto@example.com\u003e\n\u003cdot.atom.string@example.com\u003e\n\u003c\"quoted string\"@example.com\u003e\nangle-brackets-optional@example.com\n```\n\nTo parse email addresses contained in the message headers (To: From: BCC, CC), look instead at an RFC 2822/5322 parser such as [address-rfc2822](https://www.npmjs.com/package/address-rfc2822) or [email-addresses](https://www.npmjs.com/package/email-addresses).\n\n## Installation\n\n    npm install address-rfc2821\n\n## Usage\n\n```js\nconst Address = require('address-rfc2821').Address\n\nconst parsed = new Address('\u003cuser@example.com\u003e')\n```\n\n# Address Object\n\nThe Address object is an interface to reading email addresses passed in at\nSMTP time. It parses all the formats in RFC-2821 and 2822, as well as UTF8\nemail addresses according to the RFCs 5890, 5891 and 5892 providing the\ndomain in punycode when encountered It also supports correctly escaping\nemail addresses.\n\n## API\n\n- new Address (user, host)\n\nCreate a new address object for user@host\n\n- new Address (email)\n\nCreates a new address object by parsing the email address. Will throw an\nexception if the address cannot be parsed.\n\n- address.user\n\nAccess the local part of the email address\n\n- address.host\n\nAccess the domain part of the email address, decoded if necessary to punycode\n\n- address.original_host\n\nAccess the domain part of the email address, unencoded and case preserved\n\n- address.format(use_punycode=false)\n\nProvides the email address in the appropriate `\u003cuser@host\u003e` format. And\ndeals correctly with the null sender and local names.\n\nIf use_punycode = true, uses address.host instead of address.original_host.\n\n- address.toString()\n\nSame as format().\n\n- address.address(newval=null, use_punycode=false)\n\nProvides the email address in 'user@host' format.\n\nIf use_punycode = true, uses address.host instead of address.original_host.\n\n## License\n\nThis module is MIT licensed.\n\n[ci-img]: https://github.com/haraka/node-address-rfc2821/actions/workflows/ci.yml/badge.svg\n[ci-url]: https://github.com/haraka/node-address-rfc2821/actions/workflows/ci.yml\n[cov-img]: https://codecov.io/github/haraka/node-address-rfc2821/coverage.svg?branch=master\n[cov-url]: https://codecov.io/github/haraka/node-address-rfc2821?branch=master\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharaka%2Fnode-address-rfc2821","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharaka%2Fnode-address-rfc2821","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharaka%2Fnode-address-rfc2821/lists"}