{"id":22685607,"url":"https://github.com/hanai/promisify-jsonp","last_synced_at":"2026-04-12T18:22:49.765Z","repository":{"id":75888035,"uuid":"192882138","full_name":"hanai/promisify-jsonp","owner":"hanai","description":"Promisify JSONP","archived":false,"fork":false,"pushed_at":"2020-09-26T16:53:26.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-03T22:01:07.760Z","etag":null,"topics":["javascript","jsonp","npm","promise"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hanai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-06-20T08:36:30.000Z","updated_at":"2020-09-26T16:53:28.000Z","dependencies_parsed_at":"2023-05-29T02:15:31.014Z","dependency_job_id":null,"html_url":"https://github.com/hanai/promisify-jsonp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hanai/promisify-jsonp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanai%2Fpromisify-jsonp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanai%2Fpromisify-jsonp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanai%2Fpromisify-jsonp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanai%2Fpromisify-jsonp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanai","download_url":"https://codeload.github.com/hanai/promisify-jsonp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanai%2Fpromisify-jsonp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267899982,"owners_count":24163001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","jsonp","npm","promise"],"created_at":"2024-12-09T22:16:25.632Z","updated_at":"2026-04-12T18:22:44.726Z","avatar_url":"https://github.com/hanai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# promisify-jsonp\n\n[![NPM version][npm-image]][npm-url]\n[![License][license-image]][license-url]\n\nLight and robust JSONP library.\n\n## Installation\n\n```sh\n$ npm install --save promisify-jsonp\n```\n\n## Usage\n\n```js\npjsonp(url, options);\n```\n\n### Options\n\n| name               | type    | required | default value | description                                      |\n| ------------------ | ------- | -------- | ------------- | ------------------------------------------------ |\n| callbackName       | String  | false    | -             | name of jsonp callback function                  |\n| callbackNamePrefix | String  | false    | \\_\\_jp        | prefix for `callbackName`                        |\n| callbackParamName  | String  | false    | callback      | parameter name of `callbackName` in query string |\n| timeout            | Number  | false    | 0             | request timeout(0 means no timeout)              |\n| params             | Object  | false    | {}            | extend parameter to query string                 |\n| encode             | Boolean | false    | true          | encode parameter in query string                 |\n\n## Example\n\n```js\nvar pjsonp = require(\"pjsonp\");\n\npjsonp(\"https://www.example.com/jsonp\")\n  .then((res) =\u003e {\n    console.log(res);\n  })\n  .catch((err) =\u003e {\n    console.log(err);\n  });\n```\n\n## License\n\n[MIT](./LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/promisify-jsonp.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/promisify-jsonp\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg\n[license-url]: ./LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanai%2Fpromisify-jsonp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanai%2Fpromisify-jsonp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanai%2Fpromisify-jsonp/lists"}