<commit_before># Logger for NodeJS

## Design

- Agnostic logger for NodeJS
- Works on NodeJS and browser

## Objectives



- Log on different levels
- Support streams
- Support dependency injection
- Support metrology
- Support instanciation<commit_msg>WIP - Update the README.md<commit_after># Logger for NodeJS

## Getting started

### Installation

```bash
# Install the current node versio:
nvm install

# Install node dependencies
npm install

# Perform the tests
npm test
```

### Require the module

```json
{
  "dependencies": {
    "logger": "git+https://04f5b04a0a707afbdcb70cf1c093471dfabc34c4:x-oauth-basic@github.com/transcovo/logger.git#1.0.0"
  }
}
```

TODO: create the npm repository

## Logging

{'fraction_non_alphanumeric': 0.10504201680672269, 'fraction_numerical': 0.03361344537815126, 'mean_word_length': 4.335820895522388, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2689837', 'n_tokens_mistral': 263, 'n_tokens_neox': 240, 'n_words': 68}