<commit_before># hexi-auth

An auth extension for hexi

[![Dependency Status](https://david-dm.org/hexijs/hexi-auth/status.svg?style=flat)](https://david-dm.org/hexijs/hexi-auth)
[![Build Status](https://travis-ci.org/hexijs/hexi-auth.svg?branch=master)](https://travis-ci.org/hexijs/hexi-auth)
[![npm version](https://badge.fury.io/js/hexi-auth.svg)](http://badge.fury.io/js/hexi-auth)
[![Coverage Status](https://coveralls.io/repos/hexijs/hexi-auth/badge.svg?branch=master&service=github)](https://coveralls.io/github/hexijs/hexi-auth?branch=master)


## License

MIT<commit_msg>:edit: README.md updated<commit_after># hexi-auth

An auth extension for hexi

[![Dependency Status](https://david-dm.org/hexijs/hexi-auth/status.svg?style=flat)](https://david-dm.org/hexijs/hexi-auth)
[![Build Status](https://travis-ci.org/hexijs/hexi-auth.svg?branch=master)](https://travis-ci.org/hexijs/hexi-auth)
[![npm version](https://badge.fury.io/js/hexi-auth.svg)](http://badge.fury.io/js/hexi-auth)
[![Coverage Status](https://coveralls.io/repos/hexijs/hexi-auth/badge.svg?branch=master&service=github)](https://coveralls.io/github/hexijs/hexi-auth?branch=master)


## Installation

```
npm install --save hexi-auth
```


## Usage

```js
const server = hexi()

server.register([
  {
    register: require('hexi-auth'),
  },
])
.then(() => {
  server.auth((req, res, next) => {
    
  })
})
```


## License

MIT © [<NAME>](https://www.kochan.io)
{'fraction_non_alphanumeric': 0.22129436325678498, 'fraction_numerical': 0.0, 'mean_word_length': 4.917695473251029, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 15, 'lorem ipsum': 0, 'www.': 1, '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': '1606151', 'n_tokens_mistral': 593, 'n_tokens_neox': 570, 'n_words': 54}