@visulima/path
Version:
Drop-in replacement of the Node.js path module.
8 lines (7 loc) • 409 B
TypeScript
import type NodePath from "node:path";
export { basename, delimiter, dirname, extname, format, isAbsolute, join, matchesGlob, normalize, normalizeString, parse, relative, resolve, sep, toNamespacedPath, } from "./path.d.ts";
export type Path = Omit<typeof NodePath, "posix" | "win32">;
export declare const posix: Path;
export declare const win32: Path;
declare const _default: Path;
export default _default;