optional-args
Version:
Wraps a function whose last argument is preceded by optional arguments so that when fewer arguments are passed in, missing optional arguments are filled in as `undefined`.
36 lines (35 loc) • 782 B
JSON
{
"name": "optional-args",
"version": "2.2.1",
"description": "Wraps a function whose last argument is preceded by optional arguments so that when fewer arguments are passed in, missing optional arguments are filled in as `undefined`.",
"keywords": [
"optional",
"arguments",
"args",
"function",
"simple",
"last",
"node",
"style",
"callback",
"browser",
"browserify"
],
"main": "index.js",
"scripts": {
"test": "node test"
},
"author": {
"name": "Johnny Hauser",
"email": "johnnyhauser@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/m59peacemaker/js-optional-args"
},
"license": "CC0-1.0",
"devDependencies": {
"tape": "^4.6.2",
"try_catch": "^1.0.1"
}
}