find a solution (non-node environment) to extract the class style from the css file introduced by the page and convert it into the inline style style, of the tag, for example:
put the following format
<html>
<head>
<style>
p { color: red; }
</style>
<link rel="stylesheet" href="style.css">
</head>
<body>
Test
</body>
</html>
style.css
p {
text-decoration: underline;
}
convert to:
<html>
<head>
</head>
<body>
<p style="color: red; text-decoration: underline;">Test
</body>
</html>