<commit_before># nci-express
[![Build Status](https://travis-ci.org/fleg/nci-express.svg?branch=master)](https://travis-ci.org/fleg/nci-express)

[express](https://github.com/expressjs/express) plugin for [nci](https://github.com/node-ci/nci)
to simplify http related plugins development


## Installation

```sh
npm install nci-express
```

## Usage

Add this plugin to the `plugins` section at server config before any plugin that using it.
```yml
plugins:
    - nci-express
    - nci-plugin-with-express
```

Add this plugin to `peerDependencies` at your plugin package.json

Just use `app.httpApp` as express instance
```js
exports.register = function(app) {
	app.httpApp.get('/some/route', function(req, res) {
		res.json({ok: true})
	});
};
```

Look at [nci-shields](https://github.com/fleg/nci-shields) as example.

## License<commit_msg>update readme example<commit_after># nci-express
[![Build Status](https://travis-ci.org/fleg/nci-express.svg?branch=master)](https://travis-ci.org/fleg/nci-express)

[express](https://github.com/expressjs/express) plugin for [nci](https://github.com/node-ci/nci)
to simplify http related plugins development


## Installation

```sh
npm install nci-express
```

## Usage

Add this plugin to the `plugins` section at server config before any plugin that using it.
```yml
plugins:
    - nci-express
    - nci-plugin-with-express
```

Add this plugin to `peerDependencies` at your plugin package.json

Just use `app.express` as express instance
```js
exports.register = function(app) {
	app.express.get('/some/route', function(req, res) {
		res.json({ok: true})
	});
};
```

Look at [nci-shields](https://github.com/fleg/nci-shields) as example.

## License
{'fraction_non_alphanumeric': 0.16, 'fraction_numerical': 0.0, 'mean_word_length': 4.469453376205788, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, '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': '1707200', 'n_tokens_mistral': 598, 'n_tokens_neox': 569, 'n_words': 139}