UNPKG

for-each-safe

Version:

Recursively loop through the elements of a 'collection' (an array, an array-like object, or a plain object) and invoke 'callbackFn' for each element while protected against circular references.

59 lines (58 loc) 1.56 kB
{ "name": "for-each-safe", "version": "0.1.0", "description": "Recursively loop through the elements of a 'collection' (an array, an array-like object, or a plain object) and invoke 'callbackFn' for each element while protected against circular references.", "main": "lib/index.js", "directories": { "doc": "docs", "lib": "lib" }, "repository": { "type": "git", "url": "git@github.com:npetruzzelli/for-each-safe.git" }, "author": "Nick Petruzzelli <code.npetruzzelli@gmail.com>", "license": "BSD-3-Clause", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "for-each-safe", "forEachSafe", "for each safe", "for each", "forEach", "each", "loop", "safe", "deep", "recursive", "circular reference", "cyclic reference", "circular", "cyclic", "reference", "iteratee", "iterator", "iterates" ], "dependencies": { "es-abstract-has-property": "^0.1.0", "es-abstract-is-callable": "^0.1.0", "es-abstract-to-length": "^0.1.0", "lodash.isplainobject": "^4.0.6", "lodash.merge": "^4.6.0" }, "devDependencies": { "eslint": "^4.1.1", "eslint-config-prettier": "^2.3.0", "eslint-config-prettier-standard": "^1.0.1", "eslint-config-standard": "^10.2.1", "eslint-plugin-import": "^2.7.0", "eslint-plugin-node": "^5.1.0", "eslint-plugin-prettier": "^2.1.2", "eslint-plugin-promise": "^3.5.0", "eslint-plugin-standard": "^3.0.1", "prettier": "^1.5.2" } }