<commit_before>Welcome to **node-terminal**
===================


Node-terminal is an open source deploy for execute basic and advanced **commands with node JS**.

Current version is developed under **TypeScript OOP**, has support for **asynchronous and synchronous** process.

Is based in reactive programming with **RxJS framework** and is able to **interact with I/O buffers of session**.


Let's go developing!
-------------


- First, we need **node-terminal**:

```
npm install tarikcurto.node-terminal
```

```
git clone --branch 1.0.x https://github.com/tarikcurto/node-terminal.git
```


- Next step is **import module** to JS or TypeScript file:
```
const TerminalExecutionService =  require('node-terminal').TerminalExecutionService;
```
```
import {TerminalExecutionService} from 'node-terminal';
```


- **Instance** service:
```
var terminalExecution = new TerminalExecutionService();
```

- Subscribe to **events** of terminal (optional):
```
terminalExecution.terminalExecutionEvent.onMessageEvent((data)=>{
  console.log(data.output);
});
```
<commit_msg>no message<commit_after>Welcome to **node-terminal**
===================


Node-terminal is an open source deploy for execute basic and advanced **commands with node JS**.

Current version is developed under **TypeScript OOP**, has support for **asynchronous and synchronous** process.

Is based in reactive programming with **RxJS framework** and is able to **interact with I/O buffers of session**.


Let's go developing!
-------------


- First, we need **node-terminal**:

```
npm install tarikcurto.node-terminal
```

```
git clone --branch 1.1.x https://github.com/tarikcurto/node-terminal.git
```


- Next step is **import module** to JS or TypeScript file:
```
const TerminalExecutionService =  require('node-terminal').TerminalExecutionService;
```
```
import {TerminalExecutionService} from 'node-terminal';
```


- **Instance** service:
```
var terminalExecution = new TerminalExecutionService();
```

- Subscribe to **events** of terminal (optional):
```
terminalExecution.terminalExecutionEvent.onMessageEvent((data)=>{
  console.log(data.output);
});
```

{'fraction_non_alphanumeric': 0.16814572629612332, 'fraction_numerical': 0.0018682858477347033, 'mean_word_length': 4.95, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '7670371', 'n_tokens_mistral': 642, 'n_tokens_neox': 569, 'n_words': 193}