Snow 1d0b9c5323 增加了node环境 | 1 maand geleden | |
---|---|---|
.. | ||
lib | 1 maand geleden | |
LICENSE | 1 maand geleden | |
README.md | 1 maand geleden | |
package.json | 1 maand geleden |
Synchronous and asynchronous XMLHttpRequest for Node
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.
GET
, POST
, PUT
, and DELETE
requestsfile://
protocolHere'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()
For a list of open issues or to report your own visit the github issues page.
MIT license. See LICENSE for full details.