nsuite - v1.0.1
    Preparing search index...

    Function getFilePath

    • Converts a file URL to a file path.

      Parameters

      • metaUrl: string

        The file URL to convert.

      Returns string

      The file path corresponding to the given file URL.

      import { getFilePath } from "nsuite";
      const __filename = getFilePath(import.meta.url);