CoolFace
Apppublic

AK-21/Graphite-Industrial-Intelligence

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
minpath.browser.d.ts47 linesDownload Raw Back to lib
1export namespace minpath {2    export { basename };3    export { dirname };4    export { extname };5    export { join };6    export let sep: string;7}8/**9 * Get the basename from a path.10 *11 * @param {string} path12 *   File path.13 * @param {string | null | undefined} [extname]14 *   Extension to strip.15 * @returns {string}16 *   Stem or basename.17 */18declare function basename(path: string, extname?: string | null | undefined): string;19/**20 * Get the dirname from a path.21 *22 * @param {string} path23 *   File path.24 * @returns {string}25 *   File path.26 */27declare function dirname(path: string): string;28/**29 * Get an extname from a path.30 *31 * @param {string} path32 *   File path.33 * @returns {string}34 *   Extname.35 */36declare function extname(path: string): string;37/**38 * Join segments from a path.39 *40 * @param {Array<string>} segments41 *   Path segments.42 * @returns {string}43 *   File path.44 */45declare function join(...segments: Array<string>): string;46export {};47//# sourceMappingURL=minpath.browser.d.ts.map