0.0.1 • Published 8 years ago

recursive-replacement v0.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

RecursiveReplacement.js

This will be a simple JavaScript file for recursively making replacements inside of strings.

For example, you might replace

"Bob has a {object}"

Where {object} can be given the value:

"can of {color} paint"

And {color} could be "red".

Leaving you with the sentance:

Bob has a can of red paint

Development Notes:

I've added a docker-compose file that will automatically bring up gulp and run a gulp task called watch. To update NPM dependencies, change package.json and rebuild the container with something like docker-compose up --build.