<commit_before># Language Spawn

Spawn a file process in any programming language based on [language-command](https://github.com/blakeembrey/node-language-command).

## Installation

```
npm install language-spawn --save
```

## Usage

```javascript
var spawn = require('language-spawn');

var test = spawn('JavaScript', 'test.js');

test.stdout.on('data', function (data) {
  console.log(data);
});

test.on('close', function (code) {
  console.log(code);
});
```

## License

MIT
<commit_msg>Add badges<commit_after># Language Spawn

[![NPM version][npm-image]][npm-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Gittip][gittip-image]][gittip-url]

Spawn a file process in any programming language based on [language-command](https://github.com/blakeembrey/node-language-command).

## Installation

```
npm install language-spawn --save
```

## Usage

```javascript
var spawn = require('language-spawn');

var test = spawn('JavaScript', 'test.js');

test.stdout.on('data', function (data) {
  console.log(data);
});

test.on('close', function (code) {
  console.log(code);
});
```

## License

MIT

[npm-image]: https://img.shields.io/npm/v/language-spawn.svg?style=flat
[npm-url]: https://npmjs.org/package/language-spawn
[travis-image]: https://img.shields.io/travis/blakeembrey/node-language-spawn.svg?style=flat
[travis-url]: https://travis-ci.org/blakeembrey/node-language-spawn
[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/node-language-spawn.svg?style=flat
[coveralls-url]: https://coveralls.io/r/blakeembrey/node-language-spawn?branch=master
[gittip-image]: https://img.shields.io/gittip/blakeembrey.svg?style=flat
[gittip-url]: https://www.gittip.com/blakeembrey

{'fraction_non_alphanumeric': 0.18925100057175528, 'fraction_numerical': 0.0, 'mean_word_length': 5.4338235294117645, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 1, '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': '2511810', 'n_tokens_mistral': 644, 'n_tokens_neox': 634, 'n_words': 100}