Skip to content

Commit

Permalink
Update phin.js
Browse files Browse the repository at this point in the history
fixed a typo
  • Loading branch information
0xflotus authored Apr 23, 2019
1 parent ad88f78 commit e493908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/phin.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const centra = require('centra')
* @property {Object} [form] - Object to send as form data (sets 'Content-Type' and 'Content-Length' headers, as well as request body) (overwrites 'data' option if present)
* @property {Object} [headers={}] - Request headers
* @property {Object} [core={}] - Custom core HTTP options
* @property {string} [parse=none] - Response parsing. Errors will be given if the repsonse can't be parsed. ('none', 'json')
* @property {string} [parse=none] - Response parsing. Errors will be given if the response can't be parsed. ('none', 'json')
* @property {boolean} [followRedirects=false] - Enable HTTP redirect following
* @property {boolean} [stream=false] - Enable streaming of response. (Removes body property)
* @property {boolean} [compression=false] - Enable compression for request
Expand Down Expand Up @@ -96,4 +96,4 @@ phin.unpromisified = (opts, cb) => {

phin.defaults = (defaultOpts) => async (opts) => await phin(Object.assign(defaultOpts, typeof opts === 'string' ? {'url': opts} : opts))

module.exports = phin
module.exports = phin

0 comments on commit e493908

Please sign in to comment.