<commit_before># anyrun

Transparent command runner library &command runner tool.

This project is an experiment.


## Requirement

- node >= 0.11.x

You must use the `--harmony` flags when running node 0.11.x


## Installation

```
    $ npm install anyrun
```

## Example


## API

### anyrun([host])

Return a new `AnyRun` instance.

- `host`:


### AnyRun#run(cmd, cb)

- `cmd`:
- `cb`:


## Test

```
    $ make test
```

## License

[MIT license](http://www.opensource.org/licenses/mit-license.php).

See the `LICENSE`.


## TODO


<commit_msg>Update api and example<commit_after># anyrun

Transparent command runner library &command runner tool.

This project is an experiment.


## Requirement

- node >= 0.11.x

You must use the `--harmony` flags when running node 0.11.x


## Installation

```
$ npm install anyrun
```

## Example

```javascript
var runner = anyrun();
runner.host('localhost');
runner.run('uname -u', function (err, stdout, stderr) {
  console.log('uname done');
}).run('echo "Hello world"', function (err, stdout, stderr) {
  console.log('echo done');
});
```

## API

### anyrun()

Return a new `AnyRun` instance.

### AnyRun#host(name)

- `name`: hostname

### AnyRun#run(cmd, cb)

- `cmd`: the command string
- `cb`: the callback `cb(err, stdout, stderr)`


## Test

```
    $ make test
```

## License

[MIT license](http://www.opensource.org/licenses/mit-license.php).

See the `LICENSE`.


## TODO



{'fraction_non_alphanumeric': 0.17433751743375175, 'fraction_numerical': 0.008368200836820083, 'mean_word_length': 3.570063694267516, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3034521', 'n_tokens_mistral': 537, 'n_tokens_neox': 497, 'n_words': 143}