routie dev init since i didn't adhere to any proper guidance up until now

This commit is contained in:
2026-04-29 22:27:29 -06:00
commit e1dabb71e2
15301 changed files with 3562618 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
export type Options = {
/**
* The CWD for the operation.
* @default "." (process.cwd)
*/
cwd?: string;
/**
* The last directory to traverse.
*
* > [NOTE]
* > This directory is INCLUSIVE.
*
* @default "/"
*/
last?: string;
};
/**
* Get all parent directories of {@link base}.
* Stops after {@link Options['last']} is processed.
*
* @returns An array of absolute paths of all parent directories.
*/
export declare function up(base: string, options?: Options): string[];