OBF Node
    Preparing search index...

    Variable ExternalConst

    External: {
        trim_empties(hash: Record<string, any>): Record<string, any>;
        parse_license(pre_license: any): Record<string, any>;
        fix_color(str: string, targetFormat?: "hex" | "rgb"): string;
        to_obf(
            hash: any,
            destPath?: string | null,
            pathHash?: PathHash | null,
            toInclude?: ToIncludeOptions,
        ): Promise<string | null>;
        to_obz(
            content: any,
            destPath: string,
            opts?: { to_include?: ToIncludeOptions },
        ): Promise<string>;
        from_obf(
            obfJsonOrPath: string | OBFPage,
            opts?: { zipper?: JSZip; manifest?: any },
        ): Promise<OBFPage>;
        from_obz(
            obzPath: string,
        ): Promise<{ boards: OBFPage[]; images: OBFImage[]; sounds: OBFSound[] }>;
    } = ...

    Type Declaration

    • trim_empties: function
      • Parameters

        • hash: Record<string, any>

        Returns Record<string, any>

    • parse_license: function
      • Parameters

        • pre_license: any

        Returns Record<string, any>

    • fix_color: function
      • Parameters

        • str: string
        • targetFormat: "hex" | "rgb" = 'rgb'

        Returns string

    • to_obf: function
      • Parameters

        • hash: any
        • destPath: string | null = null
        • pathHash: PathHash | null = null
        • toInclude: ToIncludeOptions = {}

        Returns Promise<string | null>

    • to_obz: function
      • Parameters

        • content: any
        • destPath: string
        • opts: { to_include?: ToIncludeOptions } = {}

        Returns Promise<string>

    • from_obf: function
      • Parameters

        • obfJsonOrPath: string | OBFPage
        • opts: { zipper?: JSZip; manifest?: any } = {}

        Returns Promise<OBFPage>

    • from_obz: function