node-cooper - v0.2.0
    Preparing search index...

    Interface Context

    interface Context {
        env: Record<string, string>;
        file: string | undefined;
        importing: string[];
        importSchemes: Record<string, (rest: string) => unknown>;
        loadedFiles: Set<string>;
        loadedGlobs: Glob[];
        parseEnvNames: Set<string>;
        privateByScope: Map<string, Map<string, unknown>>;
        privateVars: Map<string, unknown>;
        publicVars: Map<string, unknown>;
        root: string;
        scope: string;
    }
    Index
    env: Record<string, string>
    file: string | undefined
    importing: string[]

    the chain of files being loaded, for cycle detection

    importSchemes: Record<string, (rest: string) => unknown>
    loadedFiles: Set<string>

    every real file the load read, for cache fingerprinting

    loadedGlobs: Glob[]

    every filesystem import's expansion, for cache fingerprinting

    parseEnvNames: Set<string>

    ${NAME}s read while parsing (guards, import paths)

    privateByScope: Map<string, Map<string, unknown>>

    every file's privates, by scope

    privateVars: Map<string, unknown>

    this file's own @*name declarations

    publicVars: Map<string, unknown>

    the shared @name environment

    root: string

    directory a bare import resolves against

    scope: string

    this file's identity (scopeId)