Skip to content

tuplo/fetch

Repository files navigation


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