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) 255 B
import GlobalContext from "../types/internal/classes/GlobalContext"; /** * Parse File Name into a Content Type or empty string * @since 4.0.0 */ export default function parseContentType(name: string, customTypes: GlobalContext['contentTypes']): string;