UNPKG

@tinyhttp/type-is

Version:

TypeScript rewrite of type-is with CJS and ESM targets

8 lines 298 B
/** * Compare a `value` content-type with `types`. * Each `type` can be an extension like `html`, * a special shortcut like `multipart` or `urlencoded`, * or a mime type. */ export declare const typeIs: (value: string, ...types: string[]) => string | false; //# sourceMappingURL=index.d.ts.map