# camsong/fetch-jsonp

Make JSONP request like window.fetch

Repository: https://github.com/camsong/fetch-jsonp
Canonical: https://ross.abutalabs.com/products/fetch-jsonp
Language: JavaScript
License Family: other
Topics: jsonp, jsonp-request, polyfill
Last push: 2026-02-27T11:09:33+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 69, release rhythm 40, longevity 100
- inputs: {"age_days": 4044, "days_push": 187, "days_rel": 187, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1001, forks 154 (observed 2026-09-03T02:15:09.794195+00:00)

## What it is
A small JavaScript library that lets you make JSONP requests using the same promise-based API as the native Fetch API. It provides a global fetchJsonp function with configurable callback names and timeouts.

## Use cases
- make JSONP requests with a fetch-like API
- fetch cross-domain JSON from legacy APIs that only support JSONP
- customize the JSONP callback parameter and function name
- set timeouts on JSONP requests
- parse JSONP responses as promises

## When to choose
- you need to consume a legacy third-party API that only supports JSONP
- you want a fetch-style promise API for JSONP in the browser
- you need configurable callback names and request timeouts for JSONP

## When to avoid
- the API supports CORS and you can use standard fetch
- you need POST or other HTTP methods since JSONP is GET-only
- you are building a server-side application where JSONP is irrelevant
- you are concerned about JSONP security implications in modern apps

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client
- domain: web-development, frontend, apis
- platform: browser
- tags: p, fetch-api, promise, ajax, polyfill, nodejs

## Member repositories
- camsong/fetch-jsonp (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:09.794195+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:16:05.460103+00:00, confidence not recorded.
  - readme: https://github.com/camsong/fetch-jsonp (fetched 2026-09-03T02:15:09.794195+00:00, sha 805f61da0595)
  - registry_npm: https://registry.npmjs.org/fetch-jsonp (fetched 2026-08-29T13:14:12.947057+00:00, sha dec300573d94)
- Data as of 2026-08-30T08:39:29.467469+00:00.
