{"_id":"js-object-utilities","_rev":"7-33697c721d0f475535a7b84394193de4","name":"js-object-utilities","dist-tags":{"latest":"2.2.2"},"versions":{"1.0.0":{"name":"js-object-utilities","version":"1.0.0","keywords":[],"author":{"name":"rrainn, Inc."},"license":"UNLICENSE","_id":"js-object-utilities@1.0.0","maintainers":[{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"}],"homepage":"https://github.com/rrainn/objectutilities#readme","bugs":{"url":"https://github.com/rrainn/objectutilities/issues"},"dist":{"shasum":"deb95c2574d68beeb84c0bdf4227aac036d57add","tarball":"https://registry.npmjs.org/js-object-utilities/-/js-object-utilities-1.0.0.tgz","fileCount":33,"integrity":"sha512-QCiNz9rPf2aBKTef5bZ9vZZPpvDsK6x1HWnJmb7vEJO0Vyqus/pa+CDHMv28BQeU+DapHpa2lqc0xS9K3DZnlA==","signatures":[{"sig":"MEQCIHLf0IQn6PMeFbZlsut6OeBLBHq2eCEYfq56k1RDjC9HAiABhGNCB3qdxjpi4pQlHL5YDnP+azoddXrZFoCWeHy9Sg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTr2NCRA9TVsSAnZWagAAMesP/3rOwcSNHeNg9lISkMvJ\n2dpHMNHsQ6xGBJiZkGGwmnGsJOzHk1oYwWklVhYitU+urBxD+4RzfWE3kwkA\nMTQi8faCngADVbddGgoF0SbTIotcFgWGMuddSwzGF2Pi1Uyuhfha86bfo/Q9\n5JXlSDsTRnVpnyXdQvmg+u8w4j8J2q8fC2vvMWtfrT7pqswmpGpSMlEs4nFw\nuDEiPL1cn7mtwN5AOvPXe+Ni98Gv8huSlw7cS/bc31xDG2s6pvb6bXBJhebH\n3Kqk+u+MPT+jdJcHUIZMpenCA0klrJ2WF6EsxYSieKpH41+7Rf/kNn9Bh6+O\nF+95U/QDAJ+OpEw1r0/tYY2WmJCMiyIzKzXS+MbZgImP7OY2+E/1XeM0YakA\noiW3VJ6OasqaJ2PMQjId107fnLm61edE7kgEfXVauRYskykBy+UQpjz4JS4F\nEGpuBfk7cEhDGVYnbo+D3WWsQzH/9WsfaV6zXXErtZlBgnT1RepYAsV3lg8v\n+2Y7ylGesQwU9vREnyBO02fsv6sqt6TZMeG6iZgP3b1bsxC7YVxHYO7qfNzn\n9+yeJ1+DQeZL3RDvBPpICiDcbOjd9nPfbTktdwkiYdAggSbGJZ295Vr5lW4d\nDggt79HVgN2K1hxT/7Op/7UVf1PMiR/+a+sbylKMHCQrSVafFReXYzrqyeV6\nGBht\r\n=QmH9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e5b453122a23827657e5233c8b05ab57104acd52","scripts":{"lint":"eslint . --ext .ts,.js --max-warnings 0","test":"nyc npm run test:nocoverage","build":"tsc","prepare":"npm run build:clean && npm run build","lint:fix":"npm run lint -- --fix","test:debug":"npm run test:nocoverage -- --no-timeout --inspect=9229","test:types":"tsc --project test/types/tsconfig.json","build:clean":"rimraf dist","build:watch":"npm run build -- -w","test:nocoverage":"mocha","test:debug:breakpoint":"npm run test:nocoverage -- --no-timeout --inspect-brk=9229"},"_npmUser":{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"},"repository":{"url":"git+https://github.com/rrainn/objectutilities.git","type":"git"},"_npmVersion":"7.6.0","description":"","directories":{},"_nodeVersion":"15.11.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","mocha":"^7.2.0","eslint":"^7.13.0","rimraf":"^3.0.2","typescript":"^4.0.5","@types/node":"^14.14.7","@typescript-eslint/parser":"^4.7.0","@typescript-eslint/eslint-plugin":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/js-object-utilities_1.0.0_1615773068953_0.21604070025379074","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"js-object-utilities","version":"2.0.0","keywords":["object","utilities","nested","helper"],"author":{"name":"rrainn, Inc."},"license":"UNLICENSE","_id":"js-object-utilities@2.0.0","maintainers":[{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"}],"homepage":"https://github.com/rrainn/js-object-utilities#readme","bugs":{"url":"https://github.com/rrainn/js-object-utilities/issues"},"dist":{"shasum":"79629a32bdcc7a60dced03f669cabc78b35f637c","tarball":"https://registry.npmjs.org/js-object-utilities/-/js-object-utilities-2.0.0.tgz","fileCount":23,"integrity":"sha512-d0o5Hnd+9q9mswk8VhU9Fzl+QLce3FvtNlLKV7UTUYjAZuChAKeS/DnuameOpiJAXquqrXLJYUcABxhIWogwpA==","signatures":[{"sig":"MEUCIDvLnkFGhoNaKctPcF/LKDMrO9awsRh4lwpmPAF6O1AeAiEA0rKciIWmsD7XfajUhzI9DR1tzoEdBC+qENHijlrURpg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUnjECRA9TVsSAnZWagAAEeIP/2kvpJnQ/XkW6JS+5pT9\nolQj57Y/fK+Nz2hepeoosSt9SFRvun+CojunDZk0/AkXPkIltyA4tFLJesaY\nsYbR3HVIs5jGhWHQriFq96texc18DSWXFdahN2JlMrTOs6tJFuSCnrsat1uy\n2FV/dTPSSUEG42sG+nWaeuU+r5+VPalDBkE6aov6JJGfopgMdNrfPN0wuPle\ngju1qpHjDArIxMBQv559XpvPFzptbwbvkT53hBme/glwYaeirFjVbSkd0lG6\nSUL7QW2gG8uS3AXZl035zfgFj+Ii+5i9B7NlumizxOkZoG2wXzHP8vMaDe2o\n9a8zldtBhxyLYehNXpT3p5Y/4MsmLK0upPkf5oWJJqiCMZR988zvvfQydgjd\neqrMM2rX8WJjBliwLmzpjCzhM3zslfT5vUuc13ToOeFQps5PbrQfzPO9m5sa\nCbuNcPRkeCu9Cxec0VxwSkqSC+ldtPRxb8vfEJqer0Z0E75IYhdzFwoyoRnF\nec999UhJ1E4cQG8hllf2TFC6ssh8htxF9uLECqe5itOtK49L2TklVzQ7LDcU\n3Ev+pO5ZIOVDd3ZFoVrOrOWhnFE/2wDAsR2VG9UultwVJHgfm++s9nspqqlS\nZM56ktEvXpdnljoPQ78MpsjEmB7a0L4WmRZDrI15ksP+cbsTXaELHilJEq7v\nVp1f\r\n=+fSe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"878064481c2c23e7f85c7a198dacba4bf91cdf8a","scripts":{"lint":"eslint . --ext .ts,.js --max-warnings 0","test":"nyc npm run test:nocoverage","build":"tsc","prepare":"npm run build:clean && npm run build","lint:fix":"npm run lint -- --fix","test:debug":"npm run test:nocoverage -- --no-timeout --inspect=9229","build:clean":"rimraf dist","build:watch":"npm run build -- -w","test:nocoverage":"mocha","test:debug:breakpoint":"npm run test:nocoverage -- --no-timeout --inspect-brk=9229"},"_npmUser":{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"},"repository":{"url":"git+https://github.com/rrainn/js-object-utilities.git","type":"git"},"_npmVersion":"7.6.0","description":"JavaScript utilities for nested objects","directories":{},"_nodeVersion":"15.11.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","mocha":"^7.2.0","eslint":"^7.13.0","rimraf":"^3.0.2","typescript":"^4.0.5","@types/node":"^14.14.7","@typescript-eslint/parser":"^4.7.0","@typescript-eslint/eslint-plugin":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/js-object-utilities_2.0.0_1616017603950_0.6309636864555093","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"js-object-utilities","version":"2.1.0","keywords":["object","utilities","nested","helper"],"author":{"name":"rrainn, Inc."},"license":"UNLICENSE","_id":"js-object-utilities@2.1.0","maintainers":[{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"}],"homepage":"https://github.com/rrainn/js-object-utilities#readme","bugs":{"url":"https://github.com/rrainn/js-object-utilities/issues"},"dist":{"shasum":"6ea720e85ce4ca25f55bff2ae819be95e4ec60d1","tarball":"https://registry.npmjs.org/js-object-utilities/-/js-object-utilities-2.1.0.tgz","fileCount":25,"integrity":"sha512-X62npvVTfyNELV4gPU4jJSzFZbdxk3zH/FxlBrZ6n+AGKpGyhMpsPs00tjtqTLy582zG4bvaG5fuKMm/zA1gng==","signatures":[{"sig":"MEYCIQDhjAhHmVBMp7ftmqJ9GKAQ8CreqhI4cSntBvCNRx8hqwIhAOpiGv95ULsHb/7lckTmb66g8+qUxOS8tgBEqKVGDYFL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15118,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6MrjCRA9TVsSAnZWagAAL/kP/3sFMQjjHixLWQy0mLJU\nEn48Elvf0BRhVldehs19AdfFp9eFLIqtDwTJdcHzUEvEDXMNQIByeCfSla+x\npyhxjrGLdHFPcAfWQN5H4cB7cwXDgYRET2TgaQRyKWM1S/Fob2wENmK3bP/r\nujuXIqR8ZEUWfTHAecYx4bEyJAIRYsYeXbzqTGhJelZSCpW2RF4Qvf7gBwkh\nsrmJbJ71U0qXBn4Z7oLf2NRtAOpgcVZ98vTwUvH42SatdjBFrYuagK9je8oL\nRF+VCp+VLU8mqCPRXcXcxMz8R6/tA0+WYO5VOzxcDtTnbdGNe0tlTsMQ16Zk\nGsg5cEMH/u/gHmdXULQCcAqURuvPb4bAvmp7C/GvM4W2gd6x0E+PAWEzBnVW\nuKnoKlMzD4/fWblGAlX9/ine/1FehHCP84QAoPTCt3x/Wjlhf7aGMUEWkfZB\n8Ipc4HS0Tv+WDaHO7DlbnAYBtrN3s06Sm0mjC3Jgr8KqMZmNLhJHC+WsWTR3\nBX8D7BI5lTDVUzvKGuaSBxm4MCbe5bebFreQcobqV607t7TgKGHR6ShZJwqM\nfAgMFozHlcQ0e3NWbo3M0UxXl/SkGLN6U7Pi4oJpzsq8cIfhNtB/QikBRW3/\nYoGg7HNzAjy99yagfCos5PvEQId7BjXLZ8UsyAsuNru9Ngs/c9nAQKBxcUbT\nbw1n\r\n=rjeh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"28e21af964db356a063f7261d7859e8cc0e226b5","scripts":{"lint":"eslint . --ext .ts,.js --max-warnings 0","test":"nyc npm run test:nocoverage","build":"tsc","prepare":"npm run build:clean && npm run build","lint:fix":"npm run lint -- --fix","test:debug":"npm run test:nocoverage -- --no-timeout --inspect=9229","build:clean":"rimraf dist","build:watch":"npm run build -- -w","test:nocoverage":"mocha","test:debug:breakpoint":"npm run test:nocoverage -- --no-timeout --inspect-brk=9229"},"_npmUser":{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"},"repository":{"url":"git+https://github.com/rrainn/js-object-utilities.git","type":"git"},"_npmVersion":"8.1.2","description":"JavaScript utilities for nested objects","directories":{},"_nodeVersion":"16.13.2","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","mocha":"^7.2.0","eslint":"^7.13.0","rimraf":"^3.0.2","typescript":"^4.0.5","@types/node":"^14.14.7","@typescript-eslint/parser":"^4.7.0","@typescript-eslint/eslint-plugin":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/js-object-utilities_2.1.0_1642646243690_0.3355519221476897","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"js-object-utilities","version":"2.2.0","keywords":["object","utilities","nested","helper"],"author":{"name":"rrainn, Inc."},"license":"UNLICENSE","_id":"js-object-utilities@2.2.0","maintainers":[{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"}],"homepage":"https://github.com/rrainn/js-object-utilities#readme","bugs":{"url":"https://github.com/rrainn/js-object-utilities/issues"},"dist":{"shasum":"4677a7fd3174369fb8f0d8c10fb9f7381c71fd0d","tarball":"https://registry.npmjs.org/js-object-utilities/-/js-object-utilities-2.2.0.tgz","fileCount":27,"integrity":"sha512-gVw7FwD6r7mNNjzSKJ74uxvqNIGu7hb67K+Xvwus9JRBTWLezxcg77cCFOmTbiToV09BqdYmIJ+zfL3UiWDtpQ==","signatures":[{"sig":"MEUCIQCj4K3y78TKvreGs5Za/rIGF4czQ353YeiRIQ5ejMM98gIgV51XyqLx2n7TduKdwlTLr9bR5vbHWdeBFSv/t2sUuU0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16332},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8408f3dec26026fe33c8b93e25c7034e9414033b","scripts":{"lint":"eslint . --ext .ts,.js --max-warnings 0","test":"nyc npm run test:nocoverage","build":"tsc","prepare":"npm run build:clean && npm run build","lint:fix":"npm run lint -- --fix","test:debug":"npm run test:nocoverage -- --no-timeout --inspect=9229","build:clean":"rimraf dist","build:watch":"npm run build -- -w","test:nocoverage":"mocha","test:debug:breakpoint":"npm run test:nocoverage -- --no-timeout --inspect-brk=9229"},"_npmUser":{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"},"repository":{"url":"git+https://github.com/rrainn/js-object-utilities.git","type":"git"},"_npmVersion":"10.1.0","description":"JavaScript utilities for nested objects","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","mocha":"^7.2.0","eslint":"^7.13.0","rimraf":"^3.0.2","typescript":"^4.0.5","@types/node":"^14.14.7","@typescript-eslint/parser":"^4.7.0","@typescript-eslint/eslint-plugin":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/js-object-utilities_2.2.0_1703102613519_0.46433705838591033","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"js-object-utilities","version":"2.2.1","keywords":["object","utilities","nested","helper"],"author":{"name":"rrainn, Inc."},"license":"UNLICENSE","_id":"js-object-utilities@2.2.1","maintainers":[{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"}],"homepage":"https://github.com/rrainn/js-object-utilities#readme","bugs":{"url":"https://github.com/rrainn/js-object-utilities/issues"},"dist":{"shasum":"8c8b65bced78d4cfe598781f52ec63f17e15d2c9","tarball":"https://registry.npmjs.org/js-object-utilities/-/js-object-utilities-2.2.1.tgz","fileCount":27,"integrity":"sha512-0Ki0uXeMEga6OVM7ESxLjSaCYMdrQ46av0VomzaQT7BWNwMsEodmrtImkdD6K7SCq0ADw1uoQm4HBrsMQqtEww==","signatures":[{"sig":"MEQCIEChwnesfLGzM6LVolhttG2wnoUpGLW2MIy16rosqjVdAiAXXUOor0NYHrE70tayc1cCDf4/uFryeS8Qowl4vjYyBQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16521},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9b7e656f5869b1ba2c93c80f95810b992ce9ed0a","scripts":{"lint":"eslint . --ext .ts,.js --max-warnings 0","test":"nyc npm run test:nocoverage","build":"tsc","prepare":"npm run build:clean && npm run build","lint:fix":"npm run lint -- --fix","test:debug":"npm run test:nocoverage -- --no-timeout --inspect=9229","build:clean":"rimraf dist","build:watch":"npm run build -- -w","test:nocoverage":"mocha","test:debug:breakpoint":"npm run test:nocoverage -- --no-timeout --inspect-brk=9229"},"_npmUser":{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"},"repository":{"url":"git+https://github.com/rrainn/js-object-utilities.git","type":"git"},"_npmVersion":"10.1.0","description":"JavaScript utilities for nested objects","directories":{},"_nodeVersion":"20.9.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","mocha":"^7.2.0","eslint":"^7.13.0","rimraf":"^3.0.2","typescript":"^4.0.5","@types/node":"^14.14.7","@typescript-eslint/parser":"^4.7.0","@typescript-eslint/eslint-plugin":"^4.7.0"},"_npmOperationalInternal":{"tmp":"tmp/js-object-utilities_2.2.1_1743963165282_0.16571476173326016","host":"s3://npm-registry-packages-npm-production"}},"2.2.2":{"name":"js-object-utilities","version":"2.2.2","description":"JavaScript utilities for nested objects","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prepare":"npm run build:clean && npm run build","build":"tsc","build:clean":"rimraf dist","build:watch":"npm run build -- -w","test:nocoverage":"mocha","test":"nyc npm run test:nocoverage","test:debug":"npm run test:nocoverage -- --no-timeout --inspect=9229","test:debug:breakpoint":"npm run test:nocoverage -- --no-timeout --inspect-brk=9229","lint":"eslint . --ext .ts,.js --max-warnings 0","lint:fix":"npm run lint -- --fix"},"devDependencies":{"@types/node":"^14.14.7","@typescript-eslint/eslint-plugin":"^4.7.0","@typescript-eslint/parser":"^4.7.0","chai":"^4.2.0","eslint":"^7.13.0","mocha":"^7.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^4.0.5"},"repository":{"type":"git","url":"git+https://github.com/rrainn/js-object-utilities.git"},"keywords":["object","utilities","nested","helper"],"author":{"name":"rrainn, Inc."},"license":"UNLICENSE","bugs":{"url":"https://github.com/rrainn/js-object-utilities/issues"},"homepage":"https://github.com/rrainn/js-object-utilities#readme","gitHead":"6fc8759bede297c8fa26e739d6fda96b57bfde92","_id":"js-object-utilities@2.2.2","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-aGR/vTtfaGSfE/xr204MNPnG82L4lPmq6+RXIJmh8Ke0QZrUvIzl9y2qxYjDE58TDaXMGQ+eaiEHUwRlaQlXlQ==","shasum":"ab126d76b11e043c6c707761bc719f6f202e40d8","tarball":"https://registry.npmjs.org/js-object-utilities/-/js-object-utilities-2.2.2.tgz","fileCount":27,"unpackedSize":16912,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGPtC8McGwlOW3AjINltqoJfcZGoyUp0xQKqRZVvpwwWAiEAji/RtpcBeeUP0xzZkLDdIXKeCs8xrJAffrrXVN1VOXU="}]},"_npmUser":{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"},"directories":{},"maintainers":[{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/js-object-utilities_2.2.2_1785892008331_0.27109332684744225"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-15T01:51:08.953Z","modified":"2026-08-05T01:06:48.665Z","1.0.0":"2021-03-15T01:51:09.155Z","2.0.0":"2021-03-17T21:46:44.110Z","2.1.0":"2022-01-20T02:37:23.857Z","2.2.0":"2023-12-20T20:03:33.710Z","2.2.1":"2025-04-06T18:12:45.457Z","2.2.2":"2026-08-05T01:06:48.484Z"},"bugs":{"url":"https://github.com/rrainn/js-object-utilities/issues"},"author":{"name":"rrainn, Inc."},"license":"UNLICENSE","homepage":"https://github.com/rrainn/js-object-utilities#readme","keywords":["object","utilities","nested","helper"],"repository":{"type":"git","url":"git+https://github.com/rrainn/js-object-utilities.git"},"description":"JavaScript utilities for nested objects","maintainers":[{"name":"fishcharlie","email":"fishcharlie.code@gmail.com"}],"readme":"# js-object-utilities\n\nThis package has a bunch of helper methods to work with nested objects in JavaScript.\n\n## Install\n\n```\nnpm i js-object-utilities\n```\n\n## API\n\n### objectutils.get(obj, key)\n\nThis function takes in an object (`obj`) and a key (`key`) and returns the value for the given key.\n\n```js\nconst objectutils = require(\"js-object-utilities\");\nconsole.log(objectutils.get({\n\t\"data\": {\n\t\t\"hello\": \"world\"\n\t}\n}, \"data.hello\"));\n\n// Will print \"world\"\n```\n\n### objectutils.set(obj, key, value)\n\nThis function takes in an object (`obj`), key (`key`), and a value (`value`) and mutates the object setting the value for the given key.\n\n```js\nconst objectutils = require(\"js-object-utilities\");\nconst object = {\n\t\"data\": {\n\t\t\"hello\": \"world\"\n\t}\n};\nobjectutils.set(object, \"data.hello\", \"universe\");\nconsole.log(object); // {\"data\": {\"hello\": \"universe\"}}\n```\n\n### objectutils.delete(obj, key)\n\nThis function takes in an object (`obj`), and key (`key`), and deletes the given value for the key you passed in.\n\n```js\nconst objectutils = require(\"js-object-utilities\");\nconst object = {\n\t\"data\": {\n\t\t\"hello\": \"world\"\n\t}\n};\nobjectutils.delete(object, \"data.hello\");\nconsole.log(object); // {\"data\": {}}\n```\n\n### objectutils.pick(obj, keys)\n\nThis function takes in an object (`obj`), and array of keys (`keys`), and returns an object for the given keys you passed in.\n\n```js\nconst objectutils = require(\"js-object-utilities\");\nconst object = {\n\t\"data\": {\n\t\t\"hello\": \"world\",\n\t\t\"space\": \"travel\",\n\t\t\"node\": \"npm\"\n\t}\n};\nobjectutils.delete(object, [\"data.hello\", \"data.space\"]);\nconsole.log(object); // {\"data\": {\"hello\": \"world\", \"space\": \"travel\"}}\n```\n\n### objectutils.keys(obj)\n\nThis function takes in an object (`obj`), and returns an array of keys included in that object.\n\n```js\nconst objectutils = require(\"js-object-utilities\");\nconst object = {\n\t\"data\": {\n\t\t\"hello\": \"world\",\n\t\t\"space\": \"travel\",\n\t\t\"node\": \"npm\"\n\t}\n};\nconsole.log(objectutils.keys(object)); // [\"data\", \"data.hello\", \"data.space\", \"data.node\"]\n```\n\n### objectutils.entries(obj)\n\nThis function takes in an object (`obj`), and returns an array of entries included in that object.\n\n```js\nconst objectutils = require(\"js-object-utilities\");\nconst object = {\n\t\"data\": {\n\t\t\"hello\": \"world\",\n\t\t\"space\": \"travel\",\n\t\t\"node\": \"npm\"\n\t}\n};\nconsole.log(objectutils.keys(object)); // [[\"data\", {\"hello\": \"world\", \"space\": \"travel\", \"node\": \"npm\"}], [\"data.hello\", \"world\"], [\"data.space\", \"travel\"], [\"data.node\", \"npm]]\n```\n\n### objectutils.equals(obj)\n\nThis function takes in two values, and returns a boolean representing if they are equal. If objects as passed in it will check to ensure the entire object is identical.\n\n```js\nconst objectutils = require(\"js-object-utilities\");\nconst object = {\n\t\"data\": {\n\t\t\"hello\": \"world\",\n\t\t\"space\": \"travel\",\n\t\t\"node\": \"npm\"\n\t}\n};\nconsole.log(objectutils.equals(object, {\n\t\"data\": {\n\t\t\"hello\": \"world\",\n\t\t\"space\": \"travel\",\n\t\t\"node\": \"npm\"\n\t}\n})); // true\n\nconsole.log(objectutils.equals(object, {\n\t\"data\": {\n\t\t\"hello\": \"universe\",\n\t\t\"space\": \"travel\",\n\t\t\"node\": \"npm\"\n\t}\n})); // false\n```\n\n### objectutils.clearEmpties(obj)\n\nThis function takes in an object and mutates it to remove all objects with a length of 0.\n\n```js\nconst objectutils = require(\"js-object-utilities\");\nconst object = {\n\t\"data\": {\n\t\t\"hello\": \"world\",\n\t\t\"space\": \"travel\",\n\t\t\"node\": \"npm\",\n\t\t\"otherData\": {}\n\t}\n};\nobjectutils.clearEmpties(object);\nconsole.log(object);\n// {\n// \t\"data\": {\n// \t\t\"hello\": \"world\",\n// \t\t\"space\": \"travel\",\n// \t\t\"node\": \"npm\",\n// \t}\n// }\n```\n\n### objectutils.isCircular(obj[, searchKey])\n\nThis function checks to see if an object is circular. If a search key is passed in it will only return `true` if the object is circular and the search key is the key that caused the circularity.\n\nThis function will also check all nested objects for circularity.\n\n```js\nconst objectutils = require(\"js-object-utilities\");\n\nlet object = {};\nobject.array = {\"first\": 1};\nobject.array2 = object;\n\nconst isCircular = objectutils.isCircular(object);\nconsole.log(isCircular); // true\n\nconst isRandomKeyCircular = objectutils.isCircular(object, \"random\");\nconsole.log(isRandomKeyCircular); // false\n\nconst isArray2KeyCircular = objectutils.isCircular(object, \"array2\");\nconsole.log(isArray2KeyCircular); // true\n```\n\n### objectutils.circularKeys(obj[, searchKey])\n\nThis function is identical to `objectutils.isCircular` except it returns an array of keys that are circular.\n\n```js\nconst objectutils = require(\"js-object-utilities\");\n\nlet object = {};\nobject.array = {\"first\": 1};\nobject.array2 = object;\n\nconst circularKeys = objectutils.circularKeys(object);\nconsole.log(circularKeys); // [\"array2\"]\n\nconst randomKeyCircular = objectutils.circularKeys(object, \"random\");\nconsole.log(randomKeyCircular); // []\n\nconst array2KeyCircular = objectutils.circularKeys(object, \"array2\");\nconsole.log(array2KeyCircular); // [\"array2\"]\n```\n","readmeFilename":"README.md"}