mxw

modern-xhr-wrapper

A micro-sized wrapper for native XMLHttpRequest

Showing:

Popularity

Downloads/wk

3

Maintenance

No Maintenance Data Available

Package

Dependencies

0

Size (min+gzip)

0.4KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Usage

var ajax = require('modern-xhr-wrapper');

ajax.get({
    url: 'https://api.example.com/v1/users',
    success: function (response) {
        console.log('Success!');
    },
    error: function (response) {
        console.log('Uh oh! There was an error.');
    }
});

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100