<commit_before># wutils
wutils - web utils
*pronounced (Woo-tills)*

### Overview

 - wutils is a helpful collection of javascript related tasks

### Features

#### Dom Manipulation
```javascript

/* -- Retrieving DOM -- */
var el = wutils.dom.get("canvas");
//returns HTML reference to first dom with id/class/name/tagname

var els = wutils.dom.getAll("canvas");
//returns array of all references to dom of id/class/name/tagname
```

#### File IO
```javascript

/* -- Load External File -- */
//Asynchronously loads single file and has callback after loaded<commit_msg>Updated readme to include data<commit_after># wutils
wutils - web utils
*pronounced (Woo-tills)*

### Overview

 - wutils is a helpful collection of javascript related tasks

### Features

#### Data (Quick Data)
```HTML
<input id="in" type="range"/>
<div id="out"></div>
```

```javascript
//Creates dynamic variable with links to inlets and outlets
var d = wutils.data.create(10);
d.inlet("in", "input");
d.outlet("out", wutils.data.preset.HTML);
```

#### Dom Manipulation
```javascript

/* -- Retrieving DOM -- */
var el = wutils.dom.get("canvas");
//returns HTML reference to first dom with id/class/name/tagname

var els = wutils.dom.getAll("canvas");
//returns array of all references to dom of id/class/name/tagname
```

#### File IO
```javascript

/* -- Load External File -- */
//Asynchronously loads single file and has callback after loaded
{'fraction_non_alphanumeric': 0.1534130893736805, 'fraction_numerical': 0.0014074595355383533, 'mean_word_length': 4.042553191489362, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '5462267', 'n_tokens_mistral': 450, 'n_tokens_neox': 435, 'n_words': 151}