<commit_before># New version of this tutorial available at [serenity-js/tutorial-from-scripts-to-serenity](https://github.com/serenity-js/tutorial-from-scripts-to-serenity)

This tutorial was written for an early release of Serenity/JS.
The new version, available at [serenity-js/tutorial-from-scripts-to-serenity](https://github.com/serenity-js/tutorial-from-scripts-to-serenity) covers Serenity/JS 1.x.

Find out more at [serenity-js.org](http://serenity-js.org)!

# ~~Serenity/JS - Getting Started~~

This project acts as supplementary material for
the [official Serenity/JS tutorial](https://github.com/jan-molak/serenity-js).

## Prerequisites

To follow the tutorial, you'll need:

* [Node.js and NPM](https://nodejs.org/en/)
* A web browser, ideally [Chrome](https://www.google.co.uk/chrome/browser/desktop/)

You'll also need access to the [command line interface](https://en.wikipedia.org/wiki/Command-line_interface).

The below code listings, which look like this one below, mean "type `whoami` into the command line":<commit_msg>Formatting fix<commit_after># New version available now!

This tutorial was written for an early release of Serenity/JS.

The new version, covering Serenity/JS 1.x is available at [serenity-js/tutorial-from-scripts-to-serenity](https://github.com/serenity-js/tutorial-from-scripts-to-serenity).

Find out more at [serenity-js.org](http://serenity-js.org)!

----

# Serenity/JS - Getting Started

This project acts as supplementary material for
the [official Serenity/JS tutorial](https://github.com/jan-molak/serenity-js).

## Prerequisites

To follow the tutorial, you'll need:

* [Node.js and NPM](https://nodejs.org/en/)
* A web browser, ideally [Chrome](https://www.google.co.uk/chrome/browser/desktop/)

You'll also need access to the [command line interface](https://en.wikipedia.org/wiki/Command-line_interface).

The below code listings, which look like this one below, mean "type `whoami` into the command line":
{'fraction_non_alphanumeric': 0.13149847094801223, 'fraction_numerical': 0.0010193679918450561, 'mean_word_length': 4.673410404624278, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 11, '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': '1102803', 'n_tokens_mistral': 658, 'n_tokens_neox': 630, 'n_words': 173}