FunctionSelect: Select a function that passes a condition. A functional alternative to switch-case.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
913 B

7 years ago
{
"name": "select-return",
"version": "0.0.9",
"description": "Return a function based on a condition. A functional alternative to switch-case.",
"main": "Select.js",
7 years ago
"scripts": {
"debug": "node --inspect-brk testscript",
"lint": "npx eslint .",
"test": "npx jasmine",
"docs": "npx jsdoc Select.js README.md --destination docs"
7 years ago
},
"repository": {
"type": "git",
"url": "git+https://github.com/codefeathers/select-return.git"
},
"keywords": [
"select",
"return",
"switch-case",
"functional"
7 years ago
],
"author": "Muthu Kumar (@MKRhere)",
"contributors": [
"Dani (@Floofies)"
],
7 years ago
"license": "MIT",
"bugs": {
"url": "https://github.com/codefeathers/select-return/issues"
},
"homepage": "https://github.com/codefeathers/select-return#readme",
"devDependencies": {
"eslint": "^4.19.1",
"jasmine": "^3.1.0",
"jsdoc": "^3.5.5"
}
7 years ago
}