Header-Field
Transform header fields into a properly formatted string, with lowercase characters and hyphens.
Installation
Npm
npm install header-field
Example
; ; //-> "content-type"; //-> "content-length"; //-> "content-disposition" // Special case: referrer -> referer.; //-> "referer"
Contributions
- Use
npm test
to build and run tests.
Please feel free to create a PR!