# @glcarlos/espree-logging-module-lochdeve

> Modulo Espree logging ======

Latest version **1.1.5** (published 2021-04-10) · 0 weekly downloads

## Install

```sh
npm install @glcarlos/espree-logging-module-lochdeve
pnpm add @glcarlos/espree-logging-module-lochdeve
yarn add @glcarlos/espree-logging-module-lochdeve
bun add @glcarlos/espree-logging-module-lochdeve
```

Provides the command `add-logging`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.5 |
| Published | 2021-04-10 |
| First published | 2021-03-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 71.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Carlos Garcia Lezcano |
| Maintainers | glcarlos |
| Keywords | ULL, PL |

## Links

- npm: https://www.npmjs.com/package/@glcarlos/espree-logging-module-lochdeve
- Repository: https://github.com/ULL-ESIT-PL-2021/espree-logging-module-lochdeve
- Homepage: https://github.com/ULL-ESIT-PL-2021/espree-logging-module-lochdeve#readme
- Issues: https://github.com/ULL-ESIT-PL-2021/espree-logging-module-lochdeve/issues
- npm.io page: https://npm.io/package/@glcarlos/espree-logging-module-lochdeve

## Dependencies (4)

- [espree](https://npm.io/package/espree.md) ^7.3.1
- [commander](https://npm.io/package/commander.md) ^7.1.0
- [escodegen](https://npm.io/package/escodegen.md) ^2.0.0
- [estraverse](https://npm.io/package/estraverse.md) ^5.2.0

## Alternatives

- [@snazzah/davey](https://npm.io/package/@snazzah/davey.md) — 1.5M weekly downloads
- [@vendure/testing](https://npm.io/package/@vendure/testing.md) — 8.3K weekly downloads
- [vue-simple-context-menu](https://npm.io/package/vue-simple-context-menu.md) — 6.6K weekly downloads
- [cypress-webpack-preprocessor-v5](https://npm.io/package/cypress-webpack-preprocessor-v5.md) — 2.1K weekly downloads
- [@backstage/plugin-catalog-backend-module-puppetdb](https://npm.io/package/@backstage/plugin-catalog-backend-module-puppetdb.md) — 1.3K weekly downloads

## Recent versions

- 1.1.5 (latest) — 2021-04-10
- 1.1.4 — 2021-04-10
- 1.1.3 — 2021-03-16
- 1.1.2 — 2021-03-16
- 1.1.1 — 2021-03-10
- 1.0.0 — 2021-03-09

## README

Modulo Espree logging
======

## Instalacion

    npm i @glcarlos/espree-logging-module-lochdeve

## Usage
Una vez instalado para hacer uso del ejecutable habra que tener en cuenta las siguientes indicaciones:
```bash
Options:
  -V, --version                            output the version number
  -o, --output <input file> <output file>  Ejecucion
  -h, --help                               Muestra mas informacion sobre las funcionalidades
  -p, --pattern                            Nombre de la funcion  combinar con la opcion -o o --output
  ```
Que son las diferentes opciones de las que dispones para el ejecutable y como podemos ver para usar la opcion pattern tambien hay que hacer uso de la opcion output para poder pasarle los archivos de entrada y salida.
#### Ejemplo
Primero que nada tendremos un archivo creado con el trozo de codigo como el siguiente:

 ```js
function foo(a, b, c) {
  let x = 'tutu';
  let y = function (x) {
    return x * x;
  }(2);
  let z = (e => {
    return e + 1;
  })(4);
  console.log(x, y, z);
}
foo(1, 'wut', 3);
```
Con esta entrada el ejecutable lo que hara es identificar las diferentes funciones que existen en dicho codigo y generar una salida como esta:
```js
function foo(a, b, c) {
    console.log(`Entering foo(${ a },${ b },${ c }) at line 0`);
    let x = 'tutu';
    let y = function (x) {
        console.log(`Entering <anonymous function>(${ x }) at line 2`);
        return x * x;
    }(2);
    let z = (e => {
        console.log(`Entering <anonymous function>(${ e }) at line 5`);
        return e + 1;
    })(4);
    console.log(x, y, z);
}
foo(1, 'wut', 3);
```

### Referencias:

 [RegExp](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp)

 []()

---
_Source: https://npm.io/package/@glcarlos/espree-logging-module-lochdeve · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
