<commit_before># Redux-Api-Mapper

[![NPM Version](https://badge.fury.io/js/redux-api-mapper.svg)](https://www.npmjs.com/package/redux-api-mapper)

## Motivation

Many react/redux applications interact with an api. To solve this problem with redux, we use middlewares that are able to handle async actions, such as a http request. Using data in this approach is not wrong, however, sometimes it generates a lot of boilerplate. Especially when handling api requests.

## Solution

Redux-Api-Mapper for rescue! It's a small but powerful utility for mapping any api with a config definition and returning an object with methods for accessing your api. It will automatically dispatch actions for the store based on the state of the request.

## Documentation

* [Introduction](/docs/introduction.md)
* [Config shape](/docs/config.md)
* [Http-Layers](/docs/http-layers.md)
* [ApiProvider and apiConnect](/docs/provider.md)

## Install

```bash<commit_msg>Update readme documentation link<commit_after># Redux-Api-Mapper

[![NPM Version](https://badge.fury.io/js/redux-api-mapper.svg)](https://www.npmjs.com/package/redux-api-mapper)

## Motivation

Many react/redux applications interact with an api. To solve this problem with redux, we use middlewares that are able to handle async actions, such as a http request. Using data in this approach is not wrong, however, sometimes it generates a lot of boilerplate. Especially when handling api requests.

## Solution

Redux-Api-Mapper for rescue! It's a small but powerful utility for mapping any api with a config definition and returning an object with methods for accessing your api. It will automatically dispatch actions for the store based on the state of the request.

## Documentation

* [Introduction](/docs/introduction.md)
* [Config shape](/docs/config.md)
* [Http-Layers](/docs/http-layers.md)
* [ApiProvider and apiConnect](/docs/api-provider.md)

## Install

```bash
{'fraction_non_alphanumeric': 0.09828393135725429, 'fraction_numerical': 0.0, 'mean_word_length': 4.7432835820895525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '5054690', 'n_tokens_mistral': 557, 'n_tokens_neox': 532, 'n_words': 216}