{"_id":"typescript-map","_rev":"13-b380b469ba3e6d0a044f85b970d07679","name":"typescript-map","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"typescript-map","version":"0.0.1","keywords":[],"author":{"name":"Scott Lott, ClickSimply.com"},"license":"MIT","_id":"typescript-map@0.0.1","maintainers":[{"name":"clicksimply","email":"scott@clicksimply.com"}],"homepage":"https://github.com/ClickSimply/typescript-map#readme","bugs":{"url":"https://github.com/ClickSimply/typescript-map/issues"},"dist":{"shasum":"7ff2e2bea5e55aa5f31b630560a99cb913f08446","tarball":"https://registry.npmjs.org/typescript-map/-/typescript-map-0.0.1.tgz","integrity":"sha512-1wqIvEoRY+EShKVjgFYemM9/P/BYdGLKJmku5EtSpTYrfb3GJuT8kgP+7BpkXWD0SSdw5wj59189Vv8GBFn5OQ==","signatures":[{"sig":"MEQCIAtzlsGfUtyVR9di4wqkdAuQ+x9g/UR7r8jsylxcXA65AiBMR5MfIOeYt4Zg3SsvxjmZBjNcsRAdaKyA4wEqjBhGWA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"7ff2e2bea5e55aa5f31b630560a99cb913f08446","gitHead":"a9ac68389e9f7a3aaae48e96141886d642793f3a","scripts":{"build":"bash build.sh"},"_npmUser":{"name":"clicksimply","email":"scott@clicksimply.com"},"repository":{"url":"git+https://github.com/ClickSimply/typescript-map.git","type":"git"},"typescript":{"definition":"index.d.ts"},"_npmVersion":"3.10.10","description":"ES6 Map Like Implemented in typescript","directories":{},"_nodeVersion":"7.3.0","devDependencies":{"webpack":"^1.13.3","uglifyjs":"^2.4.10","typescript":"^2.0.10"},"_npmOperationalInternal":{"tmp":"tmp/typescript-map-0.0.1.tgz_1482930693355_0.9322968854103237","host":"packages-12-west.internal.npmjs.com"}},"0.0.2":{"name":"typescript-map","version":"0.0.2","keywords":[],"author":{"name":"Scott Lott, ClickSimply.com"},"license":"MIT","_id":"typescript-map@0.0.2","maintainers":[{"name":"clicksimply","email":"scott@clicksimply.com"}],"homepage":"https://github.com/ClickSimply/typescript-map#readme","bugs":{"url":"https://github.com/ClickSimply/typescript-map/issues"},"dist":{"shasum":"6524cf76b64cdc053e0f319578c60568ccad8bca","tarball":"https://registry.npmjs.org/typescript-map/-/typescript-map-0.0.2.tgz","integrity":"sha512-ZpZqX/5GVuFEYdZeNN2nD68tHtyRsZXRZJ4gSB8BsKfxXfMl9d5KUtPw2BgtzcURSJl4sCLGzEpJzXemPGZ0Sw==","signatures":[{"sig":"MEYCIQDEW/OlxTmTXT4QjTGHGkAwkaCCHK1waPgH1G47OX7tRwIhALo5kmGqCasCL+OXfpEL1X0nvrglctup7hhQmcSGunVd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"6524cf76b64cdc053e0f319578c60568ccad8bca","gitHead":"2d90792c76a303dd6374eb2570a2e25f3ce9092e","scripts":{"build":"bash build.sh"},"_npmUser":{"name":"clicksimply","email":"scott@clicksimply.com"},"repository":{"url":"git+https://github.com/ClickSimply/typescript-map.git","type":"git"},"typescript":{"definition":"index.d.ts"},"_npmVersion":"3.10.10","description":"ES6 Map Like Implemented in typescript","directories":{},"_nodeVersion":"7.3.0","devDependencies":{"webpack":"^1.13.3","uglifyjs":"^2.4.10","typescript":"^2.0.10"},"_npmOperationalInternal":{"tmp":"tmp/typescript-map-0.0.2.tgz_1482931973742_0.43241573264822364","host":"packages-18-east.internal.npmjs.com"}},"0.0.3":{"name":"typescript-map","version":"0.0.3","keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ponyfill","ecmascript","typescript","generics","data","structures","collections","dictionary","tree","stack","queue","set"],"author":{"name":"Scott Lott, ClickSimply.com"},"license":"MIT","_id":"typescript-map@0.0.3","maintainers":[{"name":"clicksimply","email":"scott@clicksimply.com"}],"homepage":"https://github.com/ClickSimply/typescript-map#readme","bugs":{"url":"https://github.com/ClickSimply/typescript-map/issues"},"dist":{"shasum":"67f3667bec6fb34d0b4c4a5f338c0efe1badda98","tarball":"https://registry.npmjs.org/typescript-map/-/typescript-map-0.0.3.tgz","integrity":"sha512-jPdB0wCgi754bwLw3xBY4Ha5iUzLkhjvL1YO3q2VbYuhXCTDij3KnMJSNJ84Elxs1nwQvwK2DJjN8CDQV0c4UQ==","signatures":[{"sig":"MEYCIQDTVPUy3Bh02LJZrMIN0cSGC+3NmnRQqj5gFmp6H80fgwIhAJZf0aVAqso03x+s6yEfh0gE/yaz/ZTAVtNKc2hMYHo3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"67f3667bec6fb34d0b4c4a5f338c0efe1badda98","gitHead":"d9505bc35ddb8faf18c4f9419ca0236c7364e245","scripts":{"build":"bash build.sh"},"_npmUser":{"name":"clicksimply","email":"scott@clicksimply.com"},"repository":{"url":"git+https://github.com/ClickSimply/typescript-map.git","type":"git"},"typescript":{"definition":"index.d.ts"},"_npmVersion":"3.10.10","description":"ES6 Map Implemented in TypeScript","directories":{},"_nodeVersion":"7.3.0","devDependencies":{"webpack":"^1.13.3","uglifyjs":"^2.4.10","typescript":"^2.0.10"},"_npmOperationalInternal":{"tmp":"tmp/typescript-map-0.0.3.tgz_1483836826297_0.29965539765544236","host":"packages-12-west.internal.npmjs.com"}},"0.0.4":{"name":"typescript-map","version":"0.0.4","keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ponyfill","ecmascript","typescript","generics","data","structures","collections","dictionary","tree","stack","queue","set"],"author":{"name":"Scott Lott, ClickSimply.com"},"license":"MIT","_id":"typescript-map@0.0.4","maintainers":[{"name":"clicksimply","email":"scott@clicksimply.com"}],"homepage":"https://github.com/ClickSimply/typescript-map#readme","bugs":{"url":"https://github.com/ClickSimply/typescript-map/issues"},"dist":{"shasum":"9ab81db99a11550bbfea9a46515e6dc4f2f1fa48","tarball":"https://registry.npmjs.org/typescript-map/-/typescript-map-0.0.4.tgz","integrity":"sha512-C6jaODOoUtTnnuEkK4XpcOzAMXz3/41CjaPkW8rZkV3N3l0c8r6lTvU/fa6Y10hJveCQjiUAg4Xouh297DvW3A==","signatures":[{"sig":"MEUCIQDVEe2sEdy2UA4BgmKWGmjlO9TJrwIk4FEjyld7OAXFPwIgLTgKxwaJzrN62O3FfK4rdnxsCZxXbuqEz2YA+jNoPt8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"846be5ea867d02da32e94bb0450da765e31425d4","scripts":{"build":"bash build.sh"},"_npmUser":{"name":"clicksimply","email":"scott@clicksimply.com"},"repository":{"url":"git+https://github.com/ClickSimply/typescript-map.git","type":"git"},"typescript":{"definition":"index.d.ts"},"_npmVersion":"5.0.3","description":"ES6 Map Implemented in TypeScript","directories":{},"_nodeVersion":"8.0.0","devDependencies":{"webpack":"^3.0.0","uglifyjs":"^2.4.11","typescript":"^2.3.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript-map-0.0.4.tgz_1498119257299_0.005224201828241348","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"typescript-map","version":"0.0.5","keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ponyfill","ecmascript","typescript","generics","data","structures","collections","dictionary","tree","stack","queue","set"],"author":{"name":"Scott Lott, ClickSimply.com"},"license":"MIT","_id":"typescript-map@0.0.5","maintainers":[{"name":"clicksimply","email":"scott@clicksimply.com"}],"homepage":"https://github.com/ClickSimply/typescript-map#readme","bugs":{"url":"https://github.com/ClickSimply/typescript-map/issues"},"dist":{"shasum":"a73391ce86980a8813e793bd3536d58cb7b2d290","tarball":"https://registry.npmjs.org/typescript-map/-/typescript-map-0.0.5.tgz","integrity":"sha512-6hvDEcQBfg/3snSLEXnNQ16rKypoiSJGTDp/i/QlheQt1Jj8wuXeV4GI6mz990BJjdGC14aNJCQu5OAT8VPNQQ==","signatures":[{"sig":"MEUCIQDWwwj52KGR2hFa3H4Fr5JN74d3FiuRIJ5pF6+phln2cgIgGuZAXH5hEFOafUIrVmuGNQwTwPEEkHFKySFCAUcjjDI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"82691c0e25c5a7ef53637c9750934a7ce58e7905","scripts":{"build":"bash build.sh"},"_npmUser":{"name":"clicksimply","email":"scott@clicksimply.com"},"repository":{"url":"git+https://github.com/ClickSimply/typescript-map.git","type":"git"},"typescript":{"definition":"index.d.ts"},"_npmVersion":"5.2.0","description":"ES6 Map Implemented in TypeScript","directories":{},"_nodeVersion":"8.0.0","devDependencies":{"webpack":"^3.0.0","uglifyjs":"^2.4.11","typescript":"^2.3.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript-map-0.0.5.tgz_1508285141288_0.06189384311437607","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"typescript-map","version":"0.0.6","keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ponyfill","ecmascript","typescript","generics","data","structures","collections","dictionary","tree","stack","queue","set"],"author":{"name":"Scott Lott, ClickSimply.com"},"license":"MIT","_id":"typescript-map@0.0.6","maintainers":[{"name":"clicksimply","email":"scott@clicksimply.com"}],"homepage":"https://github.com/ClickSimply/typescript-map#readme","bugs":{"url":"https://github.com/ClickSimply/typescript-map/issues"},"dist":{"shasum":"f2367a2c2a21b1a86ddf5bc213fb546f71f5cd3b","tarball":"https://registry.npmjs.org/typescript-map/-/typescript-map-0.0.6.tgz","fileCount":12,"integrity":"sha512-lZ0zr+GmDPeGDTrnHMLdnZLmbRDe2pyqeGPH5f92JW/n7hmhmGV5jj3wwR6UFY9dPeyDQ0/wqzz7n0QKbxxWiA==","signatures":[{"sig":"MEQCIEPJm6G+IBCrw7EShwsH4XrzQjSl3fjiTBWT8zWfsY5kAiBs3iFicrVQfyzWSpGtCUdXq45O8SAS0EJIb6wmlNVGAQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32261,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1GD+CRA9TVsSAnZWagAAc4MP/jQ2nOZwpGvdf5Cq8Lq4\nQYaDNvt9SzoUFioN5P0WAukDwPpiryC0Ohncnn+SSQhZM6GOjvVGjuSVcdxD\nHTeXpwvAe+ViY81fFuAYfidFJAo0EU8HsRSUAdPmMoqE94ZPEZ/+g7S84fuQ\nsl7JZjhQDhQdEaTwQ4ni7OyjRjwL84TY4YCx5+tNb3Ma3pySrvVq/NDoRhio\nlD5MITvyRivngQGLFKDNxP3SFW4iKyPLu9AzX4hRwiTWv4JLeDHf2k8N4BZZ\nbaihm5nXg2Fr4Yl5rzFRTCVZIx07Kye1JGFZYYOccysHf/QZmtJYEwFwbCWP\nSVCs8AiX78/3uc3XfWn47V8BTdUT2bnSDlR8xajnmuySDZpj73aB6xvaek+I\n4zA9oha9DrdOs5vFjNXWLwb71HCM0osUyt/7GNMef5L/9xbR8uOXbmK1qRxO\nwW6Sz+032Tf7QOxDIwCCb/PnoVM0XLlzMJAlbbH9o5HvnU1JLjNwRdcgGl8N\nn0iCMhkFNzc8rQiAslgxvgH8lS5vCsy2Cf7huGCzPCaizmIw+uQ6ucMLr12w\ngBU6spm8ABeQMbprUMTX/R5UgJ7OGOxqKYYcQk5HqnJs1U6Un2i1oEUCon3n\nP1L7X1863ZrrjzVbx2UlXiO5MVCMeQcBorx0ANBoSo1WkIBapF2pbGEDhdsc\n7u86\r\n=wpGz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"82691c0e25c5a7ef53637c9750934a7ce58e7905","scripts":{"build":"bash build.sh"},"_npmUser":{"name":"clicksimply","email":"scott@clicksimply.com"},"repository":{"url":"git+https://github.com/ClickSimply/typescript-map.git","type":"git"},"typescript":{"definition":"index.d.ts"},"_npmVersion":"5.8.0","description":"ES6 Map Implemented in TypeScript","directories":{},"_nodeVersion":"8.9.4","_hasShrinkwrap":false,"devDependencies":{"webpack":"^3.0.0","uglifyjs":"^2.4.11","typescript":"^2.3.4"},"_npmOperationalInternal":{"tmp":"tmp/typescript-map_0.0.6_1523867902321_0.5896644913978377","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"typescript-map","version":"0.0.7","keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ponyfill","ecmascript","typescript","generics","data","structures","collections","dictionary","tree","stack","queue","set"],"author":{"name":"Scott Lott, ClickSimply.com"},"license":"MIT","_id":"typescript-map@0.0.7","maintainers":[{"name":"clicksimply","email":"scott@clicksimply.com"}],"homepage":"https://github.com/ClickSimply/typescript-map#readme","bugs":{"url":"https://github.com/ClickSimply/typescript-map/issues"},"dist":{"shasum":"69d1937af203d1c9a32fc20ee3d8813e8f1a745f","tarball":"https://registry.npmjs.org/typescript-map/-/typescript-map-0.0.7.tgz","fileCount":12,"integrity":"sha512-qLGAeshAnryHN1ycLS4nk+7195MYXbrCzI62bXl8TEqigD5otgHUGIdWsdn5MsbAX3ba5ZtkKEAM0LgaVUAdnQ==","signatures":[{"sig":"MEUCIQDVGAwYU0ypAEY5XnUtwS9m9abHg8A5+IYzA13sYFLcegIgXMr2NrIFaLx2FqCulXVWyEbZCm+wNi/3bJODaQLYqAY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRbn2CRA9TVsSAnZWagAAbb8P/2Kyu8uh0YiQ7JghmOrz\n6XBBDrV0WHabuhW0tDqvmy62bd8sXfyAwtR9YOEi6dwWQLZdf4jbRKTLQnvC\nFamcfySegM6/weW7taP51RzduBw3o2eFp5BDIT9xN11VRTOp7gJPqWE/oexn\nK5l+FDrtaeBhhyOsyi9yVBJFMjbM5A+jfRD6XAezaKl3ut08HrOnF8Gx+phS\nRWfPF2hA+lsHlnSVaBvPyYbjbuai1cEqpCj2Gla7KNGSA1wxbCRjcpUMlQl7\nlijTJHd0BancjXiMzMVaMOQmxrzuTzbiEkWCLw1MxmiOeGj/DkUeqll3+NQ7\nO3LbinXHWQhV6LRZkSZd7tmsceS6Z4rnAJ6GAmhI4AVhA8+WVFw3lcQL9uqj\n6SbPjEjVJFhMkZIcpLnT4BnmMn9P689fHQ670bD5+kUu7Q6kapUcQ5lANsCL\nk6oX3Ksjsa1g9CDyNT/In7SR3v7fyNSDQl64Oz8vc0PXNmlUdTzH8ZxsUldJ\n/Sw9ECfSAgZ/lL4MIz/B8hNXTrusIxVmLv2OvMN0eox0Xgc/hCeBdLoloJ7q\n8uz5TjdgHmwp4tco4rAdvjeMvnHR+MLqMtsdG4FCtkF4F0O89wBE1J/NRj4C\npgHFTXWvTLybizYusp5/iYIKoRx82ONszByCftZ/MiTzOtxyznrFMnmY8HDk\n2HyO\r\n=vRGp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"01d5726b67e8e009fe848c570c77a40ae97d82d4","scripts":{"build":"bash build.sh"},"_npmUser":{"name":"clicksimply","email":"scott@clicksimply.com"},"repository":{"url":"git+https://github.com/ClickSimply/typescript-map.git","type":"git"},"typescript":{"definition":"index.d.ts"},"_npmVersion":"6.5.0","description":"ES6 Map Implemented in TypeScript","directories":{},"_nodeVersion":"8.12.0","_hasShrinkwrap":false,"devDependencies":{"webpack":"^3.12.0","uglifyjs":"^2.4.11","typescript":"^2.9.2"},"_npmOperationalInternal":{"tmp":"tmp/typescript-map_0.0.7_1548073462379_0.8517297760499822","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"typescript-map","version":"0.1.0","keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ponyfill","ecmascript","typescript","generics","data","structures","collections","dictionary","tree","stack","queue","set"],"author":{"name":"Scott Lott @only_cliches"},"license":"MIT","_id":"typescript-map@0.1.0","maintainers":[{"name":"clicksimply","email":"scott@clicksimply.com"}],"homepage":"https://github.com/only_cliches/typescript-map#readme","bugs":{"url":"https://github.com/only_cliches/typescript-map/issues"},"dist":{"shasum":"67224d440ba388975183514aab31d704be11add9","tarball":"https://registry.npmjs.org/typescript-map/-/typescript-map-0.1.0.tgz","fileCount":12,"integrity":"sha512-py1csqjGZR7LoENWvr5aqN4jYFDkthQZ1sCuMBr0/NuRJ5sSs5RqopqZhE2gFbLesKDec+RE0sraYV2ebrDexQ==","signatures":[{"sig":"MEYCIQCCHxRNi8CvufAnxqrA32kEG1cT9ll9SjaWrv00NcyeHAIhANtfl58uDxF0Vx0sqZ/YVhpYYwZGW3C0kQlTw+/KOJYJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32016,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf5/roCRA9TVsSAnZWagAAIYQP/3jWN0nko3m228ShIXdl\n3dNRPlWCtMIbiIlzbQ1F+YqwAr8dXm/1i/rvOYQ4ir/SfJSjAn6AQx3oSvg2\nN/G/PReW75+5aNRkZC+AytjOedYkYacSTG2TM95e1pb3aqub3Mv7a8vTSDgY\nrQZTBsr+Udj2noGtmMY6W/E44j57yMyH2/ONeBCjFOARC2qVST7NJUIQ9Hey\nlx/0xRM2CBtl8HhPKadqcXdIetdX09B+d4ReRh89eXR1mk5Swx2rD4bL4ENG\nYGcIaJDfGL1EzWPeMXZaMR16nTPEhOkjI5R4wQ1GIIxIKxfoO7XSo/ndeca5\nBYXUa7kMtUOsx8E3A1i4da/X2I8fPtZIDzzEpVER6NeJ3W4lfkW2x+b36q7V\nVXboYu9sAh9X9ePJaKbTOxGptbZlyHyrQ0O1t792fjVi4m8ux19q/NDw5u8X\nfRzzoUgMD12y1a0QJTDeE6GXR2jxpi9SdrWEmDe4K65eALKoXDMJ5bAmmgTW\nc2ON9rAiis/LsFjmHmQMi9h0wumAWjbCc1M9da6Tg5xR4siAxTrA403+aZb0\nbDEZChcLZJwsAk2ZDR0nu9VmdKccbtgX4mm1XLXZQYr5SC2oCj2jKHTsg/4a\nL+ZLLjJSG/Bb0OFqu9AjEZMeYk9/+tBgzyRoRC/m8gauC/ooeZ7N/lIh1lat\n8TF3\r\n=hfhU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e5ed1ab261253a280f11e261eeb0ddae45a04c92","scripts":{"build":"bash build.sh"},"_npmUser":{"name":"clicksimply","email":"scott@clicksimply.com"},"repository":{"url":"git+https://github.com/only_cliches/typescript-map.git","type":"git"},"typescript":{"definition":"index.d.ts"},"_npmVersion":"6.14.8","description":"ES6 Map Implemented in TypeScript","directories":{},"_nodeVersion":"14.15.1","_hasShrinkwrap":false,"devDependencies":{"webpack":"^5.11.0","typescript":"^4.1.3","webpack-cli":"^4.3.0"},"_npmOperationalInternal":{"tmp":"tmp/typescript-map_0.1.0_1609038567672_0.4909497344066094","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-12-28T13:11:33.598Z","modified":"2024-12-17T18:04:42.501Z","0.0.1":"2016-12-28T13:11:33.598Z","0.0.2":"2016-12-28T13:32:55.734Z","0.0.3":"2017-01-08T00:53:46.532Z","0.0.4":"2017-06-22T08:14:17.379Z","0.0.5":"2017-10-18T00:05:41.445Z","0.0.6":"2018-04-16T08:38:22.460Z","0.0.7":"2019-01-21T12:24:22.476Z","0.1.0":"2020-12-27T03:09:27.785Z"},"bugs":{"url":"https://github.com/only_cliches/typescript-map/issues"},"author":{"name":"Scott Lott @only_cliches"},"license":"MIT","homepage":"https://github.com/only_cliches/typescript-map#readme","keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ponyfill","ecmascript","typescript","generics","data","structures","collections","dictionary","tree","stack","queue","set"],"repository":{"url":"git+https://github.com/only_cliches/typescript-map.git","type":"git"},"description":"ES6 Map Implemented in TypeScript","maintainers":[{"email":"me@scottlott.com","name":"only-cliches"}],"readme":"# typescript-map\nES6 Map implemented in TypeScript.\n\nThis is not an ES6 Map polyfill, it is not a pure implementation (but it's really close!).\nI just needed a way to declare maps in my ts code in a safe, reusable way without taking dozens of kilobytes.\n\nJust over 1 kilobyte gzipped. :)\n\n*Note*: This library doesn't use a hashing function to keep the implmentation small and simple, this means if you plan to put more than a few hundred keys into the map or if the map is on a hot path you should use [es6-map](https://www.npmjs.com/package/es6-map) instead.\n\n# Installation\n`npm install typescript-map`\n\nThe lib creates a single global variable: `TSMap`\n\nIf you're using typescript/ES6:\n```ts\nimport { TSMap } from \"typescript-map\"\n```\n\nIf you're using commonjs:\n```ts\nconst TSMap = require(\"typescript-map\").TSMap;\n```\n\nIf you're just using it in the browser:\n\n1. Download `dist/tsmap.min.js`\n\n2. Include it in your head: `<script src=\"tsmap.min.js\"></script>`.\n\n# Usage\n\n\n```ts\nvar myMap = new TSMap();\nmyMap.set('foo','bar');\nconsole.log(myMap.get('foo')) //<= \"bar\"\n\n//Typescript\nvar myMap = new TSMap<string,number>();\nmyMap.set('foo',2);\n\n//ES6 Maps take an array of arrays as the optional init object:\nvar myMap = new TSMap([\n    ['foo','bar'],\n    ['key','value']\n])\n\n```\n\nAlso includes several functions that aren't in the spec\n\n```ts\n// Safely retrieve a deeply nested object, works for nested TSMaps, objects and arrays.\nlet someValue = myMap.deepGet([\"deeply\",\"nested\",\"property\"]);\n\n// Insert items keeping the keys sorted (Uses a super fast binary insert method)\nmyMap.sortedSet(5, \"apple\");\nmyMap.sortedSet(2, \"orange\");\nmyMap.sortedSet(7, \"bannana\");\nconsole.log(myMap.keys()) // <= [2, 5, 7];\n\n//Import JSON into the map\nvar myMap = new TSMap().fromJSON({\n    foo:'bar',\n    key:'value'\n}, true); // <= optional second parameter, if \"true\" nested objects should be converted to TSMaps.\n\n//Export the map to JSON\nvar myJSON = myMap.toJSON();\n\n//Map the map (insert meme here).  Returns an array, not the map.\nvar anArray = myMap.map(function(value, key) {\n    return value + \" oh look, another hippy\".\n});\n\n//Filter the map (removes items in the current map)\nmyMap.filter(function(value, key) {\n    return key%2; //Remove all even objects;\n});\n\n```\n\nEverything is documented in the src/index.ts file and the definitions file is pretty clear.  If you need a full doc on using Maps look here:\n[MDN Map Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map)\n\n# Building\n`npm install && npm run build`\n\n# License\nMIT","readmeFilename":"README.md"}