20 lines
894 B
JSON
20 lines
894 B
JSON
|
{
|
||
|
"name": "jsonp",
|
||
|
"description": "A sane JSONP implementation.",
|
||
|
"version": "0.0.3",
|
||
|
"dependencies": {
|
||
|
"debug": "*"
|
||
|
},
|
||
|
"component": {
|
||
|
"scripts": {
|
||
|
"jsonp": "jsonp.js"
|
||
|
}
|
||
|
},
|
||
|
"readme": "\n# jsonp\n\nA simple JSONP implementation.\n\n## API\n\n### jsonp(url, opts, fn)\n\n- `url` (`String`) url to fetch\n- `opts` (`Object`), optional\n - `param` (`String`) name of the query string component to specify\n the callback (defaults to `callback`)\n - `timeout` (`Number`) how long after a timeout error is emitted. `0` to\n disable (defaults to `60000`)\n- `fn` callback\n\nThe callback is called with `err, data` parameters. \n\nIf it times out, the `err` will be an `Error` object whose `message` is\n`Timeout`.\n\n## License\n\nMIT\n",
|
||
|
"_id": "jsonp@0.0.3",
|
||
|
"dist": {
|
||
|
"shasum": "28b5308d7fc5387509accfeecf3a80321511ce9e"
|
||
|
},
|
||
|
"_from": "jsonp"
|
||
|
}
|