typescript-array-extensions

Array extensions to typescript.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
typescript-array-extensions
200.5.05 years ago6 years agoMinified + gzip package size for typescript-array-extensions in KB

Readme

Typescript Array Extensions
Build Status
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)