UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

11 lines (10 loc) 426 B
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;