typescript-array-extensions
v0.5.0
Published
Array extensions to typescript.
Downloads
1,149
Readme
Typescript Array Extensions
Extends the ordinary array with additional methods:
- average
- find
- flatMap
- groupBy
- scan
- sortBy
- sum
- distinct
- min
- max
- Array.zip
How to use:
$ npm install --save typescript-array-extensions
import 'typescript-array-extensions';
This package requires the es6 Map polyfill.
How to build and test:
npm run build
npm run test
// Code coverage report is generated in ./coverage/
TODO:
- Implement additional methods
- Convert this project to a proxy for a popular js util library (lodash.js)