<commit_before># circulate [![Build Status](https://travis-ci.org/hanamura/circulate.svg?branch=master)](https://travis-ci.org/hanamura/circulate)

Circulate a number into given range.

## Installation

```sh
npm install @hanamura/circulate --save
```

## Example
<commit_msg>Add description<commit_after># circulate [![Build Status](https://travis-ci.org/hanamura/circulate.svg?branch=master)](https://travis-ci.org/hanamura/circulate)

Circulate a number into given range.

## Installation

```sh
npm install @hanamura/circulate --save
```

## Usage

### circulate(number, start, end)

Returns normalized `number` between `start` (inclusive) and `end` (exclusive).

## Example

Keeping angles between 0 and 360 degrees (or -180 and 180 degrees):

{'fraction_non_alphanumeric': 0.15240641711229946, 'fraction_numerical': 0.013368983957219251, 'mean_word_length': 5.401709401709402, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '4055532', 'n_tokens_mistral': 261, 'n_tokens_neox': 240, 'n_words': 60}