2.4.3 • Published 8 years ago

node.ajax v2.4.3

Weekly downloads
26
License
MIT
Repository
github
Last release
8 years ago

node.ajax

npm

ajax for node

Installation

$ npm install node.ajax

Use with node

var ajax = require("node.ajax");

var res = yield ajax("http://domain:port","GET",{
    params: value
},{'Content-Type': 'application/x-www-form-urlencoded'},"utf8")

Use with window

var ajax = require("node.ajax");

// async (need a callback,return true)
var res = ajax("http://domain:port","GET",{
    params: value
},function(res){
    // do something ....
});

// sync (return response data)
var res = ajax("http://domain:port","GET",{
    params: value
});

jQuery like:

var $ = {
    ajax: require("node.ajax")
}
2.4.3

8 years ago

2.4.2

8 years ago

2.4.1

8 years ago

2.4.0

8 years ago

2.3.8

8 years ago

2.3.7

8 years ago

2.3.6

8 years ago

2.3.5

8 years ago

2.3.4

8 years ago

2.3.3

8 years ago

2.3.2

8 years ago

2.3.1

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago