HTML to JSON parser
npm install himalaya-wxml> Parse HTML into JSON




Try online 🚀
|
Read the specification 📖
bash
npm install himalaya
``js
import fs from 'fs'
import {parse} from 'himalaya'
const html = fs.readFileSync('/webpage.html', {encoding: 'utf8'})
const json = parse(html)
console.log('👉', json)
`$3
Download himalaya.js and put it in a