From e493908448e88b913a59c70544d2cec1029aa08e Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 23 Apr 2019 18:00:04 +0200 Subject: [PATCH] Update phin.js fixed a typo --- lib/phin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/phin.js b/lib/phin.js index 5a626d3..c1394e7 100644 --- a/lib/phin.js +++ b/lib/phin.js @@ -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 @@ -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 \ No newline at end of file +module.exports = phin