Function realpath

  • Asynchronous realpath. The callback gets two arguments (err, resolvedPath). May use process.cwd to resolve relative paths.

    Parameters

    • path: PathLike
    • Optionalcb: Callback<[string]>

    Returns void

  • Parameters

    • path: PathLike
    • options: EncodingOption
    • cb: Callback<[string]>

    Returns void