Snow 1d0b9c5323 增加了node环境 | преди 1 месец | |
---|---|---|
.. | ||
lib | преди 1 месец | |
LICENSE | преди 1 месец | |
README.md | преди 1 месец | |
package.json | преди 1 месец |
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.