1.0.7 • Published 5 years ago
node-jsonp-client v1.0.7
node-jsonp-client
a simple jsonp client for Node.js
Installation
$ npm install node-jsonp-client
Usage
Include the library on Node.js
const jsonpClient = require('node-jsonp-client')
const http = require('http')
jsonpClient('http://yourapi', {
agent: new http.Agent({ keepAlive: true })
}).then(console.log)