{"_id":"dictionaryjs","_rev":"33-f1a57c563f930bb38349cefe05dd3a93","name":"dictionaryjs","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!","dist-tags":{"latest":"1.0.10","classic":"0.0.10"},"versions":{"0.0.1":{"name":"dictionaryjs","version":"0.0.1","description":"A simple dictionary wrapper for JavaScript objects. Provides methods for get, set, remove, length, forEach and asyncForEach.","main":"Dictionary.js","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","async","foreach","remove","object","length","native"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"_id":"dictionaryjs@0.0.1","dist":{"shasum":"cca3bc9e64dfae1f17e24c432a6033d5b176d376","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-0.0.1.tgz","integrity":"sha512-kZ2yQu6DdG6J8w8xTy7ME6WARYqAL21AZDQS52K0bxNRB+LuL/dwufuc96yJTbX16SE5uPYqMes7BOeuOW/C2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwBE1UMGQufPY1jg+XdN6PT1uZtaVYCQVq1cLOGAO9FQIgf9bArwZftlDB0CZal/gpmbZ8RSEmoOFXDY6h1SHDXDA="}]},"_from":"dictionaryjs","_npmVersion":"1.2.23","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"directories":{}},"0.0.2":{"name":"dictionaryjs","version":"0.0.2","description":"A simple dictionary wrapper for JavaScript objects. Provides methods for get, set, remove, length, forEach and asyncForEach.","main":"dictionaryjs","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","async","foreach","remove","object","length","native"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"_id":"dictionaryjs@0.0.2","dist":{"shasum":"fb632bcc55c6b55984513825f25330ba6eafe518","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-0.0.2.tgz","integrity":"sha512-oCrv1v7EW5M2wROUfLm9ISws9qazUaR3PeDbYBrGpBPDiG/q8ZaSMlq1Q1ccW+1fLQH6wbkKBajO1XsMfE5HHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQciQFpWPxBqYgJwdY7lFYBMfZC3TJqmW5XD3jzpIrtAIgKdLFq7xXs/MGJOMEwSqnnFF21U5X7SLfudhK+wELlSw="}]},"_from":"dictionaryjs","_npmVersion":"1.2.23","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"directories":{}},"0.0.3":{"name":"dictionaryjs","version":"0.0.3","description":"A simple dictionary wrapper for JavaScript objects providing hashmap functionality and helpful methods. Methods include: for get, set, getDefault, remove, has, size, forEach, asyncForEach and setAsyncInterval.","main":"dictionaryjs","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","async","foreach","remove","object","foreach","hashmap","key-value"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"_id":"dictionaryjs@0.0.3","dist":{"shasum":"7d03136db89eae902d3a1f99b43e03d05e54ef5b","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-0.0.3.tgz","integrity":"sha512-HPEfx/VLkh90Rn0ct5fF2KCOCLQ0PFeyknrl1Ye9C3PVqxQzj45E71DXLEnbhIIDSM+peE1ji8hycOM5T7ujSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjHCLDtuo0an/2eeTvNfoTyME4iQ9QmT0dPX/xWoZDGwIhAIYijntNrUGIZqRW98kP40el+OHFydeNKYEV9mhAL1/y"}]},"_from":"dictionaryjs","_npmVersion":"1.2.23","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"directories":{}},"0.0.5":{"name":"dictionaryjs","version":"0.0.5","description":"A simple dictionary wrapper for JavaScript objects providing hashmap functionality and helpful methods. Methods include: for get, set, getDefault, remove, has, size, forEach, asyncForEach and setAsyncInterval.","main":"dictionaryjs","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","async","foreach","remove","object","foreach","hashmap","key-value"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"_id":"dictionaryjs@0.0.5","dist":{"shasum":"e86d04a702a30a8c3a4c218d57f28c1d6d1a5dd7","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-0.0.5.tgz","integrity":"sha512-xFrgzk5qt1a7GOaN9P7iPgGQf8hwYk0esmf9V21Vmul18kUjQcWMKYMmUNNk1URdkD0bnFbIzVLARSLMy9v1Mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGrmwjd5H1bHnAoiKIiIeycTfqema2AzwcYdrZ1hlJD+AiA8lGxcHKlPYpKKwl/Jge0AUBKaw+PkSLjN1JHWM8Ay+w=="}]},"_from":"dictionaryjs","_npmVersion":"1.2.23","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"directories":{}},"0.0.6":{"name":"dictionaryjs","version":"0.0.6","description":"A simple dictionary wrapper for JavaScript objects providing hashmap functionality and helpful methods. Methods include: for get, set, getDefault, remove, has, size, forEach, asyncForEach and setAsyncInterval.","main":"dictionaryjs","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","async","foreach","remove","object","foreach","hashmap","key-value"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"_id":"dictionaryjs@0.0.6","dist":{"shasum":"95b58e7045764c8b24ae87ed8a77763216e3a1c6","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-0.0.6.tgz","integrity":"sha512-TKf2N9DKxTPX+FgK1VWJnIEKza/EroPYJ8trBY8NrGBsKoL/1mMBUIaxIgNSlLxa2J7Kf3+f3imh05EXjNwVuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCr3Dk5ZMJV9Wh367okMka51GvhyUgNvT/+79Mf5i85UAIhAPuS5cXrTsCj79FR4UALpHkmoM3LCKz/rZ4thJgqiYUm"}]},"_from":"dictionaryjs","_npmVersion":"1.2.23","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"directories":{}},"0.0.7":{"name":"dictionaryjs","version":"0.0.7","description":"A simple dictionary wrapper for JavaScript objects providing hashmap functionality and helpful methods. Methods include: get, set, getDefault, remove, has, size, forEach, and asyncForEach.","main":"dictionaryjs","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","async","foreach","remove","object","foreach","hashmap","key-value"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"_id":"dictionaryjs@0.0.7","dist":{"shasum":"157a7d32e73678e715cb1ced6cf878d2c59b3b1a","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-0.0.7.tgz","integrity":"sha512-ElB+QC/p0gsj6Kmvyym6webU63VYMSYt7ZY+bkG3sLclQBsmdkkyu3ewgAHmbFO5BfIi4/jB8YoDQw2nlbJWVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1vdKfDJFDPWvZj4LTb2FnwWdNbk6nr8hOeJsIH1a6kgIgVrvs+Z6NRUuXqF4G0w6pk5FnwidrrTc0GeLb78S59h8="}]},"_from":"dictionaryjs","_npmVersion":"1.2.23","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"directories":{}},"0.0.8":{"name":"dictionaryjs","version":"0.0.8","description":"A simple dictionary wrapper for JavaScript objects providing associative array functionality and helpful methods. Methods include: get, set, getDefault, remove, has, size, empty, asyncEmpty, forEach, and asyncForEach.","main":"dictionaryjs","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","key-value","data structure","async","foreach","remove","object","foreach","empty"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"_id":"dictionaryjs@0.0.8","dist":{"shasum":"cb239f6da50c4a1be668b61960af28188de010b6","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-0.0.8.tgz","integrity":"sha512-Lcv1vC0SMG+FTM6skjPjeQPgJAnngo5J3XRma8SYhgPx40KoVcBibCFchRy19BhtgzHdbjd54yl7unuQzpRPhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+YPkKW6AszpezL8MM1hQqNovWp1b0AQJHN0yp1MqdfwIhAOXPggPjFEJJtowsXFIiA9ScpDjNkB+LpZ97EYAW7F1X"}]},"_from":"dictionaryjs","_npmVersion":"1.2.23","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"directories":{}},"0.0.9":{"name":"dictionaryjs","version":"0.0.9","description":"A simple dictionary wrapper for JavaScript objects providing hashmap functionality and helpful methods. Methods include: for get, set, getDefault, remove, has, size, forEach, asyncForEach and setAsyncInterval.","main":"dictionaryjs","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","async","foreach","remove","object","foreach","hashmap","key-value"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"0f24ec55c43d720d6c6dd1d41b0d22ef8c473e76","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@0.0.9","scripts":{},"_shasum":"dacf77e23ebb0f95e720153259b0a81629a2a257","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"shasum":"dacf77e23ebb0f95e720153259b0a81629a2a257","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-0.0.9.tgz","integrity":"sha512-NiIKZLKNL9wfWGBKLjj+FIxxhxTYAcE68XhF5ug/8pgC3muKPya6zSXLiIWoq742KCciCn2pgyeSNxNqVmMCdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAHfHRoQjohHCXEieg4U6J6ga73z6o2Eq+5lbc8+IMylAiArpxLVlDdqbd/yZPxvI6/UVXisrZfG4CQmPd/noo4+aw=="}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/dictionaryjs-0.0.9.tgz_1469674239124_0.9858287412207574"},"directories":{}},"0.0.10":{"name":"dictionaryjs","version":"0.0.10","description":"A simple dictionary wrapper for JavaScript objects providing hashmap functionality and helpful methods. Methods include: for get, set, getDefault, remove, has, size, forEach, asyncForEach and setAsyncInterval.","main":"dictionaryjs","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","async","foreach","remove","object","foreach","hashmap","key-value"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"f5b5c900dd5340a1ea2c500ee16fe17b3b94b219","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@0.0.10","scripts":{},"_shasum":"82d8d8c91e82c87ae76dc9e82f59c80fc9802c03","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"shasum":"82d8d8c91e82c87ae76dc9e82f59c80fc9802c03","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-0.0.10.tgz","integrity":"sha512-Ok85YyWMXl/Ud9v/FgB16+cSVp+MgdMPAvavqhRk/GouNjCJqb6/Bz4USirrke4sqqjLLPnz6Fkg/sjBhE5P2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2DMQvUE+2ywMOMwWKLxN2P3y9v/Bmp7Izp3fGcgWxqAIhAIwoVtOReLTPgfeAl2AADu490tOw2cLoO9gpMGHE6WOh"}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/dictionaryjs-0.0.10.tgz_1469675175348_0.5604730928316712"},"directories":{}},"0.0.11":{"name":"dictionaryjs","version":"0.0.11","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality and helpful methods. Methods include: for get, set, getDefault, remove, has, size, forEach, asyncForEach and setAsyncInterval.","main":"dictionaryjs","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","async","foreach","remove","object","foreach","hashmap","key-value"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"53800d990f0fd8312fede630f02658fbba091979","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@0.0.11","scripts":{},"_shasum":"2fad9630703cc9160eb7a3c82dcf11c938e95365","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"shasum":"2fad9630703cc9160eb7a3c82dcf11c938e95365","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-0.0.11.tgz","integrity":"sha512-2YMvo7LDZO3xGR9pHXjhQfvV3DsA1oN492jAs48Htd3impMgjhxxM5OX5NP1k32By3xrlI8L9llNfho3Vgz8xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbwY1ShaiHK1UjFn34gJR+LrmOTYsr6h4WzRcbsGY1zQIhALePDYlLpv0LPYEYlzRN7R1BMUdEiwO2B1P5Vwnnuz3C"}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/dictionaryjs-0.0.11.tgz_1469676155376_0.4151615633163601"},"directories":{}},"0.0.12":{"name":"dictionaryjs","version":"0.0.12","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality and helpful methods. Methods include: for get, set, getDefault, remove, has, size, forEach, asyncForEach and setAsyncInterval.","main":"dictionaryjs","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","async","foreach","remove","object","foreach","hashmap","key-value"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"8745c9b9d46286030aeb00151ded2ef3f57e1196","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@0.0.12","scripts":{},"_shasum":"f47b44e9d15204e3caeacf2cdcc873a21dee1385","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"shasum":"f47b44e9d15204e3caeacf2cdcc873a21dee1385","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-0.0.12.tgz","integrity":"sha512-sZPUBOC5NoGlXK/gBJBVD9kE11yGVicO+MAfMk04QHWzUsMGRxAOsWK0VAER7nPdP34nwdhvUFtOph6RIfM9KA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG8wvZAU33O2oROiRUzELY5D1mhyGiURXDsmh8KcnNzbAiEAovECMK+Yr1G4Es2zPnDYwLsY6aC7Yljlj0uI0vWsoqI="}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/dictionaryjs-0.0.12.tgz_1470028307367_0.8113068041857332"},"directories":{}},"1.0.1":{"name":"dictionaryjs","version":"1.0.1","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!","main":"Dictionary.js","license":"GPL-3.0","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","hashmap","key-value","map","typescript"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"b1408fb2b4e3c54956bfee1ce5d082b7fac3adbd","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@1.0.1","scripts":{},"_shasum":"a2d18fd82fe9a282742950cb97f160314cb076d8","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.0","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"shasum":"a2d18fd82fe9a282742950cb97f160314cb076d8","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-1.0.1.tgz","integrity":"sha512-gydTisy7mz+pG7R6gJGUC+59Mmd/zT4RRhT8tnZfxCDBHVCd2/flGQlgqKzL+pRhzwbSwInMYfAlzJiahDE43A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBYKRaVEoKN1Mn2c2cycVw1bMT32Iw+IRbo+3sRQGP7cAiEA6Tw0H7yb4S6OkBkt59ib3xBhYx7/rdBUjvTR9OMXk8A="}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dictionaryjs-1.0.1.tgz_1509538958305_0.8659065363463014"},"directories":{}},"1.0.2":{"name":"dictionaryjs","version":"1.0.2","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!","main":"Dictionary.js","license":"GPL-3.0","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","hashmap","key-value","map","typescript"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"7b1bcbae2a14c1645a363083050ee95e6f407b0e","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@1.0.2","scripts":{},"_shasum":"21ede5b415dc2f2dfb53d92220026f453fcbddd8","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.0","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"shasum":"21ede5b415dc2f2dfb53d92220026f453fcbddd8","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-1.0.2.tgz","integrity":"sha512-6OjgfydMLM7Mkr8dxQEKUEwZCF/KnDTwrpR5Dhv7MqUEOUqXnqjB1XMPsc1Rv1SXVPfZvbN/2Z4hqdVp0C64Tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBELT/oyvBhbG+XkLEr41QEFo2N/Ldrx7yWL6GModxAAAiBSQ1O+PGF8q1/nUufZdxBEGoyk8b4ha3/HQlgKoIAM1g=="}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dictionaryjs-1.0.2.tgz_1509539623364_0.985787620767951"},"directories":{}},"1.0.4":{"name":"dictionaryjs","version":"1.0.4","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!","main":"Dictionary.js","license":"GPL-3.0","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","hashmap","key-value","map","typescript"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"57655e1e81f791e9118b520ea1c8152d5c360556","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@1.0.4","scripts":{},"_shasum":"f5c75b5d7826feb8f9e924d8d28e6fe75a0b0c64","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.0","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"shasum":"f5c75b5d7826feb8f9e924d8d28e6fe75a0b0c64","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-1.0.4.tgz","integrity":"sha512-Mb4f1aJF4RVNMyyR3Q7Lq+lpc5adnYFeBbTNSH/ssUoTluD2rKL9i0PEpyPBUiCAvVjjqxBR4govZzlyTw3cEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmJT3MMl6qr21YEShOVXMU2iTTjovezUDcvoVd34JK1gIgcVJqykavstYMmHy0k/lO9EFxKhInU1wXGzfp8ieIyw4="}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dictionaryjs-1.0.4.tgz_1509621788941_0.30500862188637257"},"directories":{}},"1.0.5":{"name":"dictionaryjs","version":"1.0.5","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!","main":"Dictionary.js","typings":"Dictionary.d.ts","license":"GPL-3.0","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","hashmap","key-value","map","typescript"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"a57417ccf91801f33224807ec37a27db78ae09bd","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@1.0.5","scripts":{},"_shasum":"9fa6793bddead70ddef9cd50b580565ba9c53651","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.0","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"shasum":"9fa6793bddead70ddef9cd50b580565ba9c53651","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-1.0.5.tgz","integrity":"sha512-ZETl6uvpK9MflKZO7+K7B6EgWReZDxK+frJwT3xy/46LH+hLSNdq15NYKd3+HTDcyoU8a/W8T2Lfa92tlXQwuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvb92vOymt1sq+6v1ppcnmPVgScD9wqJVrmNppryNbfAiEA5POD1lju9/sDOwccDDRktLD9U/rnodI4i9nh9z6kSPQ="}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dictionaryjs-1.0.5.tgz_1513724377102_0.4347920154687017"},"directories":{}},"1.0.6":{"name":"dictionaryjs","version":"1.0.6","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!","main":"Dictionary.js","typings":"Dictionary.d.ts","license":"GPL-3.0","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","hashmap","key-value","map","typescript"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"9b55bd2dd84b6a7802c31797cc26f8a31b79c440","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@1.0.6","scripts":{},"_shasum":"4e697765fd5e17b0e8f750b36a9de49d73f05472","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.11.0","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"shasum":"4e697765fd5e17b0e8f750b36a9de49d73f05472","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-1.0.6.tgz","integrity":"sha512-4w75f7qr5QhC27v7iJFBP+rjyZw3DMXEmZzywumpfqwqbHwNEzTjp4Oe20P0RSK6+Yc7O7qwHuf4/oGr0swG7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBWFu2cDIznr4gdcul275AlhZzCpJIOPT9i7FZnFea2EAiAjgeldA4APBZbHc1BdXe66prdSVCRTWXys7MDut//zQA=="}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dictionaryjs-1.0.6.tgz_1513729115267_0.02915400662459433"},"directories":{}},"1.0.7":{"name":"dictionaryjs","version":"1.0.7","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!","main":"Dictionary.js","typings":"Dictionary.d.ts","license":"GPL-3.0","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","hashmap","key-value","map","typescript"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"c731de5f443837c82f931c8be8bd55f8ee56458e","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@1.0.7","_npmVersion":"5.7.1","_nodeVersion":"8.1.3","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"integrity":"sha512-RxPhYgXumfbCg8vOom6CrdK2rR8j+GranRTVKJFCfhtKfsd+pf4i/KHz0lmBr0x7aRzKhChS8Wt2Eh+mnUU9Vg==","shasum":"7d1c372de8070df2c80b386e4b4e319082766867","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-1.0.7.tgz","fileCount":7,"unpackedSize":61854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+w06CRA9TVsSAnZWagAAFZsP/1eCmpriW0/mv4UiKGFu\nC/DK2+8HBX8knUMOAZeW2F1AtCihcRh+XPBg1/PcpgSCc8JIy8dReC1rBwsF\nhwgeCxGITmsExioiCy8+SQIjyq+sYWsUbZuY2QG4RCdWf8BXGsHqh8fsXG5s\nB7GSzqUKugHzZg9AnTanPQBRO1YQJKnLbkvrquQKF8QtXtkrppqdqKwkF3Uc\nHq3FdLBJ4oN9JXabuvsnE2H5PrPMymFHvrvYp1z/9gsZRhojxsp01B8yegLC\nJAYXqHYai8cDnemfm/VltTpPM4E4qtRGmG3vx+2yyiecwVW9fo8tyRN7lPoL\nBiaSjk6muraCRjP4RhCbk2OWUFei+lbLw6zRgWVMFITZM8lHnXiTpLXUnHPM\nbpT8duY8shCTe+76lito7VjptZY1hfD/E4S7cDMRsL2MTyG7caWZdDC+RmI5\n+x+VmjlLZzy5gvYwfbOO7bInJZkO3AkFWj1Lzntb6H00su7QZb334rBO9Pc/\nA6MWUXzD15zzPyN9N6QYXaf/MNn+b8ha7QqSSj1W2gwWatKcVj8idMbcIh3B\nuIn+zXxDaS42wZyxVtWYsgP7Nky07Jr2KVHzqVgWCKTIL6ER4BK0k0r9EIUa\n4GwVer6vzsWM1YMvVJlVsq2BnI15ItJiRxM/Xb3ycc59ei5PCtaIjpOhWjlB\ntFyJ\r\n=QzLt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtqCdB0kESkwSFbIO0mskKA+eByHf+0cRucR6tLvfBjgIgFlFUEGtl87oAAOg46M+rbX1Wgx7kw2oWiztqJXMj5Gw="}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dictionaryjs_1.0.7_1526402360609_0.05404449258703825"},"_hasShrinkwrap":false},"1.0.8":{"name":"dictionaryjs","version":"1.0.8","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!","main":"Dictionary.js","typings":"Dictionary.d.ts","license":"GPL-3.0","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","hashmap","key-value","map","typescript"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"c731de5f443837c82f931c8be8bd55f8ee56458e","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@1.0.8","_npmVersion":"5.7.1","_nodeVersion":"8.1.3","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"integrity":"sha512-N2QE0qBp/A3AaOJSHuxZbok3tff7dOiSeWKeJG57NfhLihdeI6Pwu2C0iw7H238LpEszwvZsh6A+jTp4JHqSqg==","shasum":"237317f9542d11cf4aafa61a588dee1669aa2f32","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-1.0.8.tgz","fileCount":7,"unpackedSize":61970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLflSCRA9TVsSAnZWagAAYh0P/ik5KsMakCUyBgf/1DWe\noGAPvLjTm9nwFHgOXz5YPw8g60E481LYJ4ijdZzGmRwlDp4HgpUeHoEEUhKx\nwMVf+yXL1mvXpN0ibcJxooIEYqk4WXKSboamlb3qg42ANcxzqizlQxP2KsQA\nPtKYTIu9O4w8lxWV2OuXf9/VA3iHo6iZR/iqSZrEN9ar88BoBsyTied0YoiY\nfzxzeDzM1sjVaTWz/G0KkNz3agoHTr5TMUok//+9cEelUSTEeBBdv0AojE1O\nkTL6C4cxQ3yCPYuRxd6PgnraJrvsWtosDT86blhT9wzaRrD/KwrW/nwPb/4G\nVdsyihPTjnzLAfuEzj+4FTu/L8waCyRG5npWOnpUW9m1XdfdUc1kC76DGPyn\ntNUGQONUSGiCheXvgHq5jgTaHXhq6WM4mguvNiBgVDym1H95/VxzHgDIyYRJ\nnpGdUwzxnVshSn8yV1ASsupWYbwB4xsVYZnBdkWynsY+xMQ8q6vRFa9XtP8F\nsbwka+5R2LQ6BJR4ENKA84DSXIc3Cqsxzw55RBcdg88692D5Tdg5Xeg7JEi4\nO+t2gxuF79rkthMOdup4VWbnbuMOpJL/GVgjv0zbqQqkr+iFf7o0NxYDTbno\ntVnwl2fiGlv2iFM2gJGL2nIT8mbTKQYgXz1HBnNePZ22ZwTbBw4nVLo3jhtn\nbG+f\r\n=aRYL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEd8pS2vKWECX3QZZwvEhOJiYQIM8qq3tr4sQWbabiTUAiBMy2Tkxl7K+fBAjkGzes05z//dy91orMoQ8YdRK90lOA=="}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dictionaryjs_1.0.8_1563294033601_0.7668592862797068"},"_hasShrinkwrap":false},"1.0.9":{"name":"dictionaryjs","version":"1.0.9","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!","main":"Dictionary.js","typings":"Dictionary.d.ts","license":"GPL-3.0","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","hashmap","key-value","map","typescript"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"66052ad0a691a8cc0ba35487bd56815e5b80bafe","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@1.0.9","_npmVersion":"5.7.1","_nodeVersion":"8.1.3","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"integrity":"sha512-T2cVczPjEnHd3M33l4VQefvQE1PiRviJpTCV5y6umgbipB1CYXNdzj3OP/SRImqRqpYS1bkJDpiT4e8zNkF/oA==","shasum":"e7c034cc17785427df11695e37cbf4765d706069","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-1.0.9.tgz","fileCount":7,"unpackedSize":61970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLfnaCRA9TVsSAnZWagAAnH0P/14cD7m5BRsht1ZKc+gO\nO4800sypu3HiMIv7C5/AuOf1Rt7eMfBxn2SRBmDwkwAv0MpbSddzzuypzE6P\nK9V3U3fVZuSpxGa9bqWsnHT/U0EKa0wQrEG0IRh15JrmteQvI6zdynB0AmHg\ncuCpHXhjMMMZrF580gDkGXlwm3FKgEhgaxX6xQqICz9m6/LqSvF1yoi3EUil\nYJJeSH9yZdHKowQ2PeYMh3571XgTmySkiRIBdz/ZVS1/+KkkVkVA45EP0a0/\n53dBaIyRjon6iRnvLv+/LUWz9zIXPFQweA1ui0xdOhpPO5JC67sEjR9PzJHF\nHgvV+6L+yZ0zYwpCblQHODcDjZezsIf0YSNcco7RGOhJSsmYBV3mQbh1vT8x\nEZ1Mr4alwMJ8EIZsNPa1DNBDCxJmTAHFElVeczwfmyeU/dqzoJvQ7JQ6ktdP\npLajVxTgbt8tjYxvRjiybcpBAjEBSpMhOnv/QWkw648RI3sRf+fMFnRubCT/\nbaCFti8aWp/RviNj9FEIvdCokOfRHAcMwpE8EFyRQhpTKHsmgCa3aNV+XCrO\nGleI/yiM4zB7U+ceSe1IrS6HKhECF5DqQBxZtzsq+UnJWig0QpVg5J+NHYay\nt4CNTTkO/d8kWPfLpTIvNbsWSsK4CSTxhSOqb/zVE4mlv9rIEf3RdjQA9XlM\npKdL\r\n=Ok8B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWA8BYrwzAU9wkIwpwsFpuusZxZWzoxbzFURlfhL4STAiEAuglknHh2H9kzUgiGOCSqwY2KUj5LMd2LXgGbYpRz49I="}]},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dictionaryjs_1.0.9_1563294168842_0.8991009891013448"},"_hasShrinkwrap":false},"1.0.10":{"name":"dictionaryjs","version":"1.0.10","description":"A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!","main":"Dictionary.js","typings":"Dictionary.d.ts","license":"GPL-3.0","dependencies":{},"devDependencies":{},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","hashmap","key-value","map","typescript"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"gitHead":"c9d88f4f889a35192fe66c337f0b71062635ac2c","homepage":"https://github.com/phanxgames/dictionaryjs#readme","_id":"dictionaryjs@1.0.10","_npmVersion":"6.4.1","_nodeVersion":"11.4.0","_npmUser":{"name":"thephantomx","email":"phanxgames@gmail.com"},"dist":{"integrity":"sha512-t2pQZT+4F+4HgY88TYq/9VkoI8PCZ4AY2R2by5DpKsOYmHle/1zxkvyEAtBUMERBvILZ3IN/9tvRI9AGzPgfvw==","shasum":"33c2587f9de982ff4550cc460e93bd218a8a5e47","tarball":"https://registry.npmjs.org/dictionaryjs/-/dictionaryjs-1.0.10.tgz","fileCount":7,"unpackedSize":27548,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/keTYv9yjn7I0sFYMGebK40wtZwl4i8arD/5E0gSkmQIhAJsJ56xvJAiZLMiMpnm4cA0UqfsV+6un2bE1KXLeDuiA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjknKXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqo0g//fWdTBeghl/dabmdhCjcJ16s7BqTzy0Ft3ihzGjaZr05YjKDJ\r\nU+4mXT9BuAYh2mlziMNYnUBgAMVkWtysImMnQ7mQ5p2DMntepcTSUqkItpwW\r\n4SFKdUAsSp3Ef9J7Q9J9t+DHLmWWDwIEemFYG68+hdE0rgb2Nj/fqRIiskWB\r\nrUCOz+n8otyOutJEY/5m+zVOGEWgCkoKKkBQjzO8ZEON7pPclhaQ2JAzrhRL\r\n938ZmxIb8FnKtapiitX5t1a35lxUkWpAdTuwU8WjaYhV6stK6WtyB+EuWlDx\r\nak5fcePyosPQnnNv3OSwRn/jJaHuPZO5fBPYYZerRADBCLAQFzDBTd9Bb67c\r\nhkJxIVvLrwv92mmQiFxyZ2BTN6VGbjHGY+w56Llq5FS9bq0S1ic6f0JirFOY\r\njpXLAJMNK1Cy3Z/6kmay1d1LesM3wPyyc/SDb73j1rDFuekprD61Au8tXCL/\r\nSX2vtSB2j9psqgkWhEOmWNiN5JRjr5B9LNiCVFlEirDrJRcIfOqdfTWJqIlu\r\nXVrq5qJK5HQTTxiNXhxE6cHTsCsenReknpAA2cL0r9X/ISwseezwTkSk6QlH\r\nnJ0MKmYeLTZ9uXlVGMAJLPw9bDmQNKTkZrTRp4woi/vxWIE2WFdQDb0ThhBL\r\n3s3TDeCwSqajoXsOwpzvquIR2Vd3wBVFCVU=\r\n=+m5Q\r\n-----END PGP SIGNATURE-----\r\n"},"directories":{},"maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dictionaryjs_1.0.10_1670541975609_0.5549260685649111"},"_hasShrinkwrap":false}},"readme":"A simple dictionary wrapper for JavaScript providing hashmap functionality with the added benefit of accessing keys using box and dot operators!\r\n\r\n### Features\r\n\r\n* Typescript source-code.\r\n* Stores key/value pairs within a Associative Array like collections.\r\n* Use dot operator and brackets to access keys.\r\n* Remove key using the DELETE operator.\r\n* Iterator to support for..of looping.\r\n* Async/await support with Promises.\r\n* Set and Get methods for accessing keys.\r\n* GetDefault method with default value if value is not found.\r\n* Remove method to remove key from collection.\r\n* Size property to get total key count within collection.\r\n* Built-in forEach and asyncForEach methods for looping.\r\n* Empty and asyncEmpty to remove all entries from collection.\r\n* Has method checking if key is within collection.\r\n\r\n\r\n### install\r\n\r\n<pre>\r\nnpm install dictionaryjs\r\n</pre>\r\n\r\n### Requirements\r\n\r\n* ECMAScript 2017 (ES2017)\r\n* Node.JS 8.x or later (tested on 8.1.3)\r\n\r\nSee branch \"classic\" for earlier versions of Node.JS.\r\n\r\n\r\n## API\r\n\r\n### Setup\r\n\r\nTo use simply include at the top of your script:\r\n\r\n<pre>\r\nconst Dictionary = require('dictionaryjs');\r\n\r\nlet dict = new Dictionary();\r\n</pre>\r\n\r\nTypeScript example:\r\n\r\n<pre>\r\nimport {Dictionary} from \"dictionaryjs\";\r\n\r\nlet dict:Dictionary&lt;string,string&gt; = new Dictionary&lt;string,string&gt;();\r\n\r\n</pre>\r\n\r\n\r\n### Set\r\n\r\nStore values to a key:\r\n\r\n<pre>\r\ndict.set(\"key\",value);\r\n//--or--\r\ndict[\"key\"] = value;\r\n//--or--\r\ndict.key = value;\r\n</pre>\r\n\r\n### Get\r\n\r\nGet a value from a key:\r\n\r\n<pre>\r\ndict.get(\"key\");\r\n//--or--\r\ndict[\"key\"];\r\n//--or---\r\ndict.key;\r\n</pre>\r\n\r\n### Get Default\r\n\r\nGet the value of a key or return the default value.\r\n\r\n<pre>\r\ndict.getDefault(\"key\",default);\r\n</pre>\r\n\r\nIf key is not contained within dictionary then the default value will be returned.\r\n\r\n\r\n### Remove\r\n\r\nRemove an entry by key:\r\n\r\n<pre>\r\ndict.remove(\"key\");\r\n//--or--\r\ndelete dict[\"key\"];\r\n</pre>\r\n\r\n\r\n### Size\r\n\r\nDetermine how many entries are in the dictionary, returns an integer.\r\n\r\n<pre>\r\ndict.size;\r\n//--or--\r\ndict.length;\r\n</pre>\r\n\r\n### Has\r\n\r\nCheck if key is in the dictionary, returns boolean.\r\n\r\n<pre>\r\ndict.has(\"key\");\r\n</pre>\r\n\r\n\r\n### Contains\r\n\r\nCheck if value is in the dictionary, returns boolean.\r\n\r\n<pre>\r\ndict.contains(obj);\r\n</pre>\r\n\r\n\r\n### Empty\r\n\r\nRemoves all dictionary entries. This method is blocking.\r\n\r\n<pre>\r\ndict.empty();\r\n//--or--\r\ndict.clear();\r\n</pre>\r\n\r\n### Async Empty\r\n\r\nRemoves all dictionary entries. This method is non-blocking.\r\n\r\n<pre>\r\ndict.asyncEmpty(() => {\r\n  //called after dictionary has been emptied\r\n});\r\n</pre>\r\n\r\nOr as a promise:\r\n\r\n<pre>\r\nawait dict.asyncEmpty();\r\n//after dictionary has been emptied\r\n</pre>\r\n\r\n### For Each\r\n\r\nTo loop over each entry in the dictionary use:\r\nThis method is blocking.\r\n\r\n<pre>\r\ndict.forEach((key,value) => {\r\n  //returns key and value of each\r\n});\r\n</pre>\r\n\r\nTo break and end looping:\r\n\r\n<pre>\r\ndict.forEach(function(key,value) {\r\n  if (..logic..) return false;\r\n});\r\n</pre>\r\n\r\n### Async For Each\r\n\r\nTo loop over each entry in a non-blocking manner:\r\n\r\n<pre>\r\ndict.asyncForEach((key,value,next) => {\r\n  //returns key and value of each\r\n  next();\r\n});\r\n</pre>\r\n\r\nTo break and end looping:\r\n\r\n<pre>\r\ndict.asyncForEach((key,value,next) => {\r\n  if (..logic..) return false;\r\n  next();\r\n});\r\n</pre>\r\n\r\n(Optional) You may also call a function once the asyncForEach loop is complete:\r\n\r\n<pre>\r\ndict.asyncForEach((key,value,next) => {\r\n  next();\r\n}, () => {\r\n  //called once loop is complete\r\n});\r\n</pre>\r\n\r\nOr as a promise:\r\n\r\n<pre>\r\nawait dict.asyncForEach((key,value,next) => {\r\n  next();\r\n});\r\n//once loop is complete\r\n</pre>\r\n\r\n\r\n### Using the (for ... of) loop:\r\n\r\nLoop through all entries. This is blocking.\r\n\r\n<pre>\r\nfor (let value of dict) {\r\n    console.log(value);\r\n}\r\n</pre>\r\n\r\nTo loop through each key within the collection you may use the for...in loop.\r\nThis is blocking.\r\n\r\n<pre>\r\nfor (let key in dict) {\r\n    console.log(key + \"=\" + dict[key]);\r\n}\r\n</pre>\r\n\r\n\r\n\r\n### Entries Iterator\r\n\r\nLoop through all key and value pairs at once:\r\n\r\n<pre>\r\nfor (let [key,value] of dict.entries()) {\r\n    console.log(key,value);\r\n}\r\n</pre>\r\n\r\n\r\n### Get Keys\r\n\r\nReturns an array of keys:\r\n\r\n<pre>\r\ndict.keys();\r\n</pre>\r\n\r\n### Get Values\r\n\r\nReturns an array of values:\r\n\r\n<pre>\r\ndict.values();\r\n</pre>\r\n\r\n### Initial Key/Values\r\n\r\nDeclare the Dictionary to have initial key/values with the constructor:\r\n\r\n<pre>\r\nlet dict = new Dictionary({\"key\":\"value\"});\r\n</pre>\r\n\r\n\r\n### Caching Keys\r\n\r\nAn option in the constructor (defaults to false) allows you to have the keys cached so they are not recalculated each time you begin to iterate through the collection.\r\n\r\nFirst enable caching by passing true in the constructor:\r\n\r\n<pre>\r\nlet dict = new Dictionary(null,{cacheKeys:true});\r\n</pre>\r\n\r\nThen as you interact with the collection the cache will invalidate on its own as long as you use the methods built into the class.  In other words using the dot or box operators to set or delete keys will not invalidate the key cache.\r\n\r\n<pre>\r\n//will invalidate cache on its own:\r\ndict.set(\"key\",value);\r\n\r\n//will NOT invalidate cache on its own:\r\ndict[\"key\"] = value;\r\n</pre>\r\n\r\nIn the event you wish to still use the dot or box operators you can manually invalidate the cache yourself...\r\n\r\n<pre>\r\ndict[\"key\"] = value;\r\ndict.invalidate();\r\n</pre>\r\n\r\n\r\n\r\n\r\n","maintainers":[{"name":"thephantomx","email":"phanxgames@gmail.com"}],"time":{"modified":"2022-12-08T23:26:15.883Z","created":"2013-09-08T01:42:02.017Z","0.0.1":"2013-09-08T01:42:04.280Z","0.0.2":"2013-09-08T01:59:02.077Z","0.0.3":"2013-09-08T03:01:59.886Z","0.0.5":"2013-09-08T03:08:51.471Z","0.0.6":"2013-09-08T03:49:45.998Z","0.0.7":"2013-10-04T04:17:27.799Z","0.0.8":"2013-10-09T00:08:38.805Z","0.0.9":"2016-07-28T02:50:41.660Z","0.0.10":"2016-07-28T03:06:17.215Z","1.0.0":"2016-07-28T03:17:02.753Z","0.0.11":"2016-07-28T03:22:37.022Z","0.0.12":"2016-08-01T05:11:47.975Z","1.0.1":"2017-11-01T12:22:39.393Z","1.0.2":"2017-11-01T12:33:44.369Z","1.0.4":"2017-11-02T11:23:09.973Z","1.0.5":"2017-12-19T22:59:37.224Z","1.0.6":"2017-12-20T00:18:36.372Z","1.0.7":"2018-05-15T16:39:20.696Z","1.0.8":"2019-07-16T16:20:33.772Z","1.0.9":"2019-07-16T16:22:48.947Z","1.0.10":"2022-12-08T23:26:15.806Z"},"repository":{"type":"git","url":"git://github.com/phanxgames/dictionaryjs.git"},"keywords":["dictionary","associative array","hashmap","key-value","map","typescript"],"bugs":{"url":"https://github.com/phanxgames/dictionaryjs/issues"},"readmeFilename":"readme.md","homepage":"https://github.com/phanxgames/dictionaryjs#readme","license":"GPL-3.0"}