html2js-browserify
JSON →Browserify transform that converts HTML files into JavaScript modules by generating a JS string from the HTML content. Version 1.3.0 is the latest stable release. It integrates with Browserify's transform pipeline, allowing HTML files to be required as strings in Node.js/browser code. Supports optional minification via html-minifier. Differentiates from other HTML require transforms by its simple pass-through of options to html-minifier.
Resources
packagehtml2js-browserify ↗
API endpoints
full doc /v1/registry/html2js-browserify