UNPKG

easy-cli2

Version:

一个简易的脚手架,提供eslint格式化检查,创建项目模板,自动部署功能,xlsx与json互转,压缩图片等功能

11 lines (10 loc) 421 B
export declare const loadFile: <T = {}>(path: string, system?: boolean) => false | T | undefined; export declare const existsFile: (path: string, system?: boolean) => boolean; /** * @description: 写入文件 * @param {string} path * @param {string} fileName * @param {string} file * @return {*} */ export declare const writeFile: (path: string, fileName: string, file: object, system?: boolean) => void;