gulp-entwine
Turn your string to string functions into gulp plugins
Usage
Given a function with a single string parameter that returns a string:
const repeat = { return input + input;};
Easily turn it into a gulp plugin using entwine:
const gulp = ;const entwine = ;const repeat = ; gulp;
API
entwine(transformer, options)
transformer
- A function with a single string parameter that returns a string.options.pluginName
- Used in the message when an error is emitted. Defaults to 'entwine'.