jonschlinkert/aggregate-styles
Find style and link tags in HTML, consolidate and append them to the <head> tag.
Make a NPM package name safe to be used as a JavaScript variable name. Works well as a mixin in Yeoman generators.
This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.
Find style and link tags in HTML, consolidate and append them to the <head> tag.
Find script tags in HTML, consolidate and append them to the <body> tag.
Template engine library with fast, synchronous rendering, based on consolidate.
Replace only specific occurrences of a string. e.g. if the string exists 10 times, you can replace, say, the 3rd and 8th occurrences only, etc. Returns a new string with nth specific matches of a pattern replaced by a replacement. The pattern can be a string or a RegExp, and the replacement can be a string or a function to be called for each match.