<commit_before>duo-serve
=========

> A web server for developers using duo

## Install

```sh
$ sudo npm -g install duo-serve
```

## Usage

### CLI

```

  Usage: duo-serve [options] entries

  Options:

    -h, --help           output usage information
    -b, --body <path>    HTML content for the page (in a file)
    -p, --port <number>  Set the server port number
    -r, --root <path>    Set the duo root dir
    -t, --title <title>  Set the page title

```

### API

```js
var serve = require("duo-serve");

serve(process.cwd())
  .title("My Duo Module")
  .entry("index.js")
  .entry("index.css")
  .listen(3000);
```<commit_msg>updating readme<commit_after>duo-serve
=========

> A web server for developers using duo

## Install

```sh
$ sudo npm -g install duo-serve
```

## Usage

### CLI

```

  Usage: duo-serve [options] entries

  Options:

    -h, --help           output usage information
    -b, --body <path>    HTML content for the page (in a file)
    -p, --port <number>  Set the server port number
    -r, --root <path>    Set the duo root dir
    -t, --title <title>  Set the page title
    -u, --use <plugins>  Use npm modules or local files as plugins

```

### API

```js
var serve = require("duo-serve");
var handlebars = require("duo-handlebars");

serve(process.cwd())
  .title("My Duo Module")
  .entry("index.js")
  .entry("index.css")
  .use(handlebars())
  .listen(3000);
```
{'fraction_non_alphanumeric': 0.17280453257790368, 'fraction_numerical': 0.0056657223796034, 'mean_word_length': 2.738095238095238, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 14, 'https://': 0, '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': '1577481', 'n_tokens_mistral': 523, 'n_tokens_neox': 477, 'n_words': 162}