function contentTypeFor Since 0.1.0 contentTypeFor(path: string): string Returns the content type for a file based on its extension. Parameters path: string The file path Return Type string The content type, or 'application/octet-stream' if unknown