0.3.0 • Published 5 years ago
@alu0101240374/espree-logging-module-alu0101240374 v0.3.0
Add Logging =========
A small library providing utility methods adding logs
Installation
npm install addLogging --saveUsage
let {addLogging} = require('addLogging')
let code = `console.log('html', html, 'escaped', escaped, 'unescaped', unescaped);`
let logAdded = addLogging(code);Input:
function foo(a) {
  return a
}
foo();Output
function foo(a) {
  console.log(`Entering foo(${ a }) at line 1`);
  return a;
}
foo();Executable usage
For execution write:
$ ./espree-logging-module-alu0101240374-linuxUsage: logging-espree-CLI [opciones] <nombreFicheroEntrada>
espree logging module
Options:
  -V, --version            output the version number
  -o, --output <filename>  asigna un fichero donde se guardara la salida
  -p --pattern <patttern>  añadira los mensajes a las funcionas que tengan ese pattern
  -h, --help               display help for commandTests
npm testContributing
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
 - 0.2.0
 - 0.2.1
 - 0.2.2
 - 0.3.0