xhrpromise

xhrpromise - the JavaScript net speed test

Usage no npm install needed!

<script type="module">
  import xhrpromise from 'https://cdn.skypack.dev/xhrpromise';
</script>

README

XhrPromise

Bower NPM License Build Status

NPM

A Promise that invokes a XmlHttpRequest.

Development

How to make a new release

  1. Change the version number in bower.json and package.json
  2. Create a new release in github with the same name for tag and title as the version number (e.g. 1.0.0). Do not forget to include the changelog in the release description.
  3. Run npm publish to publish the new version to npm

Testing

To run the tests do npm run test.