MCPcopy
hub / github.com/less/less.js / Environment

Interface Environment

packages/less/lib/less/environment/environment-api.ts:1–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export interface Environment {
2 /**
3 * Converts a string to a base 64 string
4 */
5 encodeBase64(str: string): string
6 /**
7 * Lookup the mime-type of a filename
8 */
9 mimeLookup(filename: string): string
10 /**
11 * Look up the charset of a mime type
12 * @param mime
13 */
14 charsetLookup(mime: string): string
15 /**
16 * Gets a source map generator
17 *
18 * @todo - Figure out precise type
19 */
20 getSourceMapGenerator(): any
21}

Callers 5

getCSSAppendageMethod · 0.80
data-uri.jsFile · 0.80
data-uri.jsFile · 0.80
data-uri.jsFile · 0.80
constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected