<commit_before>turf-buffer
===========
[![Build Status](https://travis-ci.org/Turfjs/turf-buffer.svg)](https://travis-ci.org/Turfjs/turf-buffer)
<commit_msg>added docs<commit_after>turf-buffer
===========
[![Build Status](https://travis-ci.org/Turfjs/turf-buffer.svg)](https://travis-ci.org/Turfjs/turf-buffer)

Buffers a point, linestring, or polygon Feature/FeatureCollection to a given radius. Units supported are miles, kilometers, and degrees.

```js
var buffer = require('turf-buffer')
var point = require('turf-point')

var pt = point(14.616599, -90.548630)
var unit = 'miles'

var buffered = buffer(pt, 10, unit)

console.log(buffered)
```
{'fraction_non_alphanumeric': 0.19319938176197837, 'fraction_numerical': 0.027820710973724884, 'mean_word_length': 5.545454545454546, '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': '3446267', 'n_tokens_mistral': 258, 'n_tokens_neox': 231, 'n_words': 45}