# Installation
> `npm install --save @types/koa-safe-jsonp`

# Summary
This package contains type definitions for koa-safe-jsonp (https://github.com/koajs/koa-safe-jsonp).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-safe-jsonp.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-safe-jsonp/index.d.ts)
````ts
import jsonpBody = require("jsonp-body");
import Koa = require("koa");

declare namespace jsonp {
    interface Options extends jsonpBody.Options {
        /** callback name, default to `callback` */
        callback?: string;
    }
}

declare function jsonp(app: Koa, options?: jsonp.Options): Koa.Middleware;

export = jsonp;

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/jsonp-body](https://npmjs.com/package/@types/jsonp-body), [@types/koa](https://npmjs.com/package/@types/koa)

# Credits
These definitions were written by [Qingrong Ke](https://github.com/keqingrong).
