typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
11 lines (10 loc) • 426 B
TypeScript
export declare function toPortablePath(filepath: string): string;
/**
* Create deterministic valid database name (class, database) of fixed length from any filepath. Equivalent paths for windows/posix systems should
* be equivalent to enable portability
*/
export declare function filepathToName(filepath: string): string;
/**
* Cross platform isAbsolute
*/
export declare function isAbsolute(filepath: string): boolean;