UNPKG

@comyata/fe

Version:

Execute YAML and JSON files like programs and get clean data to work with as result.

6 lines (5 loc) 268 B
/** * Replacement for `path.extname`, with the difference that it supports windows or posix style paths consistently. * For same behaviour as `path.posix` set `strictPosix` to `true`. */ export declare function extname(path: string, strictPosix?: boolean): string;