Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bloodyowl/jsonp

jsonp (with promises)
https://github.com/bloodyowl/jsonp

Last synced: 19 days ago
JSON representation

jsonp (with promises)

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.