<commit_before>![react-dream-logo](banner.png)

# React Dream

[![Build Status](https://travis-ci.org/xaviervia/react-dream.svg)](https://travis-ci.org/xaviervia/react-dream)
[![npm version](https://img.shields.io/npm/v/react-dream.svg?maxAge=1000)](https://www.npmjs.com/package/react-dream)

[Fantasy Land](https://github.com/fantasyland/fantasy-land) type for [React Components](https://facebook.github.io/react/)

**Caution: Extremely Experimental**

## Installation

```
npm add react-dream
```

You will also need a couple of peer dependencies:

```
npm add react react-dom recompose ramda
```

## Table of contents

- [Usage](#usage)
- [API](#api)
  - [map](#mapcomponent--enhancedcomponent)
  - [contramap](#contramapprops--modifiedprops)
  - [promap](#promapprops--modifiedprops-component--enhancedcomponent)
  - [ap + of](#ap--of)
  - [chain](#chain)
  - [fork](#forkcomponent--)
  - [addProps](#addpropsprops--propstoadd--object)
  - [removeProps](#removepropspropnamestoremove--string)
  - [defaultProps](#defaultprops--props--object)
  - [propTypes](#proptypes--proptypes--object)
  - [style](#styleprops--stylestoadd--object)
  - [name](#namenewdisplayname--string)
  - [rotate](#rotateprops--rotation--number)
  - [scale](#scaleprops--scalefactor--number)
  - [translate](#translateprops--x--number-y--number-z--number)
  - [log](#logprops--value--any)
  - [debug](#debug)
- [Built-in primitives](#built-in-primitives)

## Usage

Here is an extensive example that can be found in [examples](src/examples/index.js):

> If you are not familiar with Fantasy Land types, I can highly recommend the [video tutorials by <NAME>](https://egghead.io/instructors/brian-lonsdorf)

```js
import React from 'react'<commit_msg>Fix links to new sections in README<commit_after>![react-dream-logo](banner.png)

# React Dream

[![Build Status](https://travis-ci.org/xaviervia/react-dream.svg)](https://travis-ci.org/xaviervia/react-dream)
[![npm version](https://img.shields.io/npm/v/react-dream.svg?maxAge=1000)](https://www.npmjs.com/package/react-dream)

[Fantasy Land](https://github.com/fantasyland/fantasy-land) type for [React Components](https://facebook.github.io/react/)

**Caution: Extremely Experimental**

## Installation

```
npm add react-dream
```

You will also need a couple of peer dependencies:

```
npm add react react-dom recompose ramda
```

## Table of contents

- [Usage](#usage)
- [API](#api)
  - [map](#mapcomponent--enhancedcomponent)
  - [contramap](#contramapprops--modifiedprops)
  - [promap](#promapprops--modifiedprops-component--enhancedcomponent)
  - [ap + of](#ap--of)
  - [chain](#chain)
  - [fork](#forkcomponent--)
  - [addProps](#addpropsprops--propstoadd--object)
  - [removeProps](#removepropspropnamestoremove--string)
  - [defaultProps](#defaultpropsprops--object)
  - [propTypes](#proptypesproptypes--object)
  - [style](#styleprops--stylestoadd--object)
  - [name](#namenewdisplayname--string)
  - [rotate](#rotateprops--rotation--number)
  - [scale](#scaleprops--scalefactor--number)
  - [translate](#translateprops--x--number-y--number-z--number)
  - [log](#logprops--value--any)
  - [debug](#debug)
- [Built-in primitives](#built-in-primitives)

## Usage

Here is an extensive example that can be found in [examples](src/examples/index.js):

> If you are not familiar with Fantasy Land types, I can highly recommend the [video tutorials by <NAME>](https://egghead.io/instructors/brian-lonsdorf)

```js
import React from 'react'
{'fraction_non_alphanumeric': 0.18422567645365573, 'fraction_numerical': 0.002302820955670697, 'mean_word_length': 4.632090761750405, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 14, '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': '2667053', 'n_tokens_mistral': 1266, 'n_tokens_neox': 1161, 'n_words': 195}