UNPKG

selectn

Version:

Curried property accessor function that resolves deeply-nested object properties via dot/bracket-notation string path while mitigating TypeErrors via friendly and composable API.

86 lines (85 loc) 2.44 kB
{ "name": "selectn", "description": "Curried property accessor function that resolves deeply-nested object properties via dot/bracket-notation string path while mitigating TypeErrors via friendly and composable API.", "version": "1.3.0", "author": "Wil Moore III <wil.moore@wilmoore.com>", "bugs": "https://github.com/wilmoore/selectn.js/issues", "dependencies": { "brackets2dots": "^1.1.0", "curry2": "^1.0.0", "dotsplit.js": "^1.0.3" }, "devDependencies": { "browserify-standalone": "0.3.0", "dependency-check": "2.6.1", "fixpack": "2.2.0", "istanbul": "0.4.2", "nodemon": "*", "standard": "*", "tap-spec": "4.1.1", "tape": "4.6.3", "tape-catch": "1.0.4", "uglify-js": "*", "zuul": "*" }, "homepage": "https://github.com/wilmoore/selectn.js", "keywords": [ "Mitigate TypeError", "TypeError", "TypeErrors", "access", "accessor", "bracket-notation string path", "browser", "callback", "composable", "compatible", "curried", "curry", "deep", "dot-notation string path", "dot/bracket-notation", "dot/bracket-notation string path", "dref", "es3", "es3 compatible", "functional", "functor", "higher-order", "nested", "object", "parameter order", "path-lookup", "pathval", "pointfree", "predicate", "property", "property access", "property accessor", "reach", "string path", "to-function" ], "license": "MIT", "main": "index.js", "repository": { "type": "git", "url": "https://github.com/wilmoore/selectn.js" }, "reveal": true, "scripts": { "clean": "rimraf $npm_package_name.js $npm_package_name.min.js", "cover": "istanbul cover test.js", "dependency-check": "dependency-check ./package.json && dependency-check ./package.json --unused --no-dev", "dev": "nodemon -x 'npm run test --silent' -e 'js json'", "build": "browserify-standalone && uglifyjs $npm_package_name.js > $npm_package_name.min.js", "fixpack": "fixpack", "prepublish": "npm run build", "postversion": "git push --follow-tags && npm publish", "standard": "standard", "test": "npm run dependency-check && npm run standard --silent && node test.js | tap-spec", "test:browsers": "zuul -- test.js", "test:browsers:local": "zuul --local 8080 -- test.js", "pretest:browsers": "npm test" } }