UNPKG

@flex-development/pathe

Version:

Universal drop-in replacement for node:path

25 lines (24 loc) 630 B
/** * @file pathe * @module pathe/pathe */ import type { Pathe, PosixPlatformPath, WindowsPlatformPath } from '@flex-development/pathe'; /** * POSIX utilities for working with file and directory paths. * * @const {PosixPlatformPath} posix */ declare const posix: PosixPlatformPath; /** * Windows utilities for working with file and directory paths. * * @const {WindowsPlatformPath} win32 */ declare const win32: WindowsPlatformPath; /** * Utilities for working with directory paths, file paths, and file extensions. * * @const {Pathe} pathe */ declare const pathe: Pathe; export { pathe as default, posix, win32 };