
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@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
The npm package @eraa-in/html2json receives a total of 0 weekly downloads. As such, @eraa-in/html2json popularity was classified as not popular.
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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.