<commit_before>date-events
==================

Instance of EventEmitter that emits date/time events as time advances.

# Install

`npm install date-events`

# Usage

``` js
var DateEvents  = require('date-events')
,   dtEvents    = new DateEvents

dtEvents.on('second', function (d) {
    console.log('+1 second = %s', d)
})
dtEvents.on('minute', function (d) {
    dtEvents.removeAllListeners() // Without removing listeners, program will not exit
})

console.log('Script running, will print time each second and exit once the minute changes.')
```

# Methods

## .createEmitter()
-------------------

Returns a new instance of date-events emitter. Equivalent to `new require('date-events')`

# Supported Events

* `second`
* `minute`
* `hour`
* `day`

Should probably add more...

# Testing

`npm test`<commit_msg>Fixing README.md formatting<commit_after>date-events
==================

Instance of EventEmitter that emits date/time events as time advances.

# Install

`npm install date-events`

# Usage

``` js
var DateEvents  = require('date-events')
,   dtEvents    = new DateEvents

dtEvents.on('second', function (d) {
    console.log('+1 second = %s', d)
})
dtEvents.on('minute', function (d) {
    dtEvents.removeAllListeners() // Without removing listeners, program will not exit
})

console.log('Script running, will print time each second and exit once the minute changes.')
```

# Methods

## .createEmitter()

Returns a new instance of date-events emitter. Equivalent to `new require('date-events')`

# Supported Events

* `second`
* `minute`
* `hour`
* `day`

Should probably add more...

# Testing

`npm test`
{'fraction_non_alphanumeric': 0.15867158671586715, 'fraction_numerical': 0.0012300123001230013, 'mean_word_length': 4.021604938271605, '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': '2291740', 'n_tokens_mistral': 508, 'n_tokens_neox': 494, 'n_words': 161}