xhr, a small XMLHttpRequest wrapper
A small XMLHttpRequest wrapper. Designed for use with browserify, webpack etc.
Source: naugtur/xhr
As jQuery becomes less and less relevant, I’ve found myself wanting a simpler way to do XHR. I haven’t used xhr
much, but it seems like the type of solution I’d want. (Either that or the Fetch API, which returns a Promise
.)