header-parse
v0.1.0
Published
Parse RFC822-compliant (and similar) headers.
Downloads
114
Readme
header-parse
Parse RFC822-compliant (and similar) headers.
This will parse header blocks that conform to RFC822 section 3 or RFC2616 section 4.2, as well as a few
variations of those standards. One major deviation is that this library by default treats \r\n
and \n
as the
same, so headers separated by either will be parsed.
This should be useful to parse:
- HTTP headers
- MIME headers (from standard emails, or multipart messages)
- Maruku-style Markdown document metadata