snapsheet-ajax-utils

Wrapper around fetch to simplify usage

Usage no npm install needed!

<script type="module">
  import snapsheetAjaxUtils from 'https://cdn.skypack.dev/snapsheet-ajax-utils';
</script>

README

snapsheet-ajax-utils

Wrapper around fetch to simplify usage

Install

yarn add snapsheet-ajax-utils

Usage

import { postJson } from 'snapsheet-ajax-utils';

postJson(url, body).then(data => doSomething(data));