https://github.com/firstandthird/jsonp
Quick way to create a JSONP request
https://github.com/firstandthird/jsonp
Last synced: 4 months ago
JSON representation
Quick way to create a JSONP request
- Host: GitHub
- URL: https://github.com/firstandthird/jsonp
- Owner: firstandthird
- License: mit
- Created: 2017-02-07T10:44:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T02:22:59.000Z (over 2 years ago)
- Last Synced: 2025-03-04T09:40:26.092Z (4 months ago)
- Language: JavaScript
- Size: 1.1 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# JSONP
[](https://travis-ci.org/firstandthird/jsonp)
Quick and easy JSONP.
## Installation
```sh
npm install @firstandthird/jsonp
```## Usage
```js
import jsonp from '@firstandthird/jsonp';jsonp('https://some-url.io', () => {
// It finished
}, 'cb');// https://some-url.io?cb=jsonp_125149012 will be queried
```