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

Package detail

@otterhttp/type-is

otterjs41LGPL-3.0-or-later4.0.1TypeScript support: included

TypeScript rewrite of type-is with CJS and ESM targets

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

readme

@otterhttp/type-is

type-is rewrite in TypeScript.

Infer the content-type of a request.

Install

pnpm i @otterhttp/type-is