<commit_before>turf-envelope
=============
[![Build Status](https://travis-ci.org/Turfjs/turf-envelope.svg?branch=master)](https://travis-ci.org/Turfjs/turf-envelope)

Takes a Feature or FeatureCollection and returns a rectangular polygon feature that encompasses all vertices.

```javascript
var envelope = require('turf-envelope')<commit_msg>updated docs<commit_after>turf-envelope
=============
[![Build Status](https://travis-ci.org/Turfjs/turf-envelope.svg?branch=master)](https://travis-ci.org/Turfjs/turf-envelope)

Takes a Feature or FeatureCollection and returns a rectangular polygon feature that encompasses all vertices.

###Install

```sh
npm install turf-envelope
```

###Parameters

|name|description|
|---|---|
|fc|A FeatureCollection|

###Usage

```js
envelope(fc)
```

###Example

```javascript
var envelope = require('turf-envelope')
{'fraction_non_alphanumeric': 0.1784037558685446, 'fraction_numerical': 0.0, 'mean_word_length': 6.228813559322034, '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': '7499363', 'n_tokens_mistral': 293, 'n_tokens_neox': 267, 'n_words': 57}