An open API service indexing awesome lists of open source software.

https://github.com/meltifa/node-jsonp-client

a simple jsonp client for Node.js
https://github.com/meltifa/node-jsonp-client

jsonp jsonp-client nodejs

Last synced: 9 months ago
JSON representation

a simple jsonp client for Node.js

Awesome Lists containing this project

README

          

# node-jsonp-client

a simple jsonp client for Node.js

## Installation

```bash
$ npm install node-jsonp-client
```

## Usage

Include the library on Node.js

```javascript
const jsonpClient = require('node-jsonp-client')
const http = require('http')

jsonpClient('http://yourapi', {
agent: new http.Agent({ keepAlive: true })
}).then(console.log)
```