header-parse

Parse RFC822-compliant (and similar) headers.


Keywords
header, parse, mime, email, http
License
MIT
Install
npm install header-parse@0.1.0

Documentation

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: