<commit_before># Nintendo.js

A key combo event handler for js.

## Installation

Just include the nintendo.js file in your html.

## Usage

Nintendo.js works by detecting key combos. These can be used to trigger hidden functionalities or control elements in your site with keyboard commands.

Press the letter 'd'.

```
Nintendo.combo('d', function(){
	console.log('Combo: d');
});
```

To use capitals the SHIFT key is assumed.

```
Nintendo.combo('SHIFT + D', function(){
	console.log('Combo: SHIFT + D');<commit_msg>added page link to readme<commit_after># Nintendo.js

A key combo event handler for js.
(http://juancamiloestela.github.io/nintendo.js)[http://juancamiloestela.github.io/nintendo.js/]

## Installation

Just include the nintendo.js file in your html.

## Usage

Nintendo.js works by detecting key combos. These can be used to trigger hidden functionalities or control elements in your site with keyboard commands.

Press the letter 'd'.

```
Nintendo.combo('d', function(){
	console.log('Combo: d');
});
```

To use capitals the SHIFT key is assumed.

```
Nintendo.combo('SHIFT + D', function(){
	console.log('Combo: SHIFT + D');
{'fraction_non_alphanumeric': 0.12630662020905922, 'fraction_numerical': 0.0, 'mean_word_length': 4.497607655502392, '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': '1284359', 'n_tokens_mistral': 367, 'n_tokens_neox': 358, 'n_words': 132}