pfn
Version:
Possible Function. Wraps what might be a function, with fallback behavior in case it’s not. Perfect for use in functions that accept optional callback arguments.
42 lines (41 loc) • 856 B
JSON
{
"name": "pfn",
"version": "1.1.0",
"description": "Possible Function. Wraps what might be a function, with fallback behavior in case it’s not. Perfect for use in functions that accept optional callback arguments.",
"keywords": [
"optional",
"function",
"callback",
"fallback"
],
"author": {
"name": "Fr. John Lamansky",
"url": "lamansky.com"
},
"license": "MIT",
"homepage": "https://github.com/lamansky/pfn",
"repository": "lamansky/pfn",
"main": "index.js",
"files": [
"strict.js"
],
"engines": {
"node": ">=6.0.0"
},
"dependencies": {
"is-nil": "^1.0.1"
},
"devDependencies": {
"eslint-config-lamansky": "^2.0.0",
"mocha": "^6.2.2"
},
"scripts": {
"test": "mocha"
},
"eslintConfig": {
"extends": "lamansky",
"env": {
"mocha": true
}
}
}