<commit_before>env-parser
==========

Streaming environment variable parser

Transform module to handle single properly formed key=value pairs and create
javascript objects from them. Will split on first = and remove quotation from
value if present.

## Examples

Require module

```js
var envParser = require('env-parser')()
```

Listen for data events
```js
envParser.on('data', function (envObjec) {
  //do something with env object which will look like
  // { key: 'ENV_KEY', value: 'some value' }
})
```

Write env data
```js
envParser.write('ENV_KEY="some value"')

//or

envParser.write('ENV_KEY=some value')
```
<commit_msg>Add travis badge<commit_after>[![Build Status](https://travis-ci.org/digitalsadhu/env-parser.svg?branch=master)](https://travis-ci.org/digitalsadhu/env-parser)

env-parser
==========

Streaming environment variable parser

Transform module to handle single properly formed key=value pairs and create
javascript objects from them. Will split on first = and remove quotation from
value if present.

## Examples

Require module

```js
var envParser = require('env-parser')()
```

Listen for data events
```js
envParser.on('data', function (envObjec) {
  //do something with env object which will look like
  // { key: 'ENV_KEY', value: 'some value' }
})
```

Write env data
```js
envParser.write('ENV_KEY="some value"')

//or

envParser.write('ENV_KEY=some value')
```

{'fraction_non_alphanumeric': 0.14163090128755365, 'fraction_numerical': 0.0, 'mean_word_length': 4.953191489361702, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7261327', 'n_tokens_mistral': 435, 'n_tokens_neox': 417, 'n_words': 142}