<commit_before># chebyshev
[![NPM](https://nodei.co/npm/chebyshev.png?mini)](https://www.npmjs.com/package/chebyshev)

This module exposes the function `chebyshev(a, b)` for determining the [Chebyshev distance](https://en.wikipedia.org/wiki/Chebyshev_distance) between points `a` and `b`.

![Chebyshev distance from the square F6](diagram.png)

```js
> const chebyshev = require('chebyshev')
> chebyshev([6, 6], [5, 2])
4
```

## see also
- [`semibran/vector`](https://github.com/semibran/vector) - more vector math
- [`hughsk/moore`](https://github.com/hughsk/moore) - find all points within a Chebyshev distance of 1

## license
[MIT](https://opensource.org/licenses/MIT) © [<NAME>](https://git.io/semibran)<commit_msg>rearrange stuff<commit_after># chebyshev
![Chebyshev distance from the square F6](diagram.png)

This module exposes the function `chebyshev(a, b)` for determining the [Chebyshev distance](https://en.wikipedia.org/wiki/Chebyshev_distance) between points `a` and `b`.

```js
> const chebyshev = require('chebyshev')
> chebyshev([6, 6], [5, 2])
4
```
[![NPM](https://nodei.co/npm/chebyshev.png?mini)](https://www.npmjs.com/package/chebyshev)

## see also
- [`semibran/vector`](https://github.com/semibran/vector) - more vector math
- [`hughsk/moore`](https://github.com/hughsk/moore) - find all points within a Chebyshev distance of 1

## license
[MIT](https://opensource.org/licenses/MIT) © [<NAME>](https://git.io/semibran)
{'fraction_non_alphanumeric': 0.18433818433818433, 'fraction_numerical': 0.009702009702009701, 'mean_word_length': 5.3056768558951966, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '5639636', 'n_tokens_mistral': 581, 'n_tokens_neox': 511, 'n_words': 110}