ggrossetie / unxhr

Synchronous and asynchronous XMLHttpRequest for Node
MIT License
0 stars 3 forks source link
async http https nodejs sync xmlhttprequest

Synchronous and asynchronous XMLHttpRequest for Node

Build install size npm version

unxhr is a tiny wrapper of the built-in http client to emulate the browser XMLHttpRequest object.

Important: This library is a fork of XMLHttpRequest. It was created to be compliant with XMLHttpRequest Level 2.

Highlights

Usage

Here's how to include the module in your project and use as the browser-based XHR object.

const XMLHttpRequest = require('unxhr').XMLHttpRequest
const xhr = new XMLHttpRequest()

Known Issues / Missing Features

For a list of open issues or to report your own visit the github issues page.

License

MIT license. See LICENSE for full details.