├── .editorconfig ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── SECURITY.md ├── benchmark ├── README.md ├── code │ ├── concat.js │ ├── current.js │ ├── for-value.js │ ├── for.js │ ├── no-return.js │ ├── reduce.js │ ├── tostring.js │ ├── while-2.js │ ├── while-3.js │ ├── while-4.js │ ├── while.js │ └── with-depth.js ├── fixtures │ ├── large.js │ ├── medium.js │ ├── none.js │ ├── small.js │ └── typical.js └── index.js ├── package.json ├── src ├── index.spec.ts └── index.ts ├── tsconfig.es2015.json ├── tsconfig.json └── tslint.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/SECURITY.md -------------------------------------------------------------------------------- /benchmark/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/README.md -------------------------------------------------------------------------------- /benchmark/code/concat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/concat.js -------------------------------------------------------------------------------- /benchmark/code/current.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/current.js -------------------------------------------------------------------------------- /benchmark/code/for-value.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/for-value.js -------------------------------------------------------------------------------- /benchmark/code/for.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/for.js -------------------------------------------------------------------------------- /benchmark/code/no-return.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/no-return.js -------------------------------------------------------------------------------- /benchmark/code/reduce.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/reduce.js -------------------------------------------------------------------------------- /benchmark/code/tostring.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/tostring.js -------------------------------------------------------------------------------- /benchmark/code/while-2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/while-2.js -------------------------------------------------------------------------------- /benchmark/code/while-3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/while-3.js -------------------------------------------------------------------------------- /benchmark/code/while-4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/while-4.js -------------------------------------------------------------------------------- /benchmark/code/while.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/while.js -------------------------------------------------------------------------------- /benchmark/code/with-depth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/code/with-depth.js -------------------------------------------------------------------------------- /benchmark/fixtures/large.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/fixtures/large.js -------------------------------------------------------------------------------- /benchmark/fixtures/medium.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/fixtures/medium.js -------------------------------------------------------------------------------- /benchmark/fixtures/none.js: -------------------------------------------------------------------------------- 1 | module.exports = [[1, 2, 3, 4, 5, 6, 7]]; 2 | -------------------------------------------------------------------------------- /benchmark/fixtures/small.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/fixtures/small.js -------------------------------------------------------------------------------- /benchmark/fixtures/typical.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/fixtures/typical.js -------------------------------------------------------------------------------- /benchmark/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/benchmark/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/package.json -------------------------------------------------------------------------------- /src/index.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/src/index.spec.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/src/index.ts -------------------------------------------------------------------------------- /tsconfig.es2015.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/tsconfig.es2015.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blakeembrey/array-flatten/HEAD/tslint.json --------------------------------------------------------------------------------