UNPKG

rjweb-server

Version:

Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS

6 lines (5 loc) 236 B
import { GlobalContext } from "../types/context"; /** * Parse File Name into a Content Type or empty string * @since 4.0.0 */ export default function parseContentType(name: string, customTypes: GlobalContext['contentTypes']): string;