mhansen / node-XMLHttpRequest

XMLHttpRequest for node.js

Home Page:http://thedanexperiment.com/2009/10/04/emulating-xmlhttprequest-in-node-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrapper for built-in http.js to emulate the browser XMLHttpRequest object.

This can be used with JS designed for browsers to improve reuse of code and allow the use of existing libraries.

Usage: var XMLHttpRequest = require("XMLHttpRequest").XMLHttpRequest and use per W3C specs.

*TODO*

SSL support
Basic authentication
Additional unit tests
Possibly move from http to tcp for more flexibility

About

XMLHttpRequest for node.js

http://thedanexperiment.com/2009/10/04/emulating-xmlhttprequest-in-node-js/


Languages

Language:JavaScript 100.0%