yahoo-finance2
Version:
JS API for Yahoo Finance
25 lines • 627 B
TypeScript
import type { ParsedPath } from "../types.js";
export type { ParsedPath } from "../types.js";
/**
* Return a `ParsedPath` object of the `path`.
*
* @example Usage
* ```ts
* import { parse } from "@std/path/posix/parse";
* import { assertEquals } from "@std/assert";
*
* const path = parse("/home/user/file.txt");
* assertEquals(path, {
* root: "/",
* dir: "/home/user",
* base: "file.txt",
* ext: ".txt",
* name: "file"
* });
* ```
*
* @param path The path to parse.
* @returns The parsed path object.
*/
export declare function parse(path: string): ParsedPath;
//# sourceMappingURL=parse.d.ts.map