@tbela99/css-parser
    Preparing search index...

    Function load

    • load file or url

      Parameters

      • url: string
      • currentDirectory: string = '.'
      • responseType: boolean | ResponseType = false

      Returns Promise<string | ArrayBuffer | ReadableStream<Uint8Array<ArrayBufferLike>>>

      Error file not found

      import {load, ResponseType} from '@tbela99/css-parser';
      const result = await load(file, '.', ResponseType.ArrayBuffer) as ArrayBuffer;