TS Augmented Array

Extends Array methods adding:

  • combine(array): Object
  • diff(array): Array
  • indexByKey(arrayOfObjects): objectOfObjects
  • intersect(array): Array
  • pluck(field): Array
  • range(elements): Array
  • range(begin, end): Array
  • subtract(array): Array

No additional dependencies!

Usage:

import * as Array from './index';