<commit_before># fili

[![npm version](https://badge.fury.io/js/fili.svg)](http://badge.fury.io/js/fili)
[![Build Status](https://travis-ci.org/markert/fili.svg?branch=master)](https://travis-ci.org/markert/fili)

A digital filter library for JavaScript.

## Installation

```
$ npm install fili
```

## Usage

##### Node

```js
var Fili = require('fili');

var iirCalculator = new Fili.CalcCascades();
```

##### Browser

1. Copy ./dist/fili.min.js into your working directory

2. Load script in your index.html

  ```html
  <script src="js/plotter.min.js"></script>
  ```

3. Use `Fili` in your application

  ```js
  var iirCalculator = new Fili.CalcCascades();
  // ...
  ```

## API

Generate IIR Filters:

IIR filters are composed of n Biquad filters.
Possible filters are:
-   lowpass
-   highpass
-   bandpass
-   bandstop
-   peak
-   lowshelf
-   highshelf
<commit_msg>fix code block in readme<commit_after># fili

[![npm version](https://badge.fury.io/js/fili.svg)](http://badge.fury.io/js/fili)
[![Build Status](https://travis-ci.org/markert/fili.svg?branch=master)](https://travis-ci.org/markert/fili)

A digital filter library for JavaScript.

## Installation

```
$ npm install fili
```

## Usage

##### Node

```js
var Fili = require('fili');

var iirCalculator = new Fili.CalcCascades();
```

##### Browser

1. Copy `./dist/fili.min.js` into your working directory

2. Load script in your index.html

  ```html
  <script src="js/plotter.min.js"></script>
  ```

3. Use `Fili` in your application

  ```js
  var iirCalculator = new Fili.CalcCascades();
  // ...
  ```

## API

Generate IIR Filters:

IIR filters are composed of n Biquad filters.
Possible filters are:
-   lowpass
-   highpass
-   bandpass
-   bandstop
-   peak
-   lowshelf
-   highshelf

{'fraction_non_alphanumeric': 0.16939582156973462, 'fraction_numerical': 0.0033879164313946925, 'mean_word_length': 3.3970223325062037, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '1706124', 'n_tokens_mistral': 698, 'n_tokens_neox': 663, 'n_words': 156}