{"id":19387670,"url":"https://github.com/haraka/node-address-rfc2822","last_synced_at":"2025-04-04T09:06:36.567Z","repository":{"id":7437893,"uuid":"8777488","full_name":"haraka/node-address-rfc2822","owner":"haraka","description":"Parser for RFC2822 (Header) format email addresses","archived":false,"fork":false,"pushed_at":"2025-01-13T20:31:25.000Z","size":87,"stargazers_count":54,"open_issues_count":0,"forks_count":16,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-23T08:05:40.315Z","etag":null,"topics":["email","headers","parser","rfc2822"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/address-rfc2822","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}},"created_at":"2013-03-14T14:46:50.000Z","updated_at":"2025-03-15T00:52:09.000Z","dependencies_parsed_at":"2024-02-23T19:27:04.632Z","dependency_job_id":"8d7734e3-8a8d-47c4-94ee-17e253646ff9","html_url":"https://github.com/haraka/node-address-rfc2822","commit_stats":{"total_commits":54,"total_committers":12,"mean_commits":4.5,"dds":0.4629629629629629,"last_synced_commit":"a29755144190018901b98a68d7b221e4e9ef63be"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraka%2Fnode-address-rfc2822","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraka%2Fnode-address-rfc2822/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraka%2Fnode-address-rfc2822/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haraka%2Fnode-address-rfc2822/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haraka","download_url":"https://codeload.github.com/haraka/node-address-rfc2822/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922241,"owners_count":20855345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","headers","parser","rfc2822"],"created_at":"2024-11-10T10:10:06.921Z","updated_at":"2025-04-04T09:06:36.537Z","avatar_url":"https://github.com/haraka.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status][ci-img]][ci-url]\n[![Code Climate][clim-img]][clim-url]\n[![Coverage Status][cov-img]][cov-url]\n\n# address-rfc2822\n\nParser for RFC 2822 \u0026 5322 (Header) format email addresses.\n\nThis module parses RFC 2822 headers containing addresses such as From, To, CC, and BCC headers.\n\nIt is almost a direct port of the perl module Mail::Address and I'm grateful to the original authors of that module for the clean code and the tests.\n\n## Installation\n\n`npm install address-rfc2822`\n\n## Usage\n\n\u003c!-- prettier-ignore --\u003e\n```js\nconst addrparser = require('address-rfc2822')\n\nconst addresses = addrparser.parse('Matt Sergeant \u003chelpme+npm@gmail.com\u003e')\nconst address = addresses[0]\n\nconsole.log(`Email address: ${address.address}`) // helpme+npm@gmail.com\nconsole.log(`Email name: ${address.name()}`)     // Matt Sergeant\nconsole.log(`Reformatted: ${address.format()}`)  // Matt Sergeant \u003chelpme+npm@gmail.com\u003e\nconsole.log(`User part: ${address.user()}`)      // helpme+npm\nconsole.log(`Host part: ${address.host()}`)      // gmail.com\n```\n\n## More Info\n\n- [RFC 2822](https://tools.ietf.org/html/rfc2822)\n- [RFC 5322](https://tools.ietf.org/html/rfc5322)\n\n## License\n\nThis module is MIT licensed.\n\n[ci-img]: https://github.com/haraka/node-address-rfc2822/actions/workflows/ci.yml/badge.svg\n[ci-url]: https://github.com/haraka/node-address-rfc2822/actions/workflows/ci.yml\n[cov-img]: https://codecov.io/github/haraka/node-address-rfc2822/coverage.svg\n[cov-url]: https://codecov.io/github/haraka/node-address-rfc2822?branch=master\n[clim-img]: https://codeclimate.com/github/haraka/haraka-plugin-template/badges/gpa.svg\n[clim-url]: https://codeclimate.com/github/haraka/haraka-plugin-template\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharaka%2Fnode-address-rfc2822","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharaka%2Fnode-address-rfc2822","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharaka%2Fnode-address-rfc2822/lists"}