Use Node.js to Edit HTML Files

895 views Asked by At

I have searched around quiet a bit but failed to find a solution to my specific scenario.

I have used Cheerio module to parse a bunch of html pages, ut what i couldnt do is edit or add HTML code to the parsed html. I would like to automatically edit headings and links for each page by their Class or ID and save that HTML page the way its been edited. If it could be done with just Cherrio/FS, thatd be awesome, but if I require some other modules for this task, kindly enlighten me.

0

There are 0 answers