<commit_before>authorizer
============

Lightweight connect based authorization middleware.

This library was extracted from an internal project where our authorization requirements where extremely simple. Large and more feature-rich libraries seemed like overkill. We also wanted something that is expressive and consistent with express.js' routes.

###Installation
============
_Package not added to npm yet._

```sh
git clone https://github.com/nReality/authorizerjs
```

###Example
============

This example makes use of passport.js for authentication<commit_msg>Update to reflect npm install<commit_after>authorizer
============

Lightweight connect based authorization middleware.

This library was extracted from an internal project where our authorization requirements where extremely simple. Large and more feature-rich libraries seemed like overkill. We also wanted something that is expressive and consistent with express.js' routes.

###Installation

```sh
npm install authorizer --save
```

###Example

This example makes use of passport.js for authentication
{'fraction_non_alphanumeric': 0.09599254426840634, 'fraction_numerical': 0.0, 'mean_word_length': 5.7125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '6729924', 'n_tokens_mistral': 246, 'n_tokens_neox': 230, 'n_words': 120}