{"_id":"js-utils-deep","_rev":"9-51cb635492d0503d5cf4b0a1618ba321","name":"js-utils-deep","description":"Javascript Deep Utility functions","dist-tags":{"latest":"1.1.4"},"versions":{"1.0.0":{"name":"js-utils-deep","version":"1.0.0","description":"Javascript Utility functions","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Mohith G"},"license":"ISC","gitHead":"87337e84caf641e9c2a3226f2eba141726e07503","_id":"js-utils-deep@1.0.0","_shasum":"623effd8ac2362577cfc0bf86dfd0d8399d08da0","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"mohithg","email":"mohithgm@gmail.com"},"dist":{"shasum":"623effd8ac2362577cfc0bf86dfd0d8399d08da0","tarball":"https://registry.npmjs.org/js-utils-deep/-/js-utils-deep-1.0.0.tgz","integrity":"sha512-4ahcqneNYRJupg7Uqgt21xxAS/2sI586LdJhs2lANU40F9HJT48htQe+Hy433AxCpcyltyXqBbdliTKbUQzwNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFfRImQy7thJkuPIhzuJi+27A47rQsyG0vIWZC3lI+Y0AiAyudEoLb5ghQIlIO/HNCCe66Pqv+WuyVfCY9h7MGlQFA=="}]},"maintainers":[{"name":"mohithg","email":"mohithgm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/js-utils-deep-1.0.0.tgz_1477967589173_0.5150855316314846"}},"1.0.1":{"name":"js-utils-deep","version":"1.0.1","description":"Javascript Utility functions","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Mohith G"},"license":"MIT","gitHead":"53a8540a4818d44cff1678b54b98e58204361e1d","_id":"js-utils-deep@1.0.1","_shasum":"a91311fc698b119d56014443aa78b8e7d8e5c192","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"mohithg","email":"mohithgm@gmail.com"},"dist":{"shasum":"a91311fc698b119d56014443aa78b8e7d8e5c192","tarball":"https://registry.npmjs.org/js-utils-deep/-/js-utils-deep-1.0.1.tgz","integrity":"sha512-XUlU8wfXmpIdVnTSaKxeudEhskyPJMPg136MEO+pLNTibm2I+hqq/2a7rA3QZCoWErNnVFu0sfV/NOL00vDjkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDq4wwpPqb5h3kJubWqFAlos25SfYnxhPag6E060akDAiBnGch55KaPj/Nvjp3nPWp6D+IZTwMo2VRC8haOUPaHFQ=="}]},"maintainers":[{"name":"mohithg","email":"mohithgm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/js-utils-deep-1.0.1.tgz_1478133164771_0.35024990956299007"}},"1.1.0":{"name":"js-utils-deep","version":"1.1.0","description":"Javascript Deep Utility functions","main":"build/index.js","keywords":["javascript","utility","utilities","deep","object","recursive"],"scripts":{"test":"mocha --compilers js:babel-core/register --recursive","test-cov":"babel-node ./node_modules/.bin/isparta cover --report html --report text node_modules/.bin/_mocha","build":"rm -rf build && ./node_modules/.bin/babel src --out-dir build","clean":"rm -rf build","lint":"eslint src test"},"dependencies":{},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.9.1","babel-eslint":"^6.0.4","babel-plugin-transform-react-jsx":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","chai":"^3.5.0","enzyme":"^2.3.0","eslint":"^2.12.0","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.4.2","eslint-plugin-react":"^5.1.1","isparta":"^4.0.0","mocha":"^2.5.3"},"repository":{"type":"git","url":"git+https://github.com/mohithg/js-utils.git"},"bugs":{"url":"https://github.com/mohithg/js-utils/issues"},"homepage":"https://github.com/mohithg/js-utils#readme","author":{"name":"Mohith G"},"license":"MIT","gitHead":"968338e6982c628a681636d4e61fc615dcc59b9f","_id":"js-utils-deep@1.1.0","_shasum":"542decc6491e279a83ccaa316ac1cad96add2538","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"mohithg","email":"mohithgm@gmail.com"},"dist":{"shasum":"542decc6491e279a83ccaa316ac1cad96add2538","tarball":"https://registry.npmjs.org/js-utils-deep/-/js-utils-deep-1.1.0.tgz","integrity":"sha512-yiiOMqDUh/pD/s10A0TyKSx8c1j+A5Cs1wkCr6TyJjhc3BsTTug6/gTjRjLRj3pQWQfuTBM6S3y0y75OdBljqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBlY9gYOxWl2nsWghakiggywq9mQCsyRJmvNsaX2KTWcAiEAvBzMah5tiZlbnfKqVLvdu54lwHGQbGJWnDOoH74YAfA="}]},"maintainers":[{"name":"mohithg","email":"mohithgm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/js-utils-deep-1.1.0.tgz_1478136070176_0.3425019821152091"}},"1.1.1":{"name":"js-utils-deep","version":"1.1.1","description":"Javascript Deep Utility functions","main":"build/index.js","keywords":["javascript","utility","utilities","deep","object","recursive"],"scripts":{"test":"mocha --compilers js:babel-core/register --recursive","test-cov":"babel-node ./node_modules/.bin/isparta cover --report html --report text node_modules/.bin/_mocha","build":"rm -rf build && ./node_modules/.bin/babel src --out-dir build","clean":"rm -rf build","lint":"eslint src test"},"dependencies":{},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.9.1","babel-eslint":"^6.0.4","babel-plugin-transform-react-jsx":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","chai":"^3.5.0","enzyme":"^2.3.0","eslint":"^2.12.0","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.4.2","eslint-plugin-react":"^5.1.1","isparta":"^4.0.0","mocha":"^2.5.3"},"repository":{"type":"git","url":"git+https://github.com/mohithg/js-utils.git"},"bugs":{"url":"https://github.com/mohithg/js-utils/issues"},"homepage":"https://github.com/mohithg/js-utils#readme","author":{"name":"Mohith G"},"license":"MIT","gitHead":"2b6768fb4b056338569fc552f0b7590cea3e3ad7","_id":"js-utils-deep@1.1.1","_shasum":"acc4e12fdb38f35d4603ff29b61cbe1fe7f65c32","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"mohithg","email":"mohithgm@gmail.com"},"dist":{"shasum":"acc4e12fdb38f35d4603ff29b61cbe1fe7f65c32","tarball":"https://registry.npmjs.org/js-utils-deep/-/js-utils-deep-1.1.1.tgz","integrity":"sha512-wscfwQsJtxh+X/O7PGO2rVwt6SB8lS/5nnqSzUZnfxeckZhTVPAZ5pZgWiB+J3iffAKT6Avg8+DOLGEAyT/xWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQcm5XF9Znw3kShPVBsyH77Vrww/stVW49DAd/W2oc1AiA2blL7a85CuJRXIVIL8oci00owL2ESK6bagv8NcYK93Q=="}]},"maintainers":[{"name":"mohithg","email":"mohithgm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/js-utils-deep-1.1.1.tgz_1481870644097_0.786148170242086"}},"1.1.2":{"name":"js-utils-deep","version":"1.1.2","description":"Javascript Deep Utility functions","main":"build/index.js","keywords":["javascript","utility","utilities","deep","object","recursive"],"scripts":{"test":"mocha --compilers js:babel-core/register --recursive","test-cov":"babel-node ./node_modules/.bin/isparta cover --report html --report text node_modules/.bin/_mocha","build":"rm -rf build && ./node_modules/.bin/babel src --out-dir build","clean":"rm -rf build","lint":"eslint src test"},"dependencies":{"underscore":"^1.8.3"},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.9.1","babel-eslint":"^6.0.4","babel-plugin-transform-react-jsx":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","chai":"^3.5.0","enzyme":"^2.3.0","eslint":"^2.12.0","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.4.2","eslint-plugin-react":"^5.1.1","isparta":"^4.0.0","mocha":"^2.5.3"},"repository":{"type":"git","url":"git+https://github.com/mohithg/js-utils.git"},"bugs":{"url":"https://github.com/mohithg/js-utils/issues"},"homepage":"https://github.com/mohithg/js-utils#readme","author":{"name":"Mohith G"},"license":"MIT","gitHead":"abc758bbcbfd927a0e3a80a8429752a5ceba12ed","_id":"js-utils-deep@1.1.2","_shasum":"7185f7fa651f21642bab6ffe74e21d802013b42f","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"mohithg","email":"mohithgm@gmail.com"},"dist":{"shasum":"7185f7fa651f21642bab6ffe74e21d802013b42f","tarball":"https://registry.npmjs.org/js-utils-deep/-/js-utils-deep-1.1.2.tgz","integrity":"sha512-RaMEq3bvw294n9/98JlMj0Q783CuZg1VWvslslsq5Uem2cD7iBDI9CADGMdQbQ7jDzcpKEUsNi5qukeoexgbfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJNtDSEn65zcXeVqaxqtYAKmFMuVKs85IxBI8uPXyWpgIgDUk9wqrtVqnumJEB/hC49vXzaSv+ly/6XsJW/5t3DHc="}]},"maintainers":[{"name":"mohithg","email":"mohithgm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/js-utils-deep-1.1.2.tgz_1481870803478_0.24383248784579337"}},"1.1.3":{"name":"js-utils-deep","version":"1.1.3","description":"Javascript Deep Utility functions","main":"build/index.js","keywords":["javascript","utility","utilities","deep","object","recursive"],"scripts":{"test":"mocha --compilers js:babel-core/register --recursive","test-cov":"babel-node ./node_modules/.bin/isparta cover --report html --report text node_modules/.bin/_mocha","build":"rm -rf build && ./node_modules/.bin/babel src --out-dir build","clean":"rm -rf build","lint":"eslint src test","generate_doc":"jsdoc -c jsdoc.conf.json * -t node_modules/docdash","generate_api_doc":"jsdoc2md src/index.js"},"dependencies":{"underscore":"^1.8.3"},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.9.1","babel-eslint":"^6.0.4","babel-plugin-transform-react-jsx":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","chai":"^3.5.0","enzyme":"^2.3.0","eslint":"^2.12.0","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.4.2","eslint-plugin-react":"^5.1.1","isparta":"^4.0.0","mocha":"^2.5.3","docdash":"^0.4.0","jsdoc":"^3.4.3"},"repository":{"type":"git","url":"git+https://github.com/mohithg/js-utils.git"},"bugs":{"url":"https://github.com/mohithg/js-utils/issues"},"homepage":"https://github.com/mohithg/js-utils#readme","author":{"name":"Mohith G"},"license":"MIT","gitHead":"0e578b579b6108909d0d1e13cbda82f7dffce36a","_id":"js-utils-deep@1.1.3","_shasum":"849b9b5ef1d855d7f2fe0a93f3d4be25811cd1b3","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"mohithg","email":"mohithgm@gmail.com"},"dist":{"shasum":"849b9b5ef1d855d7f2fe0a93f3d4be25811cd1b3","tarball":"https://registry.npmjs.org/js-utils-deep/-/js-utils-deep-1.1.3.tgz","integrity":"sha512-YpotgXa2mv+369Ew5Yg5aYNAou5pOOT5cABxD/Bw4AyB9z0kx0Tt6dmsSOC0KJpXdOgjxIB/pIr3G4v+F1DRZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEPZWUFBPGufjpz4Qmy79gK1VOr6Is2JFn/0Gt6d8ZDEAiEArIYs8tivMGvEDmXYh15b6PrZqUl67/h6r3+qou5zyAQ="}]},"maintainers":[{"name":"mohithg","email":"mohithgm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/js-utils-deep-1.1.3.tgz_1493135296362_0.8794494566973299"}},"1.1.4":{"name":"js-utils-deep","version":"1.1.4","description":"Javascript Deep Utility functions","main":"build/index.js","keywords":["javascript","utility","utilities","deep","object","recursive"],"scripts":{"test":"mocha --compilers js:babel-core/register --recursive","test-cov":"babel-node ./node_modules/.bin/isparta cover --report html --report text node_modules/.bin/_mocha","build":"rm -rf build && ./node_modules/.bin/babel src --out-dir build","clean":"rm -rf build","lint":"eslint src test","generate_doc":"jsdoc -c jsdoc.conf.json * -t node_modules/docdash","generate_api_doc":"jsdoc2md src/index.js"},"dependencies":{"underscore":"^1.8.3"},"devDependencies":{"babel-cli":"^6.10.1","babel-core":"^6.9.1","babel-eslint":"^6.0.4","babel-plugin-transform-react-jsx":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0","chai":"^3.5.0","enzyme":"^2.3.0","eslint":"^2.12.0","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.4.2","eslint-plugin-react":"^5.1.1","isparta":"^4.0.0","mocha":"^2.5.3","docdash":"^0.4.0","jsdoc":"^3.4.3"},"repository":{"type":"git","url":"git+https://github.com/mohithg/js-utils.git"},"bugs":{"url":"https://github.com/mohithg/js-utils/issues"},"homepage":"https://github.com/mohithg/js-utils#readme","author":{"name":"Mohith G"},"license":"MIT","gitHead":"6bd9ff766c6e0e49a7870f96ce0d19bf54cf621d","_id":"js-utils-deep@1.1.4","_shasum":"c175c81e3bc10839d1b5e0c614e693857126001d","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.8.1","_npmUser":{"name":"mohithg","email":"mohithgm@gmail.com"},"dist":{"shasum":"c175c81e3bc10839d1b5e0c614e693857126001d","tarball":"https://registry.npmjs.org/js-utils-deep/-/js-utils-deep-1.1.4.tgz","integrity":"sha512-u2eO9Wya3QqHym1V8Tm2RQIlMAl4FIpMMbjzqZsUppID2j9YYvGgHNIzC0ZDppnVeYnHOuC5lZLkMz1i+8aH2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQq8eEKqwK0jEMuY9HP57yaDD7qjRl2zmWetElUIO1oAIgIiXceegeurVAavn6USWZF5nNgvZSoaN+ZCUBGP3VTAM="}]},"maintainers":[{"name":"mohithg","email":"mohithgm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/js-utils-deep-1.1.4.tgz_1493183203340_0.8104315849486738"}}},"readme":"# JavaScript Deep Utility Functions\n\n## recursiveOmit (deepObject)\nRecursively omits the null, '', undefined values from the object. Checks all levels deep to remove the keys associated.\n```javascript\nlet deepObject = {\n  x: {\n    y: {\n      z: ''  \n    }\n    a: {\n      b: null,\n      c: undefined\n    }\n    d: null\n  }\n};\nrecursiveOmit(deepObject) // returns {}\n```\n## deepExtend (object1, object2)\nDeeply extend object1 with object2 where object1 will be target and object2 will be source.\n\n```javascript\nlet object1 = {\n  x: {\n    y: {\n      z: ''  \n    }\n    a: {\n      b: null,\n      c: undefined\n    }\n  }\n};\n\nlet object 2 = {\n  x: {\n    y: {\n      z: 'z',\n    }\n    a: {\n      b: 'b',\n      c: 'c'\n    }\n    d: 'd'\n  }\n};\n\ndeepExtend(object1, object2)\n/* returns {\n  x: {\n    y: {\n      z: 'z',\n    }\n    a: {\n      b: 'b',\n      c: 'c'\n    }\n    d: 'd'\n  }\n}; */\n```\n\n## diffObject(object1, object2)\nCompares object1 with object2 and returns the different key value pairs.\n\n```javascript\neg: let object1 = {\n  x: 'a',\n  y: 'b'\n};\n\nlet object 2 = {\n  x: 'a',\n  z: 'c',\n};\n\ndiffObject(object1, object2) \n/* returns {\n  y: 'b',\n  z: 'c'\n}; */\n```\n\n\n## Resources\n- [API Reference](http://mohithg.com/js-utils/)\n- [Wiki](https://github.com/mohithg/js-utils/wiki/API-Reference)\n","maintainers":[{"name":"mohithg","email":"mohithgm@gmail.com"}],"time":{"modified":"2022-06-19T05:46:28.524Z","created":"2016-11-01T02:33:11.047Z","1.0.0":"2016-11-01T02:33:11.047Z","1.0.1":"2016-11-03T00:32:46.606Z","1.1.0":"2016-11-03T01:21:11.850Z","1.1.1":"2016-12-16T06:44:05.630Z","1.1.2":"2016-12-16T06:46:45.240Z","1.1.3":"2017-04-25T15:48:17.129Z","1.1.4":"2017-04-26T05:06:44.193Z"},"author":{"name":"Mohith G"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/mohithg/js-utils#readme","keywords":["javascript","utility","utilities","deep","object","recursive"],"repository":{"type":"git","url":"git+https://github.com/mohithg/js-utils.git"},"bugs":{"url":"https://github.com/mohithg/js-utils/issues"}}