@lowzonenose/jsonp

0.0.3 • Public • Published

Build Status

JSONP (or JSON with Padding) is a technique used by web developers to overcome the cross-domain restrictions imposed by browsers to allow data to be retrieved from systems other than the one the page was served by.

USAGE

 var options = { 
   url : 'http://localhost/response.json', 
   timeOut : 10000, 
   onResponse: function (response) { console.log('onResponse', response); }, 
   onTimeOut : function () { console.log("Time out !"); } 
 };
 JSONP.call(options);

Readme

Keywords

Package Sidebar

Install

npm i @lowzonenose/jsonp

Weekly Downloads

1

Version

0.0.3

License

BSD-2-Clause

Last publish

Collaborators

  • lowzonenose