curl-headers-to-json

1.0.1 • Public • Published

curl-headers-to-json

A tool to format the output of cURL headers into JSON.

Example:

curl -sSL -D - https://api.github.com -o /dev/null | npx curl-headers-to-json | jq

or if you grabbed the output already:

npx curl-headers-to-json headers.txt | jq

Readme

Keywords

Package Sidebar

Install

npm i curl-headers-to-json

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

1.97 kB

Total Files

3

Last publish

Collaborators

  • a0viedo