reduce-function-call
Reduce function calls in a string, using a callback
Professionally supported reduce-function-call is now available
Installation
npm install reduce-function-call
Usage
var reduceFunctionCall = // "2" var { // ignore empty value if body === "" return functionIdentifier + "()" return body} // "bar()" // "BAZ" // "20 and other things"
See unit tests for others examples.
Contributing
Work on a branch, install dev-dependencies, respect coding style & run tests before submitting a bug fix or a feature.
git clone https://github.com/MoOx/reduce-function-call.gitgit checkout -b patch-1npm installnpm test
Changelog
License
Security contact information
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.