tuplo / fetch

Simplistic HTTP request library for NodeJS (WHATWG Fetch API compatible)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

fetch

Simplistic HTTP request library for NodeJS (WHATWG Fetch API compatible)

Usage

WHATWG Fetch API compliant

import fetch from '@tuplo/fetch';

const data = await fetch('https://foo.com/page.json').then((res) => res.json());

Install

$ npm install @tuplo/fetch

# or with yarn
$ yarn add @tuplo/fetch

License

MIT

About

Simplistic HTTP request library for NodeJS (WHATWG Fetch API compatible)

License:MIT License


Languages

Language:TypeScript 99.5%Language:JavaScript 0.5%