@app-elements/request

Wrap XMLHttpRequest to return a promise and the xhr object.

Usage no npm install needed!

<script type="module">
  import appElementsRequest from 'https://cdn.skypack.dev/@app-elements/request';
</script>

README

request

Wraps XMLHttpRequest so that it returns a promise and the xhr object.