2.0.0 • Published 6 years ago
@thisisbarney/request v2.0.0
@thisisbarney/request
a toolbox of request methods, including request csv file, json file and binary blob.
Installation
yarn add @thisisbarney/request
Usage
import { requestCSV } from '@thisisbarney/request';
requestCSV(url).then(([err, data]) => {});
or use async/await
const [err, data] = await requestCSV(url);