Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 355 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 355 Bytes

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)