higher-order-logical-operators
Version:
Allows combination of lower order functions that evaluate to booleans. Extends Array prototype with 'one' function, which takes a callback and returns true if the callback returns true for one and only one member of the array.
51 lines (50 loc) • 1.46 kB
JSON
{
"name": "higher-order-logical-operators",
"version": "1.0.2",
"description": "Allows combination of lower order functions that evaluate to booleans. Extends Array prototype with 'one' function, which takes a callback and returns true if the callback returns true for one and only one member of the array.",
"main": "index.js",
"scripts": {
"pretest": "eslint --ext .js .",
"test": "nyc mocha --compilers js:babel-register -R spec --recursive",
"posttest": "nyc report",
"prepublish": "babel -d lib src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/darArch/higher-order-logical-operators.git"
},
"keywords": [
"Higher Order Functions",
"Logical Operators",
"Function Combination"
],
"author": "Donald Robertson <donaldarobertson89@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/darArch/higher-order-logical-operators/issues"
},
"homepage": "https://github.com/darArch/higher-order-logical-operators#readme",
"devDependencies": {
"babel-preset-es2015": "^6.13.2",
"babel-register": "^6.11.6",
"chai": "^3.5.0",
"eslint": "^3.2.2",
"mocha": "^3.0.2",
"nyc": "^7.1.0"
},
"nyc": {
"lines": 99,
"statements": 99,
"functions": 99,
"branches": 99,
"include": [
"src/**/*.js"
],
"reporter": [
"lcov"
],
"cache": true,
"check-coverage": true,
"report-dir": "coverage"
}
}