UNPKG

@dot.indonesia/po-gen

Version:

This project has created to relieve work load as SDET or Automation Test Engineer. You just export the postman collection, and run this generator to write the automation code.

18 lines (17 loc) 633 B
/** * @description Check the file is existed or not * @param {string} path the path for destination * @param {string} fileName filename which want to search * @returns {Promise<Array[boolean, string | null]>} */ export declare function isFileExisted(path: string, fileName: string): Promise<[boolean, string | null]>; /** * @description Check JS module type * @returns {Promise<boolean | string>} */ export declare const existModuleType: () => Promise<boolean | string>; /** * @description Rebuild script package * @returns {Promise<void>} */ export declare const rebuildPackagejson: () => Promise<void>;