<commit_before># cron-builder
A simple JavaScript module for building cron expressions.

### API
To initialize the cron builder (default expression is set to `* * * * * *`)

```JavaScript
var cb = require('/path/to/cron-builder.js'),
    cronExp = new cb();
```

To return the cron expression at any given time:
```JavaScript
cronExp.build();
// '* * * * * *'
```

API includes basic getters and setters:
```JavaScript
cronExp.get('minute');
// '*'
cronExp.set('5,35', 'minute');
// '5,35'
cronExp.get('minute');
// '5,35'
cronExp.build();
// '5,35 * * * * *'
```

Add or remove values one at a time:
```JavaScript
cronExp.addValue('2', 'hour');
cronExp.addValue('4', 'monthOfTheYear');
cronExp.addValue('10', 'monthOfTheYear');
cronExp.build();
// '5,35 2 * 4,10 * *'
<commit_msg>readme update<commit_after># cron-builder
A simple JavaScript module for building cron expressions.

### API
To instantiate the cron builder:

```JavaScript
var cb = require('/path/to/cron-builder.js');
var cronExp = new cb();
// (default expression is set to "* * * * * *")
// optionally, pass in a cron expression to override the default:
var myCronExp = new cb('5 12 * * 1-5 *')
```

To return the cron expression at any given time:
```JavaScript
cronExp.build();
// '* * * * * *'
```

API includes basic getters and setters:
```JavaScript
cronExp.get('minute');
// '*'
cronExp.set('5,35', 'minute');
// '5,35'
cronExp.get('minute');
// '5,35'
cronExp.build();
// '5,35 * * * * *'
```

Add or remove values one at a time:
```JavaScript
cronExp.addValue('2', 'hour');
cronExp.addValue('4', 'monthOfTheYear');
cronExp.addValue('10', 'monthOfTheYear');
cronExp.build();
// '5,35 2 * 4,10 * *'

{'fraction_non_alphanumeric': 0.20430107526881722, 'fraction_numerical': 0.03046594982078853, 'mean_word_length': 4.368589743589744, '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': '3885244', 'n_tokens_mistral': 651, 'n_tokens_neox': 591, 'n_words': 164}