{"_id":"getorset-anything","_rev":"13-5876fa4d13054e2ee6ac071930d168d7","name":"getorset-anything","dist-tags":{"latest":"1.1.3"},"versions":{"0.0.1":{"name":"getorset-anything","version":"0.0.1","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget"],"author":{"name":"Luca Ban - Mesqueeb"},"license":"MIT","_id":"getorset-anything@0.0.1","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":{"url":"https://github.com/mesqueeb/getorset-anything/issues"},"np":{"yarn":false,"branch":"production"},"dist":{"shasum":"41b9b69f6a58b0d6cbb31c3165be9aa037685b5d","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-0.0.1.tgz","fileCount":6,"integrity":"sha512-F3GX+PiUY9pDXYfCmpp4JIaTOZVW3pi7tDO6cWklGvIqInCkzHuAiVXt+S1/JRqVT0p3J9pDPqD+9MXYFk3Lgg==","signatures":[{"sig":"MEYCIQCK1JkXI+rGxd+VIljNwnL4jsPegB6InL+J+GVoufnzZAIhAN0MMf/hXwxYlLJVT4o9mELhuyjAQ6Sj41WRfs/4IW7w","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9051,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCukfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoL6Q/+LtstgbVos/jytVaWTL/l83/kIf73zMEajTFpyllOFj2pOJXw\r\nNBu9S1DcSinzVF2CNs9JPAcLO6RXCDKjO1tMG43OlcS8Pp/8uzHqbcQ3zm92\r\nnGh/WuBxFk2oq0OBSvrETxX+MiPkpitsYzO8l49D68bSjFkgnTf9M9JEuhcN\r\nvwdgI6GlU5PFC41dxpMYnTHnliejQsybN3ybQ72SOV1rlAcFD7o3Vle9vTVM\r\nH/9c/gm6puCmiRYXQt95FJxLbgvII4e/9w1HEp/nEc+wgM18bsH5s+K7IG/B\r\n+UOFTpdhK1dbfsAoi8dI3taFoszQPPczJ7lmOJb7wA5IMJ0Agr1qvfBKmDPe\r\nMR8Wqav+ROrxxv/2MFDQyUAyaMCM3SHPDi0H6NTY6gBQv2/ACWS5Seh/P8u7\r\nFW2FNRy6CPI1ub0mOgTrUBS4OCOqK7q5mHkHgo7ARIPA5X7f/SpIclmNq4Wc\r\nTEMUNFEKUaPmP3HfmlOZ+s1uoVjT7nHhaeEiBtUqGfIXLjbrWtAh0x1wL7e8\r\nbfOHyDQPAfNvOqks9DxtRHlO2Oc1sjXD0C2OOrpqhKwZRWXNQQ4OWK41kp3r\r\nivMzDS4pQkzXK3tNez364zHZUpaym9RU+sOi5NyWLuf5GAB5mNkGnYZsdsSK\r\nClFGT74x6E3x0LWO5eVdJnrcTq4Ld8Qx7lk=\r\n=ZQJQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/index.es.js","engines":{"node":">=12.13"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/index.es.js","require":"./dist/index.cjs"}},"funding":"https://github.com/sponsors/mesqueeb","gitHead":"376c4145bfb4479545883397dc31a376b8c7fa6b","scripts":{"lint":"tsc --noEmit && eslint ./src --ext .ts","test":"vitest run","build":"npm run clean && rollup -c ./scripts/build.js","clean":"del ./dist","release":"npm run lint && del dist && npm run build && np"},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"git+https://github.com/mesqueeb/getorset-anything.git","type":"git"},"_npmVersion":"8.18.0","description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_nodeVersion":"16.13.0","dependencies":{},"eslintConfig":{"root":true,"rules":{"@typescript-eslint/ban-ts-ignore":"off","@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-explicit-any":"off","@typescript-eslint/no-empty-function":"off","tree-shaking/no-side-effects-in-initialization":"error"},"parser":"@typescript-eslint/parser","extends":["eslint:recommended","plugin:@typescript-eslint/eslint-recommended","plugin:@typescript-eslint/recommended","prettier"],"plugins":["@typescript-eslint","tree-shaking"],"ignorePatterns":["node_modules","dist","scripts","test"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^7.6.0","eslint":"^8.7.0","rollup":"^2.66.1","vitest":"^0.2.3","del-cli":"^4.0.1","prettier":"^2.5.1","typescript":"^4.5.5","eslint-config-prettier":"^8.3.0","@typescript-eslint/parser":"^5.10.1","rollup-plugin-typescript2":"^0.31.1","eslint-plugin-tree-shaking":"^1.10.0","@typescript-eslint/eslint-plugin":"^5.10.1"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_0.0.1_1661659423024_0.1190152605459407","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"getorset-anything","version":"0.0.2","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"author":{"name":"Luca Ban - Mesqueeb"},"license":"MIT","_id":"getorset-anything@0.0.2","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":{"url":"https://github.com/mesqueeb/getorset-anything/issues"},"np":{"yarn":false,"branch":"production"},"dist":{"shasum":"d96a7eb1e60bd9d6120aa0b045b2ec07fe4def8f","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-0.0.2.tgz","fileCount":6,"integrity":"sha512-rDQa2Bb1+tqAKAgKF2/Bvx3yW0yYSMr6h57uO3SYJNDVb3MZh6NwXFuEu0NSGJD5JrlegCiR9Yrf7mEQxOgjkg==","signatures":[{"sig":"MEQCIHrzDIMLdb4BZfE8U+y4by8YPfVKqP0xAS60KQZhgQNOAiAJ9Df3Nze2wPmXx5OxRKFay4Nqd/QOTbOtxj8SXP0SIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCuo+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNYw/8CF5wxiFVMoRV6GZRdmkjbnoTaej06NSZP6P9CvB7s8ZsiHwF\r\nAZzc049vIf9d5elmDpAyZ+6hEAlXf9+Jogug06+t5YQRanbNcKpdJY9E9kMb\r\npNc3O/Dtrx7tTp+LdJGNUlJ+jLwd/Djmvaj2X63yzGjaUS5dugZkas1UuA4p\r\n2732NqJB/5rZNhf+chp2xbAPjFIbM5nkjOlUsDBlTOskVJ0NJzfzo4oAfp0S\r\nFgynG3RRKri0zabOy+SZkYefnoreP2wxNdmgHgeP5jNchyZfiGVZjKMIEty5\r\ny9ObmXbRUjeyqz0k+ra4bYnMubYpxLbE604saGGUK98tOESnHB7P2r0ZtHOX\r\nakwerNS6bky4QSviWNIi4i09nLFYqsgbjhtbgPFsXZYtL5J/NZTluv5FgigL\r\nS0JhhawQoAK9vR0ThkX2sVGosi9J3iNRzekSOXaaRF7hBp+enlJ5JY+DO7EU\r\nIih/y31cr0fzRKBIH6LR5hriTfc7kfr1s+hXGCygCN4oauFFwmrYn/Ay1Zn+\r\nZBtE1dJTufPXndxCsNAETxMEaGqsnCaKnLgqGmX0VtlTXiCk4l7bJrIwah48\r\nxcFFqsPeGleZ7gX07Im5ZG02sncKQ8BcFi0bf9zczXaDAvz+1h/tmk6E8RMM\r\nbGsoORZcyDB3u+QDZ3C+Ty4QpT0F/055c0k=\r\n=YE11\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/index.es.js","engines":{"node":">=12.13"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/index.es.js","require":"./dist/index.cjs"}},"funding":"https://github.com/sponsors/mesqueeb","gitHead":"02e2be9faa4d89cfed39fafa2c6f5ce813e6bbb4","scripts":{"lint":"tsc --noEmit && eslint ./src --ext .ts","test":"vitest run","build":"npm run clean && rollup -c ./scripts/build.js","clean":"del ./dist","release":"npm run lint && del dist && npm run build && np"},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"git+https://github.com/mesqueeb/getorset-anything.git","type":"git"},"_npmVersion":"8.18.0","description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_nodeVersion":"16.13.0","dependencies":{},"eslintConfig":{"root":true,"rules":{"@typescript-eslint/ban-ts-ignore":"off","@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-explicit-any":"off","@typescript-eslint/no-empty-function":"off","tree-shaking/no-side-effects-in-initialization":"error"},"parser":"@typescript-eslint/parser","extends":["eslint:recommended","plugin:@typescript-eslint/eslint-recommended","plugin:@typescript-eslint/recommended","prettier"],"plugins":["@typescript-eslint","tree-shaking"],"ignorePatterns":["node_modules","dist","scripts","test"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^7.6.0","eslint":"^8.7.0","rollup":"^2.66.1","vitest":"^0.2.3","del-cli":"^4.0.1","prettier":"^2.5.1","typescript":"^4.5.5","eslint-config-prettier":"^8.3.0","@typescript-eslint/parser":"^5.10.1","rollup-plugin-typescript2":"^0.31.1","eslint-plugin-tree-shaking":"^1.10.0","@typescript-eslint/eslint-plugin":"^5.10.1"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_0.0.2_1661659710176_0.6601393363169543","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"getorset-anything","version":"0.0.3","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"author":{"name":"Luca Ban - Mesqueeb"},"license":"MIT","_id":"getorset-anything@0.0.3","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":{"url":"https://github.com/mesqueeb/getorset-anything/issues"},"np":{"yarn":false,"branch":"production"},"dist":{"shasum":"96179113744242cba4f4b74cbf0e4c529e3755d3","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-0.0.3.tgz","fileCount":6,"integrity":"sha512-DzgDK/PFD1ATdWoZB64YZXP7M0a8dc2zV5820TYgIrx6bGq+Qq+Cln1IC65pvmAW2fMlM8mnL7IpbV+SoBhU1g==","signatures":[{"sig":"MEQCIE4UMzV4hbshdlcXPb0SvjHIrfG3PrCG74mcQqZYJ5/CAiAH4dD61wCyv+xfB9JNeTQZeN7JZQZ/wINNCU+XncYLUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjThy8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYyBAAlzAkRKzBTrxvwEdq7m/ciCejRlpBP6BmyuyjXBOncTfhnJWy\r\nDgMi9oH3L0HWZo5NexAXl/294jp4rA9fDgai7k1Jh6Mcy8h4CgS5+kXKj4Ss\r\npELomfVIb7CD7/szFHFMYnw9EcbMXA/bK8bMRhy+seNLis/pe2T1MUlpZY6O\r\ntvCohdypOt4weDZKFMtkjdlHBpqUxWSuv6p0ALM2Chq7CN7CpzQuSmJphWMX\r\nIOk53icA71NX3SR7P5PZvVnomixn/AZ3bpE3hixZoqyFW++Jt3c1hFefk27k\r\na/GZz9LG/oE5AKnhD+tjI+LNE9MlD7NKG8BUpJJjsvyMGa7uyhe2i/IlVXql\r\nK/05g/AcgP4XyMwU/OR6+6OkqrDacfV8T68kt7KvKOcKlo6WWHGoR/PGd+1n\r\ndHqacOH3BfWCritfvssdlvgdI2RvpriS1007oAVOs1Fgjj4zCv5A9BcJKNxY\r\nLgUZQTmK+D7OaXaLCvQuszByM8WJBiGws/k/sSeLZRLkVWFFdX0ZDJCq1l5u\r\noxEk4iOO6YqoLB6PWlCHtozjWwxvropZqnJwA4gWcPaLeCzwqHHw90r4628h\r\nbaxkQb6bb210sISKu3R93oQq7bIRtbdPXFoCxyx0lFgqdChRaqjpDPRNd3et\r\n/RsL4298Tc50ti1tbkzrCvqtWHc3UGG79xc=\r\n=0FbT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/index.es.js","engines":{"node":">=12.13"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/index.es.js","require":"./dist/index.cjs"}},"funding":"https://github.com/sponsors/mesqueeb","gitHead":"69a425b0fd8920f0281c7eb78436f60f2f1da13a","scripts":{"lint":"tsc --noEmit && eslint ./src --ext .ts","test":"vitest run","build":"npm run clean && rollup -c ./scripts/build.js","clean":"del ./dist","release":"npm run lint && del dist && npm run build && np"},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"git+https://github.com/mesqueeb/getorset-anything.git","type":"git"},"_npmVersion":"8.19.1","description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_nodeVersion":"16.13.0","dependencies":{},"eslintConfig":{"root":true,"rules":{"@typescript-eslint/ban-ts-ignore":"off","@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-explicit-any":"off","@typescript-eslint/no-empty-function":"off","tree-shaking/no-side-effects-in-initialization":"error"},"parser":"@typescript-eslint/parser","extends":["eslint:recommended","plugin:@typescript-eslint/eslint-recommended","plugin:@typescript-eslint/recommended","prettier"],"plugins":["@typescript-eslint","tree-shaking"],"ignorePatterns":["node_modules","dist","scripts","test"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^7.6.0","eslint":"^8.7.0","rollup":"^2.66.1","vitest":"^0.2.3","del-cli":"^4.0.1","prettier":"^2.5.1","typescript":"^4.5.5","eslint-config-prettier":"^8.3.0","@typescript-eslint/parser":"^5.10.1","rollup-plugin-typescript2":"^0.31.1","eslint-plugin-tree-shaking":"^1.10.0","@typescript-eslint/eslint-plugin":"^5.10.1"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_0.0.3_1666063548223_0.8679670241074324","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"getorset-anything","version":"0.0.4","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"author":{"name":"Luca Ban - Mesqueeb"},"license":"MIT","_id":"getorset-anything@0.0.4","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":{"url":"https://github.com/mesqueeb/getorset-anything/issues"},"np":{"yarn":false,"branch":"production"},"dist":{"shasum":"1c71f5f944a69a5ec3d59e51849aef0fb38021b3","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-0.0.4.tgz","fileCount":6,"integrity":"sha512-Wd9VdtbG+6qCHaLx7hNEty8Fkwyeoc2/q1sHh7vzbVLfTSxNQOjcMFyg1wejy2hySskBgPB+vVhrpj9iy3Pw4A==","signatures":[{"sig":"MEUCIQDO81atl/vwgAIpxeEPIH/oV5MXK6wIxELVqUFzN+em5wIgbt7k78o8oU2Cx/OUiBLUZL+/An+v1g2k2f4O23NPIB4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9428},"main":"./dist/index.cjs","type":"module","types":"./dist/types/index.d.ts","module":"./dist/index.es.js","engines":{"node":">=12.13"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/index.es.js","require":"./dist/index.cjs"}},"funding":"https://github.com/sponsors/mesqueeb","gitHead":"f3ea6ac9c271cbdbf11f352332ad05a7b0dc5d78","scripts":{"lint":"tsc --noEmit && eslint ./src --ext .ts","test":"vitest run","build":"rollup --bundleConfigAsCjs -c ./scripts/build.js","clean":"del ./dist","release":"npm run lint && npm run clean && npm run build && np"},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"git+https://github.com/mesqueeb/getorset-anything.git","type":"git"},"_npmVersion":"9.5.1","description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{},"eslintConfig":{"root":true,"rules":{"@typescript-eslint/ban-ts-ignore":"off","@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-explicit-any":"off","@typescript-eslint/no-empty-function":"off","tree-shaking/no-side-effects-in-initialization":"error"},"parser":"@typescript-eslint/parser","extends":["eslint:recommended","plugin:@typescript-eslint/eslint-recommended","plugin:@typescript-eslint/recommended","prettier"],"plugins":["@typescript-eslint","tree-shaking"],"ignorePatterns":["node_modules","dist","scripts","test"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^7.7.0","eslint":"^8.40.0","rollup":"^3.21.5","vitest":"^0.31.0","del-cli":"^4.0.1","prettier":"^2.8.8","typescript":"^4.9.5","eslint-config-prettier":"^8.8.0","@typescript-eslint/parser":"^5.59.2","rollup-plugin-typescript2":"^0.34.1","eslint-plugin-tree-shaking":"^1.10.0","@typescript-eslint/eslint-plugin":"^5.59.2"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_0.0.4_1683443956270_0.8487855261267718","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"getorset-anything","version":"0.0.5","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"author":{"name":"Luca Ban - Mesqueeb"},"license":"MIT","_id":"getorset-anything@0.0.5","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":{"url":"https://github.com/mesqueeb/getorset-anything/issues"},"np":{"yarn":false,"branch":"production"},"dist":{"shasum":"837662d6503d3f581dfd2db7f13c838a8c3394a8","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-0.0.5.tgz","fileCount":7,"integrity":"sha512-TM3mfZ//r2dIVwCuCqAxNllJU+g19O2TpoUf/Dv+BCgNg08Ea5uqlR3BgtmkzYm58OiX4UVcQJ6gMIrKTuaTgg==","signatures":[{"sig":"MEUCIQDDdDmDmu02qnc6NHheEZi2sQGZThSM87/7xYs4mxsGSAIgBI1wEj2S3apyNLvvtnAsRkuWlVkB5Meyl0bVFjZvedI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9344},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=12.13"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"funding":"https://github.com/sponsors/mesqueeb","gitHead":"e6271bcaecef35a8f298787d2c63f92be2975891","scripts":{"lint":"tsc --noEmit && eslint ./src --ext .ts","test":"vitest run","build":"rollup -c ./rollup.config.js","release":"npm run lint && del dist && npm run build && np"},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"git+https://github.com/mesqueeb/getorset-anything.git","type":"git"},"_npmVersion":"9.5.1","description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_nodeVersion":"18.16.0","eslintConfig":{"root":true,"rules":{"@typescript-eslint/ban-ts-ignore":"off","@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-explicit-any":"off","@typescript-eslint/no-empty-function":"off","tree-shaking/no-side-effects-in-initialization":"error"},"parser":"@typescript-eslint/parser","extends":["eslint:recommended","plugin:@typescript-eslint/eslint-recommended","plugin:@typescript-eslint/recommended","prettier"],"plugins":["@typescript-eslint","tree-shaking"],"ignorePatterns":["node_modules","dist","scripts","test"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^7.7.0","eslint":"^8.40.0","rollup":"^3.23.0","vitest":"^0.31.0","del-cli":"^5.0.0","prettier":"^2.8.8","typescript":"^4.9.5","rollup-plugin-dts":"^5.3.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.8.0","@typescript-eslint/parser":"^5.59.2","eslint-plugin-tree-shaking":"^1.10.0","@typescript-eslint/eslint-plugin":"^5.59.2"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_0.0.5_1684808791457_0.5040779545676617","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"getorset-anything","version":"0.1.0","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"author":{"name":"Luca Ban - Mesqueeb"},"license":"MIT","_id":"getorset-anything@0.1.0","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":{"url":"https://github.com/mesqueeb/getorset-anything/issues"},"np":{"yarn":false,"branch":"production"},"dist":{"shasum":"a1f331fba186d8d1a7145d161ea16f684f1d20fe","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-0.1.0.tgz","fileCount":7,"integrity":"sha512-O9I0CGjAZmAxx6WmD93/nfptRZV5tNkSHyOCwdxU7eaRTfEKw6euW72QQI2nfR3qZjWWcgwtDQ3fku+vslNPUA==","signatures":[{"sig":"MEYCIQCTGqp6uOH7rAugw5jKGEPALH4BIS923VAANUTCQJm65AIhAPb87RACpq9EcVTxvkkh+j74mWFRiz/DpbQ9Gu+RI0tx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10453},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=12.13"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"funding":"https://github.com/sponsors/mesqueeb","gitHead":"2f58c420bdbfa13ad5f72ad3050713c0345ad928","scripts":{"lint":"tsc --noEmit && eslint ./src --ext .ts","test":"vitest run","build":"rollup -c ./rollup.config.js","release":"npm run lint && del dist && npm run build && np"},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"git+https://github.com/mesqueeb/getorset-anything.git","type":"git"},"_npmVersion":"10.5.0","description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","eslintConfig":{"root":true,"rules":{"@typescript-eslint/ban-ts-ignore":"off","@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-explicit-any":"off","@typescript-eslint/no-empty-function":"off","tree-shaking/no-side-effects-in-initialization":"error"},"parser":"@typescript-eslint/parser","extends":["eslint:recommended","plugin:@typescript-eslint/eslint-recommended","plugin:@typescript-eslint/recommended","prettier"],"plugins":["@typescript-eslint","tree-shaking"],"ignorePatterns":["node_modules","dist","scripts","test"]},"_hasShrinkwrap":false,"devDependencies":{"np":"^7.7.0","eslint":"^8.40.0","rollup":"^3.23.0","vitest":"^0.31.0","del-cli":"^5.0.0","prettier":"^2.8.8","typescript":"^4.9.5","rollup-plugin-dts":"^5.3.0","rollup-plugin-esbuild":"^5.0.0","eslint-config-prettier":"^8.8.0","@typescript-eslint/parser":"^5.59.2","eslint-plugin-tree-shaking":"^1.10.0","@typescript-eslint/eslint-plugin":"^5.59.2"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_0.1.0_1717122001096_0.1348365972387353","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"getorset-anything","version":"1.0.0","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"author":{"url":"https://cycraft.co","name":"Luca Ban - Mesqueeb"},"license":"MIT","_id":"getorset-anything@1.0.0","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":{"url":"https://github.com/mesqueeb/getorset-anything/issues"},"dist":{"shasum":"d05c543a1ce4d4716a1614443f5fb8b56deff2c7","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-1.0.0.tgz","fileCount":5,"integrity":"sha512-HDUNhTABlP5zwCnlpdJCI+ZUaIbfw/aIBZ1kY2tcaeOZG3ShyDlZ/TNZpJMs3enGdrg3TBQOM7XRU090jj5pag==","signatures":[{"sig":"MEYCIQDn2n7IFSe2bV1HQRKlhMyDeRc7g0PyqYH1yisAB+PKsAIhAIbLF0z76u6HgO7rkwZ7qnJwF9zK4bt2rLYutuXKM5+J","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8061},"type":"module","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"funding":"https://github.com/sponsors/mesqueeb","gitHead":"744ef97f09bcd9b5eaf340c0fedb09f092b0ff5e","scripts":{"lint":"tsc --noEmit && eslint ./src","test":"vitest run","build":"del-cli dist && tsc","release":"npm run lint && npm run build && np"},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"git+https://github.com/mesqueeb/getorset-anything.git","type":"git"},"_npmVersion":"10.8.1","description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","_hasShrinkwrap":false,"devDependencies":{"np":"^10.0.5","vitest":"^1.6.0","del-cli":"^5.1.0","@cycraft/eslint":"^0.3.0","@cycraft/tsconfig":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_1.0.0_1717226108230_0.44095211695564984","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"getorset-anything","version":"1.0.1","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"author":{"url":"https://cycraft.co","name":"Luca Ban - Mesqueeb"},"license":"MIT","_id":"getorset-anything@1.0.1","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":{"url":"https://github.com/mesqueeb/getorset-anything/issues"},"dist":{"shasum":"f49c028c4de9b49a9d23305f71245a16220ceb9b","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-1.0.1.tgz","fileCount":5,"integrity":"sha512-QDw6nwSyGSzXG7fwdWgk7fl1Q4mX5ORdr/g4lCeCpd2pLRAwb6yIWrqJezI1LfKGIXZ2MMZdfkcQ36G7aHuoWA==","signatures":[{"sig":"MEYCIQCob1Y9kAbWMWpWvOq/FLls2hTblh7otfD7GhhyyYIJnAIhALNRHx5vesmriSh0OBUNJ5BIGhAvZ6rdlu+MF90jISVu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7857},"type":"module","engines":{"node":">=18"},"exports":{".":"./dist/index.js"},"funding":"https://github.com/sponsors/mesqueeb","gitHead":"3bb27f7882f3cdfb3abb2efa02859df8a1d65743","scripts":{"lint":"tsc --noEmit && eslint ./src","test":"vitest run","build":"del-cli dist && tsc","release":"npm run lint && npm run build && np"},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"git+https://github.com/mesqueeb/getorset-anything.git","type":"git"},"_npmVersion":"10.8.1","description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","_hasShrinkwrap":false,"devDependencies":{"np":"^10.0.5","vitest":"^1.6.0","del-cli":"^5.1.0","@cycraft/eslint":"^0.3.0","@cycraft/tsconfig":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_1.0.1_1717550872051_0.7064898163994164","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"getorset-anything","version":"1.0.2","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"author":{"url":"https://cycraft.co","name":"Luca Ban - Mesqueeb"},"license":"MIT","_id":"getorset-anything@1.0.2","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":{"url":"https://github.com/mesqueeb/getorset-anything/issues"},"dist":{"shasum":"4be5c8bc3abe7a3d97075d94023fd5d1482fc849","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-1.0.2.tgz","fileCount":5,"integrity":"sha512-CTmORHalCH9/Yuawj6KGlSabqTPIhddeDCE4L6rcAam5o8rrPId99+JR1nBWqtttM1GHuf8BqgPyag2dwu11BA==","signatures":[{"sig":"MEQCIBUAI8LpIvxssnOZVmW8qZZvteyyLL+GQmKm/e3Q347tAiAsPQpmhywc1Cexh7gM/4sAm8yPyO6Pid90gF7l3UZ/1w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7857},"type":"module","engines":{"node":">=18"},"exports":{".":"./dist/index.js"},"funding":"https://github.com/sponsors/mesqueeb","gitHead":"2833c79130d8b574f66f66ddcbfe91a338caeb9f","scripts":{"lint":"tsc --noEmit && eslint ./src","test":"vitest run","build":"del-cli dist && tsc","release":"npm run lint && npm run build && np"},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"git+https://github.com/mesqueeb/getorset-anything.git","type":"git"},"_npmVersion":"10.2.4","description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"np":"^10.2.0","vitest":"^3.0.6","del-cli":"^6.0.0","@cycraft/eslint":"^0.4.3","@cycraft/tsconfig":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_1.0.2_1739990654022_0.017105076039002798","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"getorset-anything","version":"1.1.0","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"author":{"url":"https://cycraft.co","name":"Luca Ban - Mesqueeb"},"license":"MIT","_id":"getorset-anything@1.1.0","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":{"url":"https://github.com/mesqueeb/getorset-anything/issues"},"dist":{"shasum":"933bfc9910fb10dc53b0bde9d36a4721d347f6c9","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-1.1.0.tgz","fileCount":5,"integrity":"sha512-oDKa8No6QOMst2WWy4vH41+lMFhQtu3tfXSO0mI4E0RB0d0jOPDYjc32tc4GDjsPWStYNkCpBB5VkwS+Qt4/nQ==","signatures":[{"sig":"MEUCIQC0k275a70pSkGEv3p6JZL//K5kn/yasz0FBgHFXgXG1AIgQpnHz8NTMTXh45b/zsnwKyuZHYPCxObj1g87egMI5wE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9107},"type":"module","engines":{"node":">=18"},"exports":{".":"./dist/index.js"},"funding":"https://github.com/sponsors/mesqueeb","gitHead":"bbccc1e63a9a09faef1b067024f1c897eb77011e","scripts":{"lint":"tsc --noEmit && eslint ./src","test":"vitest run","build":"del-cli dist && tsc","release":"npm run lint && npm run build && np"},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"git+https://github.com/mesqueeb/getorset-anything.git","type":"git"},"_npmVersion":"10.9.2","description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"np":"^10.2.0","vitest":"^3.2.4","del-cli":"^6.0.0","@cycraft/eslint":"^0.4.4","@cycraft/tsconfig":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_1.1.0_1757886284879_0.6357363074896536","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"getorset-anything","version":"1.1.1","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"author":"Luca Ban - Mesqueeb (https://cycraft.co)","license":"MIT","_id":"getorset-anything@1.1.1","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":"https://github.com/mesqueeb/getorset-anything/issues","dist":{"shasum":"a51d56a3d8814799049dfc1f4381b9e35855e3cf","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-1.1.1.tgz","fileCount":5,"integrity":"sha512-h2eIxcFyWfq5j/MHdPZ9PCosy3qzccUDk5ZHlJiuoQq8ygn3EDylmFJx+1le8POXdOILWM/kRKYwUaHu6PW7jQ==","signatures":[{"sig":"MEUCIAyHBJEQatp3Y87ctVzhi4Y+deQC6pv+58k0giMJWVCDAiEAgYqmyMr8fxHWjqA44FCLuD3tdIlPQpEcbR+OpPsnO2M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDZM3VvkGY3KJ0UAOHRgZla/dZcVVg+BrOZv6EHITwe3QIgaYHXk24iF1CU0J1EMtbcBRBiVYYdT/QoFS8lyYem3CM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9108},"type":"module","engines":{"node":">=18"},"exports":{".":"./dist/index.js"},"funding":"https://github.com/sponsors/mesqueeb","scripts":{"lint":"tsc --noEmit && eslint ./src","test":"vitest run","build":"del-cli dist && tsc","release":"pnpm run lint && pnpm run build && np"},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"https://github.com/mesqueeb/getorset-anything.git","type":"git"},"description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"np":"^12.1.1","vitest":"^5.0.1","del-cli":"^7.0.0","@cycraft/eslint":"^0.4.4","@cycraft/tsconfig":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_1.1.1_1789617965284_0.9312969735527297","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"getorset-anything","version":"1.1.2","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"author":"Luca Ban - Mesqueeb (https://cycraft.co)","license":"MIT","_id":"getorset-anything@1.1.2","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"homepage":"https://github.com/mesqueeb/getorset-anything#readme","bugs":"https://github.com/mesqueeb/getorset-anything/issues","dist":{"shasum":"1cbe7e3ebcac0b9e3c7b685a3e65ce2748bd46b0","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-1.1.2.tgz","fileCount":5,"integrity":"sha512-W8Q44WH5Xs55+Z6kkJmiGe8PTGmK4504JvtT6wxlH673dmDdMk5iPuyBe06h1/0RaVZ0QsEnbID/KWaXpv8WjQ==","signatures":[{"sig":"MEYCIQDLQ2as1xm2lMJWfl4Ujk3RsY0EuX+C/VdA2ibp63WOegIhAOwRt2SLVjwZQaxCZeGqE7utjyhaOyq3x2RHHGxTTIQW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQD+3K5+Nv6xDU1wpcfPAw9jOLyCUG3dSAg7i4m2oLlFTwIhAOQTeA2Ge+QXS9vIXZPpfqHaKdUmD5tDla3WspAMHRjt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9487},"type":"module","engines":{"node":">=18"},"exports":{".":"./dist/index.js"},"funding":"https://github.com/sponsors/mesqueeb","scripts":{"lint":"tsc --noEmit && eslint ./src","test":"vitest run","build":"del-cli dist && tsc","release":"pnpm run lint && pnpm run build && pnpm test && bumpp --no-push --all && pnpm publish --no-git-checks && npx jsr publish && git push --follow-tags && gh release create $(git describe --tags --abbrev=0) --generate-notes --notes \"$(git log --pretty='- %s  %h' $(git describe --tags --abbrev=0 HEAD~1 2>/dev/null || git rev-list --max-parents=0 HEAD)..HEAD~1)\""},"_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"repository":{"url":"https://github.com/mesqueeb/getorset-anything.git","type":"git"},"description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^12.3.0","eslint":"^9.20.1","vitest":"^5.0.2","del-cli":"^7.0.0","typescript":"^5.9.3","@cycraft/eslint":"^0.4.11","@cycraft/tsconfig":"^0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/getorset-anything_1.1.2_1790381449196_0.841749809194219","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"_id":"getorset-anything@1.1.3","bugs":"https://github.com/mesqueeb/getorset-anything/issues","dist":{"shasum":"409e3491df0135d774e8858da5e4123b517b4009","tarball":"https://registry.npmjs.org/getorset-anything/-/getorset-anything-1.1.3.tgz","fileCount":5,"integrity":"sha512-kT9FkOm3vvGR1/BhDDlEGrzjj2pCF8m2wl8lxAj/tiTo86/zBCBrNN+aqFj1sDcsyyJM0yUxKuTlzfTdD0QcJg==","signatures":[{"sig":"MEQCIAiJDi19yclWhruTOi96vmfZbWuWZPV8jPdCDIkzDoVvAiB2K1sRvMMlvuTeeptZF0yra7ESrt0324b8NZzMDGU54A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDu6uIqIYO4uAiCWFfDl+bWF7mtd9FUsUYfPSOx+4NqsAiAmP4wEvzJPtl0hjFOcZ9Ryy6hp+PFlCjCUrubUam55bA=="}],"unpackedSize":9538},"name":"getorset-anything","type":"module","author":"Luca Ban - Mesqueeb (https://cycraft.co)","engines":{"node":">=18"},"exports":{".":"./dist/index.js"},"funding":"https://github.com/sponsors/mesqueeb","license":"MIT","scripts":{"lint":"tsc --noEmit && eslint ./src","test":"vitest run","build":"del-cli dist && tsc","release":"pnpm run lint && pnpm run build && pnpm test && bumpp --no-push --all && pnpm publish --no-git-checks && jsr publish ${JSR_TOKEN:+--token $JSR_TOKEN} && git push --follow-tags && gh release create $(git describe --tags --abbrev=0) --generate-notes --notes \"$(git log --pretty='- %s  %h' $(git describe --tags --abbrev=0 HEAD~1 2>/dev/null || git rev-list --max-parents=0 HEAD)..HEAD~1)\""},"version":"1.1.3","_npmUser":{"name":"mesqueeb","email":"mesqueeb@gmail.com"},"homepage":"https://github.com/mesqueeb/getorset-anything#readme","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"repository":{"url":"https://github.com/mesqueeb/getorset-anything.git","type":"git"},"description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","directories":{},"maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"jsr":"^0.14.3","bumpp":"^12.3.0","eslint":"^9.20.1","vitest":"^5.0.2","del-cli":"^7.0.0","typescript":"^5.9.3","@cycraft/eslint":"^0.4.11","@cycraft/tsconfig":"^0.1.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/getorset-anything_1.1.3_1790416325202_0.787960834539482"}}},"time":{"created":"2022-08-28T04:03:43.023Z","modified":"2026-09-26T09:52:05.444Z","0.0.1":"2022-08-28T04:03:43.163Z","0.0.2":"2022-08-28T04:08:30.319Z","0.0.3":"2022-10-18T03:25:48.442Z","0.0.4":"2023-05-07T07:19:16.480Z","0.0.5":"2023-05-23T02:26:31.634Z","0.1.0":"2024-05-31T02:20:01.274Z","1.0.0":"2024-06-01T07:15:08.470Z","1.0.1":"2024-06-05T01:27:52.217Z","1.0.2":"2025-02-19T18:44:14.214Z","1.1.0":"2025-09-14T21:44:45.056Z","1.1.1":"2026-09-17T04:06:05.370Z","1.1.2":"2026-09-26T00:10:49.288Z","1.1.3":"2026-09-26T09:52:05.311Z"},"bugs":"https://github.com/mesqueeb/getorset-anything/issues","author":"Luca Ban - Mesqueeb (https://cycraft.co)","license":"MIT","homepage":"https://github.com/mesqueeb/getorset-anything#readme","keywords":["javascript","map","mapgetset","map-get-or-set","object-get-or-set","getorset-anything","get-or-set","js-map","typescript","map-setter","object-setter","obj-set-get","map-util","obj-util","setget","getset","getter-setter","setter-getter"],"repository":{"url":"https://github.com/mesqueeb/getorset-anything.git","type":"git"},"description":"Gets a value from a Map/Obj or sets an initial value when not found and returns that. TypeScript supported.","maintainers":[{"name":"mesqueeb","email":"mesqueeb@gmail.com"}],"readme":"# Get or Set Anything 🐊\n\n<a href=\"https://www.npmjs.com/package/getorset-anything\"><img src=\"https://img.shields.io/npm/v/getorset-anything.svg\" alt=\"Total Downloads\"></a>\n<a href=\"https://www.npmjs.com/package/getorset-anything\"><img src=\"https://img.shields.io/npm/dw/getorset-anything.svg\" alt=\"Latest Stable Version\"></a>\n\n```\nnpm i getorset-anything\n```\n\nGet a Map/Obj value, or if it didn't exist yet set it and return that. Fully **TypeScript** supported! A simple & small integration.\n\n## Motivation\n\nI created this package because I always hated doing this over and over again:\n\n```ts\nconst map = new Map<string, number[]>()\n\nconst id = 'abc'\n\nlet arr = map.get(id)\nif (arr === undefined) {\n  arr = []\n  map.set(id, arr)\n}\n\narr.push(100)\n```\n\nSo that is exactly what `getorset-anything` does for you! 💯\n\n`getorset-anything` has performance in mind. It won't do a `.has()` check, like other libraries do, when it found the value it will immediately return it.\n\n## Usage\n\nMaps\n\n```ts\nimport { mapGetOrSet } from 'getorset-anything'\n\nconst map = new Map<string, number[]>()\n\nconst arr = mapGetOrSet(map, 'abc', (): number[] => [])\n\narr.push(100) // OK!\n```\n\nObjects\n\n```ts\nimport { objGetOrSet } from 'getorset-anything'\n\nconst obj: Record<string, number[]> = {}\n\nconst arr = objGetOrSet(obj, 'abc', (): number[] => [])\n\narr.push(100) // OK!\n```\n\n## TypeScript Support\n\nYou don't have to do anything extra for TypeScript! It comes with awesome type support.\n\n```ts\nimport { mapGetOrSet } from 'getorset-anything'\n\nconst map = new Map<string, number[]>()\n\nconst arr = mapGetOrSet(map, 'abc', () => []) // OK!\nconst arr2 = mapGetOrSet(map, 'abc', () => ({})) // NG! ⛔️\n\narr.push(100) // OK!\narr.push('100') // NG! ⛔️\n```\n\n## Meet the family (more tiny utils with TS support)\n\n- [is-what 🙉](https://github.com/mesqueeb/is-what)\n- [is-where 🙈](https://github.com/mesqueeb/is-where)\n- [merge-anything 🥡](https://github.com/mesqueeb/merge-anything)\n- [check-anything 👁](https://github.com/mesqueeb/check-anything)\n- [remove-anything ✂️](https://github.com/mesqueeb/remove-anything)\n- [getorset-anything 🐊](https://github.com/mesqueeb/getorset-anything)\n- [map-anything 🗺](https://github.com/mesqueeb/map-anything)\n- [filter-anything ⚔️](https://github.com/mesqueeb/filter-anything)\n- [copy-anything 🎭](https://github.com/mesqueeb/copy-anything)\n- [case-anything 🐫](https://github.com/mesqueeb/case-anything)\n- [flatten-anything 🏏](https://github.com/mesqueeb/flatten-anything)\n- [nestify-anything 🧅](https://github.com/mesqueeb/nestify-anything)\n","readmeFilename":""}