1.2.0 • Published 3 years ago

@alu0101233598/espree-logging v1.2.0

Weekly downloads
60
License
-
Repository
-
Last release
3 years ago

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 --save

Usage

const { addLogging } = require('@alu0101233598/espree-logging');
const code = `function foo(a, b) {
var x = 'blah';
}`;
addLogging(code);

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.2.0 Added colorized ouput
  • 1.1.0 Added RegEx support
  • 1.0.0 Initial release
1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago