UNPKG

fs-utils-sync

Version:

The fs-utils-sync package provides a collection of well-tested, synchronous file system utility functions. It promotes consistency and readability across projects by providing a unified approach to common file operations, saving you development time and i

6 lines (5 loc) 250 B
type IErrorCode = 'NOT_A_DIRECTORY' | 'NON_EXISTENT_DIRECTORY' | 'DIRECTORY_ALREADY_EXISTS' | 'NON_EXISTENT_FILE' | 'NOT_A_FILE' | 'FILE_CONTENT_IS_EMPTY_OR_INVALID'; declare const ERRORS: { [key in IErrorCode]: IErrorCode; }; export { ERRORS };