replace-all-mustaches
v0.0.7
Published
Replace all mustache templates in a string, including recursive mustache values
Readme
replace-all-mustaches
Replace all mustache templates in a string, including recursive mustache values
install
npm i replace-all-mustaches
elements
VariableView
A mustache view containing any number of variables.
All views are accessed are accessed during replaceAllMustaches(), which looks at the base class's static collection.
Variable
The variables that fill a VariableView, consisting of a key and a value
replaceAllMustaches
The main function: iterates over the static collection of the VariableView class, including all of the Variables created.
