<commit_before>Happy-DB
========
A super lightweight multi-threaded 100% redis compatible no sql database written purely in NodeJS.
Happy-DB uses Redis Protocol, which means that **all** of your existing Redis clients would work correctly with Happy-DB.

#### Installation

```bash
sudo npm install -g happy-db
```

#### Usage

`happy-db Port` Port should be a valid TCP port. For example
```js
happy-db 6379
```

#### Features Supported

 - GET
  - `GET KEY` -> `VALUE`
  - `GET KEY1 KEY2 KEY3 ...` -> `VALUE1 VALUE2 VALUE3`
 - SET
  - `SET KEY VALUE` -> `OK`
  - `SET KEY1 VALUE1 KEY2 VALUE2 KEY3 VALUE3 ...` -> `OK`
 - INCR
  - `INCR KEY` -> `1`
  - `INCR KEY1 KEY2 KEY3` -> `1 1 1`

__Note:__ You will get the multiple values as an array by your Redis client, and single values as string.<commit_msg>:memo: Document Expire and Del<commit_after>Happy-DB
========
A super lightweight multi-threaded 100% redis compatible no sql database written purely in NodeJS.
Happy-DB uses Redis Protocol, which means that **all** of your existing Redis clients would work correctly with Happy-DB.

#### Installation

```bash
sudo npm install -g happy-db
```

#### Usage

`happy-db Port` Port should be a valid TCP port. For example
```js
happy-db 6379
```

#### Features Supported

 - GET
  - `GET KEY` -> `VALUE`
  - `GET KEY1 KEY2 KEY3 ...` -> `VALUE1 VALUE2 VALUE3`
 - SET
  - `SET KEY VALUE` -> `OK`
  - `SET KEY1 VALUE1 KEY2 VALUE2 KEY3 VALUE3 ...` -> `OK`
 - INCR
  - `INCR KEY` -> `1`
  - `INCR KEY1 KEY2 KEY3 ...` -> `1 1 1`
 - EXPIRE
  - `EXPIRE KEY TIMEOUT` -> `OK`
  - `EXPIRE KEY1 TIMEOUT1 KEY2 TIMEOUT2 ...` -> `OK`
 - DEL
  - `DEL KEY` -> `1`
  - `DEL KEY1 KEY2 KEY3 ...` -> `3`
__Note:__ You will get the multiple values as an array by your Redis client, and single values as string.
{'fraction_non_alphanumeric': 0.14373601789709173, 'fraction_numerical': 0.03411633109619687, 'mean_word_length': 3.0475113122171944, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 0, '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': '1100587', 'n_tokens_mistral': 658, 'n_tokens_neox': 610, 'n_words': 245}