superagent-jsonpx
Installation
Install for node.js or browserify using npm:
$ npm install --save-dev superagent-jsonpx
Example
var request = ;var jsonp = ; var options = timeout: 3000 callbackKey: 'cb' ; request ;
Options
timeout
If there is no response after a timeout, it will determine that an error has occurred.
- default: 1000ms
callbackKey
This will change the default query string callback parameter.
- default: callback