@alu0101254487/addlogging
v1.2.10
Published
Práctica npm Module
Downloads
34
Readme
addLogging
A minimal node module providing utility methods to add logging
message to a given JavaScript function.
Installation
Locally
npm install @alu0101254487/addlogging
Globally
npm install -g @alu0101254487/addlogging
Usage
const test = require('@alu0101254487/addlogging');
const input =
`function foo(a, b) {
var x = 'blah';
}`;
test.addLogging(input);
add-logging <input> [options]
Práctica npm Module
Options:
-V, --version output the version number
-o, --output <filename> Output file of the program
-p, --pattern <pattern> Pattern used
-h, --help display help for command
Tests
npm test
Contributing
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.0.0 Initial release
- 1.1.0 Executable functionality
- 1.2.0 Pattern added
- 1.2.1 Documentation
- 1.2.2 Bug fixes