<commit_before># billy-http-express

[![Build Status](https://travis-ci.org/bvalosek/billy-http-express.png?branch=master)](https://travis-ci.org/bvalosek/billy-http-express)
[![NPM version](https://badge.fury.io/js/billy-http-express.png)](http://badge.fury.io/js/billy-http-express)

A [Billy](https://github.com/bvalosek/billy) service that creates an
Express 4 HTTP server.

## Install

```
$ npm install billy-http-express
```

## Usage

```javascript
var Application = require('billy').Application;
var HttpService = require('billy-http-express');

var app = new Application();
app.service(HttpService);
app.config('http.port', 50123);

app.start();
```

The actual server is started after all services have been loaded, so
registering any middleware or setting up of express should happen after this<commit_msg>change port num in readme<commit_after># billy-http-express

[![Build Status](https://travis-ci.org/bvalosek/billy-http-express.png?branch=master)](https://travis-ci.org/bvalosek/billy-http-express)
[![NPM version](https://badge.fury.io/js/billy-http-express.png)](http://badge.fury.io/js/billy-http-express)

A [Billy](https://github.com/bvalosek/billy) service that creates an
Express 4 HTTP server.

## Install

```
$ npm install billy-http-express
```

## Usage

```javascript
var Application = require('billy').Application;
var HttpService = require('billy-http-express');

var app = new Application();
app.service(HttpService);
app.config('http.port', 8889);

app.start();
```

The actual server is started after all services have been loaded, so
registering any middleware or setting up of express should happen after this
{'fraction_non_alphanumeric': 0.15786278081360047, 'fraction_numerical': 0.006678809957498482, 'mean_word_length': 5.314176245210728, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '4273089', 'n_tokens_mistral': 563, 'n_tokens_neox': 541, 'n_words': 123}