<commit_before># grunt-snapster

A grunt task to get automated snapshots of websites in several browsers
using browserstack.

## Getting Started
_If you haven't used [grunt](http://gruntjs.com/) before, be sure to check out
the [Getting Started](http://gruntjs.com/getting-started) guide._

From the same directory as your project's Gruntfile and package.json, install
this plugin with the following command:

```bash
npm install grunt-snapster --save-dev
```

Once that's done, add this line to your project's Gruntfile:

```js
grunt.loadNpmTasks('grunt-snapster');
```

Inside your `grunt.js` file add a section named `snapster`. This section
specifies the tasks. Each task takes the following options.

## Options

### credentials

This is an `Object` with your browerstack credentials. The credentials are
important to connect to your browserstack account. It contains a
`username` and `key` property. Each value must be specified as `String`.

Be aware to **not store any secure data** in a file which will be published.
For this case you can store your data in an extra JSON file and link it through
the `file` property of the `credentials` object. This file should be ignored in
your VCS. The JSON should look like this:

```JSON
{
	"username": "your-username",
	"key": "your-access-key"
}
```
<commit_msg>Add links to browserstack<commit_after># grunt-snapster

A grunt task to get automated snapshots of websites in several browsers
using the [Browserstack](http://www.browserstack.com/) service.

## Getting Started
_If you haven't used [grunt](http://gruntjs.com/) before, be sure to check out
the [Getting Started](http://gruntjs.com/getting-started) guide._

From the same directory as your project's Gruntfile and package.json, install
this plugin with the following command:

```bash
npm install grunt-snapster --save-dev
```

Once that's done, add this line to your project's Gruntfile:

```js
grunt.loadNpmTasks('grunt-snapster');
```

Inside your `grunt.js` file add a section named `snapster`. This section
specifies the tasks. Each task takes the following options.

## Browserstack

You need a [Browserstack Account](https://www.browserstack.com/users/sign_up).
There is a free trial version available.

## Options

### credentials

This is an `Object` with your browerstack credentials. The credentials are
important to connect to your browserstack account. It contains a
`username` and `key` property. Each value must be specified as `String`.

Be aware to **not store any secure data** in a file which will be published.
For this case you can store your data in an extra JSON file and link it through
the `file` property of the `credentials` object. This file should be ignored in
your VCS. The JSON should look like this:

```JSON
{
	"username": "your-username",
	"key": "your-access-key"
}
```

{'fraction_non_alphanumeric': 0.09397163120567376, 'fraction_numerical': 0.0, 'mean_word_length': 4.608349900596422, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, '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': '4566932', 'n_tokens_mistral': 826, 'n_tokens_neox': 790, 'n_words': 376}