<commit_before>[![Build Status](https://travis-ci.org/pid/speakingurl.png)](https://travis-ci.org/pid/speakingurl)

# Speaking URL
Generate of so called "static" or "nice-looking" or "SpeakingURL" from a string.


Converting table taken from
https://github.com/yvg/js-replace-diacritics & https://github.com/dypsilon/js-replace-diacritics (AMD)

## Installation

```bash
$ npm install speakingurl
```

## Running tests

[![Build Status](https://travis-ci.org/pid/speakingurl.png)](https://travis-ci.org/pid/speakingurl)

```bash
$ npm test
```

## Usage

```js

    var makeUrl = require('speakingurl'),
        url, string;

    string = "Möchtest du eine schöne URL?";

    url = makeUrl(string);

    console.log(url); // Output: moechtest-du-eine-schoene-url<commit_msg>readme stuff<commit_after>[![Build Status](https://travis-ci.org/pid/speakingurl.png)](https://travis-ci.org/pid/speakingurl)
[![Build Status](https://drone.io/github.com/pid/speakingurl/status.png)](https://drone.io/github.com/pid/speakingurl/latest)

# Speaking URL
Generate of so called "static" or "nice-looking" or "SpeakingURL" from a string.


conversion table taken from
https://github.com/yvg/js-replace-diacritics & https://github.com/dypsilon/js-replace-diacritics (AMD)

## Installation

```bash
$ npm install speakingurl
```

## Running tests

[![Build Status](https://travis-ci.org/pid/speakingurl.png)](https://travis-ci.org/pid/speakingurl)

```bash
$ npm test
```

## Usage

```js

    var makeUrl = require('speakingurl'),
        url, string;

    string = "Möchtest du eine schöne URL?";

    url = makeUrl(string);

    console.log(url); // Output: moechtest-du-eine-schoene-url
{'fraction_non_alphanumeric': 0.17214584578601316, 'fraction_numerical': 0.0, 'mean_word_length': 4.150769230769231, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, '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': '4165900', 'n_tokens_mistral': 627, 'n_tokens_neox': 577, 'n_words': 108}