Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/s-soltys/typescript-array-extensions

Array extensions for TypeScript.
https://github.com/s-soltys/typescript-array-extensions

Last synced: about 2 months ago
JSON representation

Array extensions for TypeScript.

Awesome Lists containing this project

README

        

# Typescript Array Extensions
[![Build Status](https://travis-ci.org/s-soltys/typescript-array-extensions.svg?branch=master)](https://travis-ci.org/s-soltys/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)