Skip to content

Commit

Permalink
Merge 32d7de7 into 5e6d4cc
Browse files Browse the repository at this point in the history
  • Loading branch information
greenkeeper[bot] committed Mar 2, 2018
2 parents 5e6d4cc + 32d7de7 commit c5e40a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

# 🥐 Brotli decoder to [`fetch-h2`](https://www.npmjs.com/package/fetch-h2)

[![Greenkeeper badge](https://badges.greenkeeper.io/grantila/fetch-h2-br.svg)](https://greenkeeper.io/)

This package provides a content decoder for the Brotli (`br`) encoding using the [`iltorb`](https://www.npmjs.com/package/iltorb) package (which is a wrapper around the native `brotli` C library). By using this with [`fetch-h2`](https://www.npmjs.com/package/fetch-h2), requests will add `'br'` as accepted encoding to the server, and will decode it.

Use this on the default `fetch-h2` context by its `setup( )`, or for new contexts when creating them.
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
"@types/get-stream": "3.x",
"@types/iltorb": "2.x",
"@types/mocha": "2.x",
"@types/node": "8.x",
"@types/node": "^9.4.6",
"@types/tough-cookie": "2.x",
"chai": "4.x",
"coveralls": "2.x",
"coveralls": "^3.0.0",
"fetch-h2": "0.x",
"istanbul": "1.1.0-alpha.1",
"mocha": "4.x",
"mocha": "^5.0.1",
"rimraf": "2.x",
"typescript": "2.6.x"
"typescript": "~2.7.2"
},
"dependencies": {
"iltorb": "2.x"
Expand Down

0 comments on commit c5e40a3

Please sign in to comment.