@alu0101254487/addlogging

1.2.10 • Public • Published

NPM Version NPM License

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

Readme

Keywords

none

Package Sidebar

Install

npm i @alu0101254487/addlogging

Weekly Downloads

3

Version

1.2.10

License

MIT

Unpacked Size

1.04 MB

Total Files

41

Last publish

Collaborators

  • alu0101254487