UNPKG

koa-accepts

Version:

Adjust content type based on accepts header

5 lines (3 loc) 90 B
export interface AvailableTypes { [key: string]: (body: object) => string | Buffer }