ok-jsonp
v1.0.0
Published
jsonp
Downloads
11
Readme
ok-jsonp
npm i ok-jsonp -S
import jsonp from 'ok-jsonp';
jsonp(
'http://foo.bar/jsonp',
{
type: 1,
page: 2
},
'_callback'
).then(
res => console.log(res),
err => console.log(err)
);