<commit_before>node-abac
========

### Node.js Attributes Based Access Control library

[![npm version](https://badge.fury.io/js/node-abac.svg)](https://badge.fury.io/js/node-abac) 
[![npm](https://img.shields.io/npm/dt/node-abac.svg)]() 
[![npm](https://img.shields.io/npm/l/node-abac.svg)]()

This library is designed to help implement the concept of Attribute Based Access Control (ABAC) in your Node.js applications 
using simple `JSON` policies.

For more information on ABAC consider reading the [NIST Specification Guide](http://nvlpubs.nist.gov/nistpubs/specialpublications/NIST.sp.800-162.pdf).

Inspired by [php-abac](https://github.com/Kilix/php-abac)

## Installation

Install the latest stable release with the npm command-line tool:

```bash
$ npm install node-abac
```

## Configuration
<commit_msg>Adding downloads and license badges<commit_after>node-abac
========

### Node.js Attributes Based Access Control library

[![npm version](https://badge.fury.io/js/node-abac.svg)](https://www.npmjs.com/package/node-abac) 
[![npm](https://img.shields.io/npm/dt/node-abac.svg)](https://www.npmjs.com/package/node-abac) 
[![npm](https://img.shields.io/npm/l/node-abac.svg)](LICENSE)

This library is designed to help implement the concept of Attribute Based Access Control (ABAC) in your Node.js applications 
using simple `JSON` policies.

For more information on ABAC consider reading the [NIST Specification Guide](http://nvlpubs.nist.gov/nistpubs/specialpublications/NIST.sp.800-162.pdf).

Inspired by [php-abac](https://github.com/Kilix/php-abac)

## Installation

Install the latest stable release with the npm command-line tool:

```bash
$ npm install node-abac
```

## Configuration

{'fraction_non_alphanumeric': 0.15637860082304528, 'fraction_numerical': 0.007054673721340388, 'mean_word_length': 4.828767123287672, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 11, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1804269', 'n_tokens_mistral': 609, 'n_tokens_neox': 566, 'n_words': 132}