<commit_before># Dead simple
*Dead simple (DS)* is a collection of small JavaScript modules

[![Build Status](https://img.shields.io/badge/build-passed-brightgreen.svg?style=flat-square)](https://semaphoreci.com/robinpokorny/dead-simple)
[![license](https://img.shields.io/npm/l/dead-simple.svg?style=flat-square)](https://github.com/robinpokorny/dead-simple/blob/master/LICENSE)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-lightgrey.svg?style=flat-square)](http://standardjs.com/)
[![Managed by Yarn](https://img.shields.io/badge/managed%20by-Yarn-2C8EBB.svg?style=flat-square)](https://yarnpkg.com/)

> Small readable almost-tweetable modules utilising classic patterns in modern language.


## DS-PubSub
https://gist.github.com/robinpokorny/d743ed9e0bc5214f79076a16c8e44a8f

### Browser compatibility ([all](https://kangax.github.io/compat-table/es6/#test-Set))

Chrome\* | Edge | FF | IE  | Opera | Safari | iOS
---------|------|----|-----|-------|--------|----
38       |   12 | 13 | -\* |    25 |    7.1 |   8

*Notes:*
 * Chrome includes mobile Chrome.
 * IE 11 does not support only arrow functions, they can be replaced with `function`. Also, [incomplete Set support](https://kangax.github.io/compat-table/es6/#test-Set_Set.prototype.add_returns_this) means the hand-minified version does not work.


## DS-EventEmitter
https://gist.github.com/robinpokorny/dd97bd013dc5198a5bd0556c591f661c

### Browser compatibility

Chrome\* | Edge | FF | IE  | Opera | Safari | iOS
---------|------|----|-----|-------|--------|----
38       |   12 | 13 | -\* |    25 |    7.1 |   8

*Notes:*
 * Chrome includes mobile Chrome.
 * IE 11 does not support only arrow functions, they can be replaced with `function`. See, [ds-pubsub](#ds-pubsub) for more compatibility info of that package.<commit_msg>:pen: Add some features<commit_after># Dead simple
*Dead simple (DS)* is a collection of small JavaScript modules

[![Build Status](https://img.shields.io/badge/build-passed-brightgreen.svg?style=flat-square)](https://semaphoreci.com/robinpokorny/dead-simple)
[![license](https://img.shields.io/npm/l/dead-simple.svg?style=flat-square)](https://github.com/robinpokorny/dead-simple/blob/master/LICENSE)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-lightgrey.svg?style=flat-square)](http://standardjs.com/)
[![Managed by Yarn](https://img.shields.io/badge/managed%20by-Yarn-2C8EBB.svg?style=flat-square)](https://yarnpkg.com/)

> Small readable almost-tweetable modules utilising classic patterns in modern language.


## DS-PubSub
Based on: https://gist.github.com/robinpokorny/d743ed9e0bc5214f79076a16c8e44a8f

### Features
* **Small:** 127 bytes. Gzipped: 127 bytes (Yes, you read that right)
* **No dependencies:**
* **Best practices:**
* **Readible:**
* **Efficient:**
* **Clean API:** `sub` and `pub`, need no more, can't go less.

### Browser compatibility

Chrome\* | Edge | FF | IE  | Opera | Safari | iOS
---------|------|----|-----|-------|--------|----
38       |   12 | 13 | -\* |    25 |    7.1 |   8

*Notes:*
 * Chrome includes mobile Chrome.
 * IE 11 does not support only arrow functions, they can be replaced with `function`. Also, [incomplete Set support](https://kangax.github.io/compat-table/es6/#test-Set_Set.prototype.add_returns_this) means the hand-minified version does not work.


## DS-EventEmitter
Based on: https://gist.github.com/robinpokorny/dd97bd013dc5198a5bd0556c591f661c

### Browser compatibility

Chrome\* | Edge | FF | IE  | Opera | Safari | iOS
---------|------|----|-----|-------|--------|----
38       |   12 | 13 | -\* |    25 |    7.1 |   8

*Notes:*
 * Chrome includes mobile Chrome.
 * IE 11 does not support only arrow functions, they can be replaced with `function`. See, [ds-pubsub](#ds-pubsub) for more compatibility info of that package.
{'fraction_non_alphanumeric': 0.19577685088633995, 'fraction_numerical': 0.03988529718456726, 'mean_word_length': 3.4461181923522597, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 21, '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': '277191', 'n_tokens_mistral': 1409, 'n_tokens_neox': 1279, 'n_words': 280}