<commit_before># Stream Magic
Converts any variable into a stream

## What it does
Stream Magic extends the prototypes of all variable types within Node.JS with a `.toStream()` method, which lets you easily transform objects and variables into streams.

#### Simple usage
```Javascript
// Require the module and run it to add the .toStream() module to the prototypes
require('stream-magic')();

// Logs 'hello world' to stdout (the console)
var myString = 'hello world';
var myStream = myString.toStream();
myStream.pipe(process.stdout);

// Or shorter
'hello world'.toStream().pipe(process.stdout)
```
<commit_msg>Added `npm install` command to readme<commit_after># Stream Magic
Converts any variable into a stream

## What it does
Stream Magic extends the prototypes of all variable types within Node.JS with a `.toStream()` method, which lets you easily transform objects and variables into streams.

#### Installation
You can install Stream Magic using NPM

```
$ npm install streammagic
```

#### Usage
Essentially the entire module is just one function that attatches the `.toStream()` method to the prototypes. So to use it, simply require it and run the function once.
```Javascript
require('stream-magic')();
```

Once this is done, the `.toStream()` method should be available on all variables.

```Javascript
// Logs 'hello world' to stdout (the console)
var myString = 'hello world';
var myStream = myString.toStream();
myStream.pipe(process.stdout);

// Or shorter
'hello world'.toStream().pipe(process.stdout)
```

{'fraction_non_alphanumeric': 0.1079136690647482, 'fraction_numerical': 0.0, 'mean_word_length': 4.9073359073359075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '697963', 'n_tokens_mistral': 437, 'n_tokens_neox': 408, 'n_words': 191}