Add logging statements to JavaScript code
npm install @alu0101233598/espree-loggingespree-logging
=========
A small library providing the addLogging utility, which adds logging messages to all declared functions in a given JavaScript code.
``bash`
npm install @alu0101233598/espree-logging --save
`jsfunction foo(a, b) {
const { addLogging } = require('@alu0101233598/espree-logging');
const code =
var x = 'blah';
};`
addLogging(code);
`bash`
npm test
In lieu of a formal styleguide, take care to maintain the existing coding style.
Add unit tests for any new or changed functionality. Lint and test your code.
* 1.2.0 Added colorized ouput1.1.0
* Added RegEx support1.0.0` Initial release
*