micro-nosniff
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Prevent mime type sniffing for ▲ Zeit's Micro

Written in Typescript since v1.1.0

Installation

yarn add micro-nosniff

Usage

import nosniff from 'micro-nosniff'
const handler = (req, res) => send(res, 200, 'ok!')

module.exports = nosniff(handler)

Package Sidebar

Install

npm i micro-nosniff

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

3.83 kB

Total Files

5

Last publish

Collaborators

  • canrau