Browserify transform to require() text files (HTML, templates, etc.) as strings in client-side JavaScript. Version 5.2.0 is the latest release; the package is no longer actively maintained by the author but accepts PRs. It supports Node >=4.0.0 (tested up to 8.1.3). Key differentiators: simple setup, optional minification via html-minifier, Node.js require hook. Alternatives like brfs or rawify are more actively maintained.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package is CommonJS only; no ESM or default export.
Called after requiring stringify as shown.
The transform must be passed as a function, not a string, and MUST be called before .add()
Shows how to use stringify with Browserify to bundle HTML files as strings.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.
No traffic data recorded yet.