<commit_before># simple-jsdom
[![Travis build status](http://img.shields.io/travis/jmeas/simple-jsdom.svg?style=flat)](https://travis-ci.org/jmeas/simple-jsdom)

A simple JSDom configuration that I use when testing most of my libraries.

### Motivation

JSDom is incredibly powerful and full of features, but I use a very small subset of
its API. Most of the time, I simply want my tests for client-side JavaScript to not
explode when I run them in the Node environment.

Require this configuration and your tests should Just Work©.

### Versioning

This library intentionally depends on JSDom `^3.0`, as that is the last version
of JSDom to support Node. Newer versions are for io.js only. Most developers use Node,
so it doesn't make sense to upgrade.

### Features
<commit_msg>Update README.<commit_after># simple-jsdom
[![Travis build status](http://img.shields.io/travis/jmeas/simple-jsdom.svg?style=flat)](https://travis-ci.org/jmeas/simple-jsdom)

A simple JSDom configuration that I use when testing many of my libraries.

### Motivation

JSDom has a lot of features, but I use a very small subset of its API. Most of the time,
I simply want my tests for client-side JavaScript to not explode when I run them in the
Node environment.

Require this configuration and your tests should Just Work©.

### Versioning

This library intentionally depends on an old version of JSDom, v3.0, as this is the last version
of JSDom to support Node. Newer versions are for io.js only. Most developers use Node,
so it doesn't make sense to upgrade.

### Features

{'fraction_non_alphanumeric': 0.07904884318766067, 'fraction_numerical': 0.002570694087403599, 'mean_word_length': 4.350515463917525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7259525', 'n_tokens_mistral': 458, 'n_tokens_neox': 449, 'n_words': 215}