Completely flattens the iterable object.
npm install @heppokofrontend/flat-deep  !test workflow
   

The flatDeep() method creates a new array with all sub-iterables elements concatenated into it recursively up.
Installation:
``shell`
npm install --save @heppokofrontend/flat-deep
Example:
`javascript
import { flatDeep } from '@heppokofrontend/flat-deep';
const map = new Map();
const set = new Set();
const arr = [
0,
'hoge',
[
1,
2,
[
set,
map,
],
],
6,
];
set.add(3);
map.set(4, [5]);
console.log(flatDeep(arr)); // > [0, 'hoge', 1, 2, 3, 4, 5, 6]
`
`ts`
flatDeep(iterable, options);
#### iterable
The iterable object to be flattened.
For Example:
- Array
- Set
- Map
- NodeList
- HTMLCollection
#### options
|property|type|default|required|description|
|---|:-:|:-:|:-:|---|
|stringIgnore|boolean|true|none|Whether to ignore the string type.|circularReferenceToJson
||boolean|false|none|If a circular reference is found, convert it to JSON without ignoring it. The circular reference will be replaced by the string [Circular] (see fast-safe-stringify).|
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
MIT