UNPKG

@jamesnimlos/safe-get

Version:

A small safe accessor that uses reduce to prevent 'Cannot read property of undefined' errors

32 lines (31 loc) 675 B
{ "name": "@jamesnimlos/safe-get", "version": "1.0.7", "description": "A small safe accessor that uses reduce to prevent 'Cannot read property of undefined' errors", "main": "index.js", "scripts": { "test": "node tests.js" }, "repository": { "type": "git", "url": "git+https://github.com/JamesNimlos/sget.git" }, "keywords": [ "safe", "accessor", "undefined", "tiny", "reduce", "array", "guard", "cannot", "property", "read" ], "author": "WakeCoder", "license": "ISC", "bugs": { "url": "https://github.com/wakecoder/sget/issues" }, "homepage": "https://github.com/wakecoder/sget#readme" }