1.1.1 • Published 5 years ago
@lodgify/fetch-related-utils v1.1.1
Fetch helpers
Simple helpers for fetch.
Install
$ npm install @lodgify/fetch-helpers
Usage
import { postJSON } from '@lodgify/fetch-helpers';
const url = "www.lassie.com";
const body = {
toy: "stick",
};
const customHeaders = {
redirect: "follow",
};
postJSON(url, body, customHeaders);
Contributing
See contributing.