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

    Variable export=

    "export=": {
        CHANNEL_ENV_CHANGED: string;
        CHANNEL_FILE_CHANGED: string;
        channels: { envChanged: Channel<any, any>; fileChanged: Channel<any, any> };
        clear: () => void;
        configure: (options: { pollInterval?: number }) => void;
        fetch: (file: string, root: string) => LoadedTree | null;
        getOrLoad: (
            file: string,
            root: string,
            load: () => Promise<LoadedTree>,
        ) => Promise<LoadedTree>;
        getOrLoadSync: (
            file: string,
            root: string,
            load: () => LoadedTree,
        ) => LoadedTree;
        invalidate: (file: string) => void;
        poll: () => void;
        size: () => number;
        watchEnv: (
            file: string,
            root: string,
            names: Set<string>,
            values: Record<string, string | undefined>,
            opts: DotenvOptions,
        ) => void;
    }

    Type Declaration

    • CHANNEL_ENV_CHANGED: string
    • CHANNEL_FILE_CHANGED: string
    • channels: { envChanged: Channel<any, any>; fileChanged: Channel<any, any> }
    • clear: () => void
    • configure: (options: { pollInterval?: number }) => void
    • fetch: (file: string, root: string) => LoadedTree | null
    • getOrLoad: (
          file: string,
          root: string,
          load: () => Promise<LoadedTree>,
      ) => Promise<LoadedTree>
    • getOrLoadSync: (file: string, root: string, load: () => LoadedTree) => LoadedTree
    • invalidate: (file: string) => void
    • poll: () => void
    • size: () => number
    • watchEnv: (
          file: string,
          root: string,
          names: Set<string>,
          values: Record<string, string | undefined>,
          opts: DotenvOptions,
      ) => void