Skip to content

v3.1.0

Compare
Choose a tag to compare
@marcomontalbano marcomontalbano released this 19 Nov 18:07
· 14 commits to master since this release

Release Notes

  • 📦 Drastically reduce bundle size ~1Mb
  • 🗑️ Clean up dependencies
  • 🕸️ Use html-miner on browser

html-miner on browser

const scriptTag = document.createElement('script');
scriptTag.src = 'https://cdn.jsdelivr.net/npm/html-miner@3.1.0/index.browser.min.js';
scriptTag.onload = function() {
    console.log(
        htmlMiner(document.documentElement.innerHTML, 'h1')
    );
}

document.body.append(scriptTag);