{"id":20873764,"url":"https://github.com/dbtek/angular-email-parser","last_synced_at":"2025-05-12T13:34:22.006Z","repository":{"id":58233503,"uuid":"21208039","full_name":"dbtek/angular-email-parser","owner":"dbtek","description":"RFC 822 email parser module for Angular JS.","archived":false,"fork":false,"pushed_at":"2017-08-15T06:41:19.000Z","size":293,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T13:14:31.447Z","etag":null,"topics":["angular-email-parser","angularjs","email","javascript","parcer","rfc-822"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbtek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-25T15:21:28.000Z","updated_at":"2021-03-22T13:22:24.000Z","dependencies_parsed_at":"2022-08-30T20:10:33.041Z","dependency_job_id":null,"html_url":"https://github.com/dbtek/angular-email-parser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fangular-email-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fangular-email-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fangular-email-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbtek%2Fangular-email-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbtek","download_url":"https://codeload.github.com/dbtek/angular-email-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253748482,"owners_count":21957930,"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":["angular-email-parser","angularjs","email","javascript","parcer","rfc-822"],"created_at":"2024-11-18T06:27:12.786Z","updated_at":"2025-05-12T13:34:21.444Z","avatar_url":"https://github.com/dbtek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"angular-email-parser [![Build Status](https://travis-ci.org/dbtek/angular-email-parser.svg?branch=master)](https://travis-ci.org/dbtek/angular-email-parser)\n====================\n\nRFC 822 email parser module for Angular JS. Based on [header-parse.js](https://gist.github.com/whitelynx/2e44e2af82bb9f51230d).\n\n### Install\nInstall via bower:  \n```bash\n $ bower install angular-email-parser\n````\nInclude js file and add dependency in your app.\n```js\n angular.module('myApp', ['emailParser']);\n```\nUse provider: `$parseEmail`.\n\n### Usage\n```js\n$parseEmail(mail, strict, parse);\n```\n\n**Parameters**\n```\n- mail (String) - Email source in plain text\n- strict (Boolean) Optional - `true` for strict RFC822 compliance (don't treat \\n without \\r as line breaks)\n- parse (Boolean) Optional - `false` to disable actually parsing headers (just separate the header block and the body)\n```\n**Returns**\n```js\n {\n   body: 'mail body content',\n   headers: {\n     From: '',\n     To: [],\n     ...\n   }\n }\n```\n\n### Author\nİsmail Demirbilek ([@dbtek](http://twitter.com/dbtek))\n\n### License\n[MIT](http://opensource.org/licenses/MIT)\n\n### Credits\nDavid Bronke - [header-parse.js](https://gist.github.com/whitelynx/2e44e2af82bb9f51230d)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbtek%2Fangular-email-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbtek%2Fangular-email-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbtek%2Fangular-email-parser/lists"}