<commit_before>maksunappi
==========

A Node.js library for online payments in Finland. Includes test
configurations for Tapiola, Nordea, DanskeBank, Handelsbanken, OP,
Aktia, Ålandsbanken and S-Pankki.

Currently requires Express.

## About

Made at [Reaktor](http://reaktor.fi).

Apply for juicy positions at [reaktor.fi/careers](http://reaktor.fi/careers) or
[futurerockstar.fi](http://futurerockstar.fi/).

## Install

```
npm install maksunappi
```

## Testing

Run tests with grunt.

## Usage and configuration

### Basic usage (using default configurations)

```javascript
var generalOptions = {
  appHandler: app, // an Express application
  hostUrl: 'http://domain.here.com:port', // required for return URLs
};

var maksunappi = require('maksunappi').create(generalOptions);
```

## Bank configuration

### Changing configurations (code example)
<commit_msg>Replace futurerockstars.fi link with a link to The Culling.<commit_after>maksunappi
==========

A Node.js library for online payments in Finland. Includes test
configurations for Tapiola, Nordea, DanskeBank, Handelsbanken, OP,
Aktia, Ålandsbanken and S-Pankki.

Currently requires Express.

## About

From [Reaktor](http://reaktor.fi) with love.

Apply for juicy positions at [reaktor.fi/careers](http://reaktor.fi/careers) and prepare
for [The Culling](http://youtu.be/3Jym9rfQgec).

## Install

```
npm install maksunappi
```

## Testing

Run tests with grunt.

## Usage and configuration

### Basic usage (using default configurations)

```javascript
var generalOptions = {
  appHandler: app, // an Express application
  hostUrl: 'http://domain.here.com:port', // required for return URLs
};

var maksunappi = require('maksunappi').create(generalOptions);
```

## Bank configuration

### Changing configurations (code example)

{'fraction_non_alphanumeric': 0.13070077864293658, 'fraction_numerical': 0.0011123470522803114, 'mean_word_length': 4.956953642384106, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '389107', 'n_tokens_mistral': 594, 'n_tokens_neox': 567, 'n_words': 166}