1.1.0 • Published 4 years ago
micro-nosniff v1.1.0
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)