Gulp HTML Replace
JSON →gulp-html-replace is a Gulp plugin designed for replacing HTML "build blocks" with specified content during a build process. It functions similarly to `useref` but aims for a more robust and correct implementation. The current stable version is 1.6.2. Releases appear to be somewhat infrequent but consistent, primarily focusing on bug fixes, performance improvements to the parsing engine, and minor enhancements. Key differentiators include its flexible replacement patterns, supporting simple strings, arrays of strings, objects with `src` and `tpl` for advanced formatting, and even Vinyl file streams as input. It also offers extended replacements for injecting the current filename (`%f`) and file extension (`%e`) into custom templates.
Traffic · last 30 days ↑50% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany