1.3.0 • Published 3 years ago

@0ria/addlogging v1.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Espree-Logging module

A 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.

Instalation

npm install @0ria/addlogging --save

Usage

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---`);
console.log(`output:\n${output}\n---`);

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

  • 0.1.0 Initial release
1.2.3

3 years ago

1.2.2

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.2.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago