1.2.0 • Published 5 years ago
@alu0101233598/espree-logging v1.2.0
espree-logging
A small library providing the addLogging utility, which adds logging messages to all declared functions in a given JavaScript code.
Installation
npm install @alu0101233598/espree-logging --saveUsage
const { addLogging } = require('@alu0101233598/espree-logging');
const code = `function foo(a, b) {
var x = 'blah';
}`;
addLogging(code);Tests
npm testContributing
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.
Release History
1.2.0Added colorized ouput1.1.0Added RegEx support1.0.0Initial release