JSSoup
JSSoup copied to clipboard
Serializing jssoup back into writable format for fs
I added some attirbutes to the html page using jssoup.
If i want to convert it back to fs writable object, how should i do it?
I believe what you're looking for is this: https://www.npmjs.com/package/jssoup#user-content-output
Simply call soup.prettify()