UNPKG

noob-ethereum

Version:
16 lines 731 B
/** * Create JSON file from provided data and save to a directory of your choice * @param {any} obj - Any data that can be stringified * @param {string} filename - my_file * @param {string} pathFromRoot - /src/destination_folder */ declare function exportToJSONFile(obj: any, filename: string, pathFromRoot: string): void; /** * Create Text file from provided data and save to a directory of your choice * @param {any} obj - data (could be a buffer) * @param {string} filename - my_file * @param {string} pathFromRoot - /src/destination_folder */ declare function exportToTextFile(obj: any, filename: string, pathFromRoot: string): void; export { exportToJSONFile, exportToTextFile }; //# sourceMappingURL=export.d.ts.map