Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bloodyowl/jsonp
jsonp (with promises)
https://github.com/bloodyowl/jsonp
Last synced: 19 days ago
JSON representation
jsonp (with promises)
- Host: GitHub
- URL: https://github.com/bloodyowl/jsonp
- Owner: bloodyowl
- License: mit
- Created: 2014-01-09T16:15:15.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-21T09:31:12.000Z (over 9 years ago)
- Last Synced: 2024-10-14T17:50:26.590Z (2 months ago)
- Language: JavaScript
- Size: 207 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jsonp
[![Build Status](https://travis-ci.org/bloodyowl/jsonp.svg?branch=master)](https://travis-ci.org/bloodyowl/jsonp)
## Install
```
$ npm install bloody-jsonp
```## Require
```javascript
import jsonp from "bloody-jsonp"
```## API
### promise jsonp(url, { timeout: number = 10000, callbackName = callback })
loads `url` as a jsonp call.