
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@eraa-in/html2json
Advanced tools
HTML to JSON and JSON to HTML Converter
npm i @eraa-in/html2json
You can either import all of @eraa-in/utils, or just the parts you need.
import {html2json, json2html} from "@eraa-in/html2json"
let htm = `<img src="hoge.png"/>
<ul>
<div class="red-color" style="background: red; font-size: 12px;">Some Pre Text</div>
<br />
<li>List 1</li>
<li>List 2</li>
Some Post Text
</ul>`;
const r = html2json(htm);
console.log(r);
console.log(json2html(r));
FAQs
HTML to JSON and JSON to HTML Converter
We found that @eraa-in/html2json demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.