Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

got wrapper with automaticlly encoding

node v10.24.1
version: v0.1.4
endpointsharetweet
const got = require('got') const gotIconv = require('got-iconv'); (async () => { const url = 'https://www.163.com/'; const [withoutIconv, withIconv] = await Promise.all([got(url), gotIconv(url)]); console.log(withoutIconv.body); console.log(withIconv.body) })();
Loading…

no comments

    sign in to comment