Convert HTML documents to shaven arrays
npm install --save html2shaven
As a Javascript module:
const fs = require('fs')
const html2shaven = require('./index.js')
let htmlString = fs.readFileSync('document.html', 'utf8')
let shavenArray = html2shaven(htmlString)
On the command line:
html2shaven < document.html > document.json5