@seedalpha/xhr

Cross Browser xhr request

Usage no npm install needed!

<script type="module">
  import seedalphaXhr from 'https://cdn.skypack.dev/@seedalpha/xhr';
</script>

README

xhr

Cross Browser xhr request

Changelog

1.3.0:

  • Remove options.credentials conditional before xhr is assigned Request obj

1.2.0:

  • Add XDomainRequest Conditionals for <IE10

1.1.0:

  • add ie, safari and firefox versions to zuul.yml

1.0.0:

  • Initial release

Installation

$ npm install seed-xhr --save

Usage

var xhr = require('seed-xhr');

xhr({
    method: 'GET',
    data: '',
    withCredientials: true
}, function(xhr, responseString) {});

Development

$ git clone git@github.com:seedalpha/xhr.git
$ cd xhr
$ npm install
$ npm test

Author

Vladimir Popov vlad@seedalpha.net

License

©2014 Seedalpha