1.4.1 • Published 3 years ago

@alu0101137902/espree-logging-module-christiantorresgonzalez v1.4.1

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

Description

In this module, you will find the code that allow you to add a console.log code, with the name of the function (remember that this could be function declaration, expression, o anonymous fcuntion). Also you can apply a filter that allow you find a function whit the pattern that you indicate by command line

Installation

npm i @alu0101137902/espree-logging-module-christiantorresgonzalez

Usage

./addLoggingExec.js -i inputFile.js 

Tests

npm test

Parameters

-o OutputFile.js (archivo de salida, en caso de no indicarlo, se mostrara por consola)
-p pattern (patron por el cual queremos que busque el nombre de nuestra funcion)

History version

0.1.0 Inicial version, with the code without pattern
1.3.0 Module with pattern
1.4.0 Module with exit to other file or exit in the console
1.4.1 Module with documentation