HtmlSaveOptions.exportTextInputFormFieldAsText property. Controls how text input form fields are saved to HTML or MHTML... rmSync ( imagesDir , { recursive : true , force : true });...mkdirSync ( imagesDir , { recursive : true }); // Set an option...