# 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](#variable).

All views are accessed are accessed during [replaceAllMustaches()](#replaceallmustaches), which looks at the base class's static collection.

## Variable
The variables that fill a [VariableView](#variableview), consisting of a key and a value

## replaceAllMustaches
The main function: iterates over the static collection of the [VariableView](#variableview) class, including all of the [Variables](#variable) created.

# updating
I wrote myself instructions, based on a video: https://www.npmjs.com/package/sow-test-package