<commit_before>flow-stringify
==============

Thin wrapper for [JSONStream](https://github.com/dominictarr/JSONStream) stringify.


## Installation

``` bash
$ npm install flow-stringify
```


## Examples

``` javascript
var sStream = require( 'flow-stringify' );

// Create a new stream, passing along an optional error handler:
var stream = sStream()
	.stream( onError );

// Setup the pipeline:
stream.pipe( process.stdout );

// Write data to the stream:
stream.write( { 'x': 0, 'y': 0 } );
stream.end();

// Error handler:
function onError( error ) {
	if ( error ) {
		console.error( error.stack );
		throw new Error( 'Error!!!' );
	}
}
```

## Tests

Unit tests use the [Mocha](http://visionmedia.github.io/mocha) test framework with [Chai](http://chaijs.com) assertions.

Assuming you have installed Mocha, execute the following command in the top-level application directory to run the tests:

``` bash
$ mocha
```

All new feature development should have corresponding unit tests to validate correct functionality.


## License

[MIT license](http://opensource.org/licenses/MIT). 


---
## Copyright

Copyright &copy; 2014. <NAME>.
<commit_msg>Update Mocha link<commit_after>flow-stringify
==============

Thin wrapper for [JSONStream](https://github.com/dominictarr/JSONStream) stringify.


## Installation

``` bash
$ npm install flow-stringify
```


## Examples

``` javascript
var sStream = require( 'flow-stringify' );

// Create a new stream, passing along an optional error handler:
var stream = sStream()
	.stream( onError );

// Setup the pipeline:
stream.pipe( process.stdout );

// Write data to the stream:
stream.write( { 'x': 0, 'y': 0 } );
stream.end();

// Error handler:
function onError( error ) {
	if ( error ) {
		console.error( error.stack );
		throw new Error( 'Error!!!' );
	}
}
```

## Tests

Unit tests use the [Mocha](http://mochajs.org/) test framework with [Chai](http://chaijs.com) assertions.

Assuming you have installed Mocha, execute the following command in the top-level application directory to run the tests:

``` bash
$ mocha
```

All new feature development should have corresponding unit tests to validate correct functionality.


## License

[MIT license](http://opensource.org/licenses/MIT). 


---
## Copyright

Copyright &copy; 2014. <NAME>.

{'fraction_non_alphanumeric': 0.1503267973856209, 'fraction_numerical': 0.00522875816993464, 'mean_word_length': 4.079646017699115, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1710030', 'n_tokens_mistral': 735, 'n_tokens_neox': 674, 'n_words': 228}