diff options
Diffstat (limited to 'node_modules/jiti/dist/utils.d.ts')
| -rw-r--r-- | node_modules/jiti/dist/utils.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/jiti/dist/utils.d.ts b/node_modules/jiti/dist/utils.d.ts new file mode 100644 index 0000000..1a823bf --- /dev/null +++ b/node_modules/jiti/dist/utils.d.ts @@ -0,0 +1,8 @@ +import type { PackageJson } from "pkg-types"; +export declare function getCacheDir(): string; +export declare function isDir(filename: string): boolean; +export declare function isWritable(filename: string): boolean; +export declare function md5(content: string, len?: number): string; +export declare function detectLegacySyntax(code: string): RegExpMatchArray | null; +export declare function isObject(val: any): boolean; +export declare function readNearestPackageJSON(path: string): PackageJson | undefined; |