Run multiple regex or string find-and-replace transformations on a string in sequence, reducing the final string to the accumulated result of all transformations.
MIT License
Get the index for each occurrence of a string. Useful for debugging and getting the location of a...
Generate RegExp for delimiters, to be used with templates, YAML front matter, files or data streams.
Does one simple thing - gets the flags from a regular expression. Useful for cloning and any libr...
Async reduce.
Count the lines in a string.
Build regular expression groups from arrays of strings. Useful when you need to automatically gen...
Replace only specific occurrences of a string. e.g. if the string exists 10 times, you can replac...
Easily prepend, append, inject or replace 'sections' in a markdown string.
Recursively resolve templates in an object, string or array.
A find and replace utility. Modify strings by passing an array of RegExp or string replacement pa...
A find and replace Grunt plugin, based on frep. Replace strings with an array or object of RegExp...
Remove extra newlines in a string.
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Replace placeholder values in a file path.
Generate template delimiters for string interpolation.