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.
 

29 lines
699 B

{
"name": "select-return",
"version": "0.0.1",
"description": "Return a function based on a condition. Monadic alternative to switch-case.",
"main": "Select.js",
"scripts": {
"test": "npx jasmine"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codefeathers/select-return.git"
},
"keywords": [
"select",
"return",
"switch-case",
"functional"
],
"author": "Muthu Kumar (@MKRhere)",
"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"
}
}