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
- Host: GitHub
- URL: https://github.com/meltifa/node-jsonp-client
- Owner: meltifa
- License: mit
- Created: 2019-03-15T03:09:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-07T08:53:41.000Z (over 6 years ago)
- Last Synced: 2025-01-25T22:27:20.310Z (12 months ago)
- Topics: jsonp, jsonp-client, nodejs
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
```