Sha256: 2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6
Contents?: true
Size: 561 Bytes
Versions: 32
Compression:
Stored size: 561 Bytes
Contents
/// <reference types="node" /> interface MIMEType { type: string subtype: string parameters: Map<string, string> essence: string } /** * Parse a string to a {@link MIMEType} object. Returns `failure` if the string * couldn't be parsed. * @see https://mimesniff.spec.whatwg.org/#parse-a-mime-type */ export function parseMIMEType (input: string): 'failure' | MIMEType /** * Convert a MIMEType object to a string. * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type */ export function serializeAMimeType (mimeType: MIMEType): string
Version data entries
32 entries across 32 versions & 4 rubygems