1.0.0 • Published 7 years ago
replace-tokens v1.0.0
replace-tokens
Replaces tokens in a string using key value pairs.
NB: Utilises [Array.prototype.reduce()](https://mzl.la/1a2wTEJ)
. If you plan on having this code work with IE9 or below, please include your own polyfill within your application for this function.
1.0.0
7 years ago