PL Assignment npm module
npm install @0ria/addloggingA small library created for an assignment that has some methods to add a console.log() showing the name and some info about a function when entering to it in nodejs.
npm install @0ria/addlogging --save
``
let espreelog = require('@0ria/addlogging');
const input =
let result = function foo(a, b) {
let x = 'blah';
}
foo(1, 'wut', 3);;
const output = espreelog.addLogging(input);
console.log(input:\n${input}\n---);output:\n${output}\n---
console.log();``
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.
* 0.1.0 Initial release