Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/s-soltys/typescript-array-extensions
- Owner: s-soltys
- License: mit
- Created: 2017-02-16T12:28:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-25T14:07:19.000Z (about 7 years ago)
- Last Synced: 2024-09-20T12:48:17.006Z (3 months ago)
- Language: TypeScript
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)