UNPKG

t2fsrc

Version:

Transform a string whose value is a template literal and returns a string with the source of a function which receives the variable used in the template and returns the value of the string interpolation

23 lines (12 loc) 471 B
JS String Template to Function Source ====================================== This README will be written soon. To see what it does, take a look to [tests](https://github.com/ifraixedes/jst2fsrc/tree/master/test/test.js) ## Install `npm install t2fsrc` ## Development Lint `npm run -s lin` Test `npm run -s test` Coverage `npm run -s test-cov` ## License MIT, read [LICENSE](https://github.com/ifraixedes/jst2fsrc/blob/master/LICENSE) file for more information.