Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@tinyhttp/type-is

tinyhttp485.8kMIT2.2.4TypeScript support: included

TypeScript rewrite of type-is with CJS and ESM targets

tinyhttp, node.js, web framework, web, backend, req, request, type-is, javascript

readme

@tinyhttp/type-is

type-is rewrite in TypeScript.

Infer the content-type of a request.

Install

pnpm i @tinyhttp/type-is