Skip to content

franzose/jsonp-es6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JSONP with promises

This tiny library is based on Lightweight JSONP: https://github.com/erikarenhill/Lightweight-JSONP and allows to use promises along with JSONP requests.

Usage:

  var jsonp = require('jsonp-promise'),
      url = 'http://example.com',
      params = {
        param1: 'param1',
        param2: 'param2'
      };
  
  jsonp(url, params)
    .then((result) => {
      // something useful
    });

About

Tiny JSONP request wrapper with modern promises support

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published