<commit_before># Sane Document Title
This addon adds sane document.title integration to your ember app.

All it does is include [this gist by @machty](https://gist.github.com/machty/8413411) to your application.

## Install
Install by running
```
npm install ember-cli-document-title
```

## So, how does this work?
This adds two new keys to your routes:

1. `titleToken`
2. `title`

They can be either strings or functions.

Every time you transition to a route, the following will happen:

1. Ember will collect the `titleToken`s from your leafmost route and
   bubble them up until it hits a route that has `title` defined.
   `titleToken` is the name of the route's model by default.
2. If `title` is a string, that will be used as the document title
3. If `title` is a function, the collected `titleToken`s will be passed
   to it in an array.
4. What is returned from the `title` function is used as the document
   title.
<commit_msg>Fixed the command to install<commit_after># Sane Document Title
This addon adds sane document.title integration to your ember app.

All it does is include [this gist by @machty](https://gist.github.com/machty/8413411) to your application.

## Install
Install by running
```
npm install ember-cli-document-title --save-dev
```

## So, how does this work?
This adds two new keys to your routes:

1. `titleToken`
2. `title`

They can be either strings or functions.

Every time you transition to a route, the following will happen:

1. Ember will collect the `titleToken`s from your leafmost route and
   bubble them up until it hits a route that has `title` defined.
   `titleToken` is the name of the route's model by default.
2. If `title` is a string, that will be used as the document title
3. If `title` is a function, the collected `titleToken`s will be passed
   to it in an array.
4. What is returned from the `title` function is used as the document
   title.

{'fraction_non_alphanumeric': 0.07389937106918239, 'fraction_numerical': 0.013626834381551363, 'mean_word_length': 3.8575063613231553, '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': '2158450', 'n_tokens_mistral': 573, 'n_tokens_neox': 556, 'n_words': 297}