UNPKG

augmented-array

Version:

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

57 lines (56 loc) 1.28 kB
{ "name": "augmented-array", "version": "0.1.6", "description": "", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "build": "tsc --build", "test": "mocha src/**/*.spec.ts", "test:watch": "mocha --watch --recursive src/**/*.spec.ts" }, "repository": { "type": "git", "url": "git@github.com:tapiau/ts-augmented-array.git" }, "keywords": [ "typescript", "array", "combine", "diff", "indexByKey", "intersect", "pluck", "range", "substract" ], "files": ["lib/**/*"], "author": "Zbigniew 'zibi' Jarosik", "maintainers": [ { "name": "Zbigniew 'zibi' Jarosik", "email": "zibi@nora.pl", "url": "http://github.com/tapiau" } ], "license": "MIT", "devDependencies": { "@types/chai": "^4.2.22", "@types/extend": "^3.0.1", "@types/mathjs": "^9.4.2", "@types/mocha": "^9.0.0", "@types/numeral": "^2.0.2", "@types/object-path": "^0.11.1", "chai": "^4.3.4", "chai-date-string": "^0.1.0", "chai-interface": "^2.0.3", "codelyzer": "^6.0.2", "cross-env": "^7.0.3", "mocha": "^9.1.2", "nyc": "^15.1.0", "ts-node-register": "^1.0.0", "tsc-watch": "^4.5.0", "tslint": "^6.1.3", "typescript": "^4.4.3" } }