{"_id":"@alexmerced/bettertypes","_rev":"7-e8836b8b2acfa0681a71b4f5853ae220","name":"@alexmerced/bettertypes","dist-tags":{"latest":"1.0.7"},"versions":{"1.0.0":{"name":"@alexmerced/bettertypes","version":"1.0.0","description":"---","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/AlexMercedCoder/bettertypesjs.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/AlexMercedCoder/bettertypesjs/issues"},"homepage":"https://github.com/AlexMercedCoder/bettertypesjs#readme","gitHead":"505b81c10d6bdb92c7ad5f83bf9ae2e15b12fb0b","_id":"@alexmerced/bettertypes@1.0.0","_nodeVersion":"13.9.0","_npmVersion":"6.14.1","dist":{"integrity":"sha512-GLf1d/TzRrDL1bAUbtPNd3qhEymoVbdX5lzdSnlSE6h7d4bFiv8pDToLj4at6llzd+5hB4JffN1chRkYm0b4gg==","shasum":"5ee77c3d6f4bdbdcd69edffc96ad40bdd52496c8","tarball":"https://registry.npmjs.org/@alexmerced/bettertypes/-/bettertypes-1.0.0.tgz","fileCount":3,"unpackedSize":15724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYmG9CRA9TVsSAnZWagAAq0EP/2AMH+TYxVvz2IHXeP5h\n3bumszAyzSmzTu2CGs3EjYT1czF3nF7bH0AjtUnZCiG2RB4isV9XDRCaA0m3\nBFIupzgdJ1obQ+uJGzqyng977oq1Q9V1Jk2ZZ6KhFHeJ5uhg1tTZxV1/m5tk\nnwFMv5GWI5rPsM5NZJMSW5I7o2dgf9UNfD19Fh+cGdAv2d8pmQ/hrU2khLNu\nitDfbJv6mTUUFruIw2rKPxeHtWkrcTxwr+tHLgUb0A9HIrZeaAhEV7LrDPM0\nZ/Smpqceh9mZRzVE2Ds8kWbpnV9zwczq+J83FeJwxzkB1Wi1sJj3YpW54ebc\nZa578T49bcdNVYRJuOgBX/W7VBAC3qt4hwEB9N0uyVj53HImLe3/LxOHHUPb\n5EinKrbOrscrIbUApFUbxWfh8gGVcrz1cdvZOWHUPOOlCp/fY8Wxrwl7DEHW\nqifdxrOh/HPc2LZmMTTT31BU3+YbCUZV4qJ0GXlwQguAXIIC1dXdqnTmAk4D\n0jxWsJL37tKZ/7rd0Bkc5SHMUkbWrDuoqt52yXSXeimRDkqoYedZSCJQk8Uz\npyl1d1G3EL8ft2m3vrs8JbWDHC9R0qy/fHfYR2bHqH9BVKHsaa08/1Q4GplH\nNcO6qoxsMID8GxxJ9AC/tnL1xIAwdolprgG7H2JSdjcKj0m+Evxt2NU+aD+5\nDPF8\r\n=CdHW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0btu/kKscLS65X+Mcri4MnLxxMGD7G9yC3k8g0/iaWwIgPMaJFHnZibDuOi14m2rL0VzvmP7y+v64BLdMbjovHks="}]},"maintainers":[{"name":"alexmerced","email":"alex@alexmerced.dev"}],"_npmUser":{"name":"alexmerced","email":"alex@alexmerced.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bettertypes_1.0.0_1583505853081_0.15869775575849188"},"_hasShrinkwrap":false},"1.0.1":{"name":"@alexmerced/bettertypes","version":"1.0.1","description":"---","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/AlexMercedCoder/bettertypesjs.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/AlexMercedCoder/bettertypesjs/issues"},"homepage":"https://github.com/AlexMercedCoder/bettertypesjs#readme","dependencies":{"node-fetch":"^2.6.0"},"gitHead":"825b3704bcd0ad6215b1a97b614cdd511750b415","_id":"@alexmerced/bettertypes@1.0.1","_nodeVersion":"13.9.0","_npmVersion":"6.14.1","dist":{"integrity":"sha512-jONB/j42eLpQpXkc2KE6zguo6TnBDd95OAbeC1oEcuUugI8TjRsh/oZTejjJj6Ib8iiX42NkIObFydrKuNXpYw==","shasum":"6269a58066a8830255ea17e557136f13aad62d70","tarball":"https://registry.npmjs.org/@alexmerced/bettertypes/-/bettertypes-1.0.1.tgz","fileCount":3,"unpackedSize":15784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYmNACRA9TVsSAnZWagAAg8EQAIdsR6hkQBp7aTTxSojv\nim6XxGYziBzBol5TpIU9RqAId6tJnGMFw9MNQrQCkHfkpKZJxaBDXg2hq4Pi\nLETxQuMArjHyVIN8oZSJ4KQhritIhPTCU9ym0PT02dQqd+Hf9th2DTgj7tqt\n3ttiM/zWcmqfBB1pGGIvKvR6ZtC67A0XTTYgHUosvmuLvpWOTouOwyDGXLMW\n0ALuj0oCWTev2bMtt6vyRDR9gqL/Vta/w4KtemUkHX+dvHzJByEJ7ElPavAi\n2zrhPDr8+LxCDPH5IdDWGqlrA7aFA4ik+TgfEB8VhaMJOZCbaKiERHPk14wS\n96FVvho3Ekze9XabHirXEzaOfsvr+VMzmJbmU8KI+/DIr2vj6OeXhKdJtqCR\n5r2bhbFKHt2d4vY6AZ9yMNdNW1YhZbfHn2dIdJXTQ7vCNLPGdMdVwlwsqVtJ\n3dlUJtolFrz8uNteFLXGvKG1f2ctEn+AjOvSzEuWnE719z/7vcWbaUpalDWc\nMFmJ3LCgVOU49/210C5KSbI4K5qm9qLQFl/qA9WygMZs1EK0d4Ekp9ooDis8\nrS3NqRsg+NEe7QcAJBcS/LsTb0re4TpY5kdTyefKP1Kudck3U0LPhnFx6Y1c\nj6QJsxxx9JC5iBS1KAls/9ee0pATDEzBWxcwXDcm7Zi7wKnb735BOvBHrwHM\nN/pc\r\n=aQts\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9Js034ujxTXZ6z6s6g6QVRuHcYqIp8xskwv0uwK8TKgIhAOVAQTqPmWsEdaIlVhYcffFT2hXF017B7g9naP+V4Az1"}]},"maintainers":[{"name":"alexmerced","email":"alex@alexmerced.dev"}],"_npmUser":{"name":"alexmerced","email":"alex@alexmerced.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bettertypes_1.0.1_1583506240159_0.4129524310812973"},"_hasShrinkwrap":false},"1.0.2":{"name":"@alexmerced/bettertypes","version":"1.0.2","description":"---","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/AlexMercedCoder/bettertypesjs.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/AlexMercedCoder/bettertypesjs/issues"},"homepage":"https://github.com/AlexMercedCoder/bettertypesjs#readme","dependencies":{"node-fetch":"^2.6.0"},"gitHead":"499fd139abfb2881e6939fe2345d515577c18c01","_id":"@alexmerced/bettertypes@1.0.2","_nodeVersion":"13.9.0","_npmVersion":"6.14.1","dist":{"integrity":"sha512-9Vo7OcpMLc4nAQOqKNyB4SKg2uBt3qIb2qLLGYYRu3CYrw2f2jOiQdMJwsnDYZe8vG6zmPYnNIHvooBnJlX0TQ==","shasum":"bc103415679fd95ed7ed31b9fd38db6952287e47","tarball":"https://registry.npmjs.org/@alexmerced/bettertypes/-/bettertypes-1.0.2.tgz","fileCount":3,"unpackedSize":16332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYp6LCRA9TVsSAnZWagAArP0P+gN2zNEWyJifSBWXy43f\n1zNVNlJUa63rH6aae6kCQggoENYexZFY2OHjSMAhmcE01gKDqw3TbS63P1+d\n8vK/O+hwrMNGycqKZAdY2vJDcO6K0gbNh0veHP75irx0e35/YeFpD3lab9da\nvUEd3PAn6RnXWzhMQtOUYIrac378sSHDzRhXbhKvfl9bJ+ftmEDAZzWdashD\nXYfEyju86r+V+PCxh5BngXCOU2CakeD8wmNuHlrqYrSBm904heMeMKE2Ve+Y\nyIVEFqcO1zj61G1K+N6tHs+fs7jccDFPV4g5a6+/8hYx5tAYLFA9XJT5hY1a\nhk5uoc2hl71LXzTkL0mM0Djzgm9sh/BQlE1MPpivR2aqLnFeeiifuIRm+6A2\nm6MsLU9QwvwJw0YqiIIRNcuazrIaB/vm6zCxvOJIW1lkOX1sQKetRO7X/Jd6\nAMhiNDrzsg2yhd0CFNKmrhi1l2O3DW1qgpN28jqwBgXDxIVo0Zy81Yey9tiq\ncYF/vKmaNdnB+NEF0NvBdIyqVDKJ9T5/Mjj7MW8A1znUCwPGSY9uS5ht6jI8\nfCzBPytJoftnNkFPm0KVU8WlJnv/t602hae2cglMGQ+Qb2xrAxtg6IkWHUlC\n6L3h9ObE2kmivcOjUwOBzAQAy3SfiLFRZ5QRGDPiR+1T4MbS8Qs7aKTeyKdd\nM5C2\r\n=iKrJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBnQfUWyM3GCdHtXY6uYUGsbcROkm/Wecs+M+1KBW5vgAiAxJsXR2WQJK+2tLY8nC4ECSo0EIIu2Z31hYAdZb4XHGA=="}]},"maintainers":[{"name":"alexmerced","email":"alex@alexmerced.dev"}],"_npmUser":{"name":"alexmerced","email":"alex@alexmerced.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bettertypes_1.0.2_1583521419010_0.6643983229863348"},"_hasShrinkwrap":false},"1.0.3":{"name":"@alexmerced/bettertypes","version":"1.0.3","description":"---","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/AlexMercedCoder/bettertypesjs.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/AlexMercedCoder/bettertypesjs/issues"},"homepage":"https://github.com/AlexMercedCoder/bettertypesjs#readme","dependencies":{"node-fetch":"^2.6.0"},"gitHead":"59e1d092b215c65bd16bf92616afcc562c96ed90","_id":"@alexmerced/bettertypes@1.0.3","_nodeVersion":"13.9.0","_npmVersion":"6.14.1","dist":{"integrity":"sha512-kMFKOCZi8R2hkXtIpCiTYhYmhxhDeGzRl/+T3zNJ9isXNPj2Ok/21iJ+DkCiq27p3FxocIN4Wy8vL344Vg+xNw==","shasum":"e85abd201b288f59ae88fda3a93e6cdb9c44776e","tarball":"https://registry.npmjs.org/@alexmerced/bettertypes/-/bettertypes-1.0.3.tgz","fileCount":3,"unpackedSize":16336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYtyGCRA9TVsSAnZWagAA3SwP/jDXrL8wZvZrjXA8+Z72\nWRKJtYNSd/p5h1Zv9gNy5CK9DPEmlmKGbRsbtri9WbEX9YJHN3sov43KF/5j\nH96D1Aguxrd4J15P7Xqbpeeb5c5bynEHwfUWs4A1fx4QFuX2rq+kE+KQXy+v\nQxmEA21wMWNIaQ8jUlk0lITUa+2QjMDvLqLi0gOl+o+LkB9dQosWOmP9d6tn\nL/WTb4tDE589euowL63GfXtc/cnmk8XteSneE1Lqnco30vTS67V8WRSHaJvx\nAvssccH1Op2O6X8bP6BsWB1PJxfixzzQPM1wq8kitfI1+na+F/oINJ14j+za\nGa+yXtBoaMFycd3zpzfQDCk4c/9/OmrOIjaTlpR9X31FSLSkK3vBIDhApuxT\nS7mTSJYM9qJ5MPqGsYlmiMvP0ED0WgjRHfIWQzPE1/b8zqbzajiIjv87IEqZ\nmlrIiANOZ0AgLDiNtreJfWtaskvl5lgJpYfclBZ5d/Dlh+kgccC1KxMzLW9+\ndYKEHg/4T9FEUQNQ7Tqu7xtJWb6TdjJoNTH78CV5/iv82kvvfr22nMHnDWzv\n7VSEDZWc/MuG2iX7PKXlXtfHWmoDKdA5WsX+JpwuV26x7SO0pJwa5RQP4jzu\nfjag3KdRPhiISAKdTvEAUP7OO6DuzTUdURvk/ZT1u9VkiVLHC+iylL2x9LKS\ngmGo\r\n=qHg6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAu1xbAC1UtFqYIZyL7fBB3PU3cHjwNMk+4dl+/9V0AwIhAO8BKz2PhW4C/I9xOtZgot37ba300OIBqXSUhXnn/Qcd"}]},"maintainers":[{"name":"alexmerced","email":"alex@alexmerced.dev"}],"_npmUser":{"name":"alexmerced","email":"alex@alexmerced.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bettertypes_1.0.3_1583537286406_0.4311576972699338"},"_hasShrinkwrap":false},"1.0.5":{"name":"@alexmerced/bettertypes","version":"1.0.5","description":"---","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/AlexMercedCoder/bettertypesjs.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/AlexMercedCoder/bettertypesjs/issues"},"homepage":"https://github.com/AlexMercedCoder/bettertypesjs#readme","dependencies":{"node-fetch":"^2.6.0"},"gitHead":"01c6bdd212ee24e4396cf6c0df21029fe76f7566","_id":"@alexmerced/bettertypes@1.0.5","_nodeVersion":"13.9.0","_npmVersion":"6.14.1","dist":{"integrity":"sha512-t8WD4q+kmEgsjr4/MEdixz7RbWBloVAD6rAl7CnM2yYd+Ed9meWRB5LcniH3tMC+UScZqAL95aosY2rTIrqV0A==","shasum":"9261b4de29da7b29497914b262290515c4603d76","tarball":"https://registry.npmjs.org/@alexmerced/bettertypes/-/bettertypes-1.0.5.tgz","fileCount":4,"unpackedSize":16495,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYvZ+CRA9TVsSAnZWagAAt8AP/jMU/gsfOor0g3WSKqKo\nbYuZeDpi6DSpdvd+v+77vlXBI4JrludKI9NMy68pDBt3s9M7gj2sAqn1Z1La\n0Y9cXKuhZZQAc8xiaKReH9HZcpLVNNhTObJN6WdCfslkqStzvYbGyR7QV8DT\n+yNostmbZFFgoETUsFykHaoAVnKEuHVU42Hsdok17Gpl0BhRiBx/f7qxqL8E\njO7S4l9VN/mKcN8+4C6hmFbRSe0sw/QfNOLs6KNHLs7hPvbWxZkzYgl5/nxY\nka8cPfmhj9/eUxZjgu9CnzoEfonIMLR87n6vQ2f1QX+FrabkAYHx6UcrKscV\neXC3f1yfHxPrYfZ9yzzcMd367aKLyZ1jgIo69OSlrhlC3Zj2OGKwcT/N5SlB\nK+YWF+Q6KBndT+KbNcquhfe7Nok+LFQOFEK8JC/jjEK8L7bd8e7GUbjNl6Jt\n67FMcelNvhY2zBWHxqrD4359f+A3e0/nBOPpGoE8Ca9fJYeMteJYqzGRlFM2\nXHqXxdGKK/5uxIE65fjBC+oeC+K9yUOyXv4rUL7ccajFL40dBxO22oMmgKY6\nWKtw1Nb6/nJ4hR4rTvlDlvOWzAWmN+xhDoLB45AZ8m4hNJ/HyIDv/absBwmr\nnwvvsw3rqGPQ51U+0WwBOwQBNLo2bm0qu2wncr6WuxFJ2hPIVN46mH9+R/QP\ntgSs\r\n=nmt2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvvamtzOeOygPJw5AaaMqIdPP/X+NGRzZZ1g/zV21zmQIgRrEpBF8di20cc+V0tgZJbX02vHn8gi2pzQINozjaAk8="}]},"maintainers":[{"name":"alexmerced","email":"alex@alexmerced.dev"}],"_npmUser":{"name":"alexmerced","email":"alex@alexmerced.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bettertypes_1.0.5_1583543933713_0.9144915410373211"},"_hasShrinkwrap":false},"1.0.6":{"name":"@alexmerced/bettertypes","version":"1.0.6","description":"---","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/AlexMercedCoder/bettertypesjs.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/AlexMercedCoder/bettertypesjs/issues"},"homepage":"https://github.com/AlexMercedCoder/bettertypesjs#readme","dependencies":{"node-fetch":"^2.6.0"},"gitHead":"2826697be70fd51bc9d7b0c455f9fbd54c1f5699","_id":"@alexmerced/bettertypes@1.0.6","_nodeVersion":"13.11.0","_npmVersion":"6.14.3","dist":{"integrity":"sha512-AFpQzLWRH/s/bk8vhh5PGWG3uxC35n4uIBL9olRSeRn9wfYuqZq1DwnjDgNLqnVntP6Es7Oegx+1cqaV+iN7vg==","shasum":"0f53b21eabd74b18e19ed84e905680a0e0551531","tarball":"https://registry.npmjs.org/@alexmerced/bettertypes/-/bettertypes-1.0.6.tgz","fileCount":5,"unpackedSize":24755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefAagCRA9TVsSAnZWagAAS9UP/1Ui9AKUmSVneUCyYRRq\n7bHCaVYwmgCkM/AqWOreJMFxq/c78Y9qJzieBOjEpGfsO9qpSaNQ2hJTkxcg\naLh+jhTW6qMPRZgXKJqbYkg66hgpg95Kf8MggTcLgNB8U2iDzoimJ9WxzyQ5\nhkjx69B+WkD9OZMQIJiXDE4lXbirQph7bzMi06kuEF77Q3G2KUGa1/kbtjti\ncPD349yw+c2lg3aM6G2+ogG5aFe2qOv9tT9YpFUFZDL0TkebEoIJM12rvoSc\nZwqC1eqHE0qR8dxNwo1VQSP/6tiD5iU8QMbHrHhx2Cxzn5YVGnP0RF1jNWHz\nDxGrpyazAfrHnpIcOPzAt3mbGYeduWi5M1mK4GCyApy5kGH7z59/+nMLAQZY\nzsGEg5HLOED7bxcK9GvDzX0epTEUVmyox9UcYPGniUkaKJA7yeJw6g+r/2LI\ni65KkK5D7PxdlC8zO/TTwNe0oD7Fs7qEpt3dYRXQJbf8OEj52UiWhYk8TMmm\ncbsnb3lmHG/uAZPWXbMAiEiR+55MOb46VM4/4OpKUHo7Y1YHR9pvhsUseA90\nECZPKz453Os2mLzu3Aj6mSswTqDWGL8OJtLxkBTNpIr0ntMTBYpxrqklwyUC\nqt7eXfvJ7A0+7SHTDbAEJRLifxWJRDasSBuLigqTxSGEmo+eMlORldfwlEl+\nPf1w\r\n=OM+H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq39Y4Frm7bC1ih5ljbl3TFCzGZr/eq+ICDp+WryIv6wIhAPZ/zm2wZfZrq3tv9D+XP0hQNKQHNFozaeycAIvYMUoc"}]},"maintainers":[{"name":"alexmerced","email":"alex@alexmerced.dev"}],"_npmUser":{"name":"alexmerced","email":"alex@alexmerced.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bettertypes_1.0.6_1585186463877_0.4981299349179591"},"_hasShrinkwrap":false},"1.0.7":{"name":"@alexmerced/bettertypes","version":"1.0.7","description":"---","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/AlexMercedCoder/bettertypesjs.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/AlexMercedCoder/bettertypesjs/issues"},"homepage":"https://github.com/AlexMercedCoder/bettertypesjs#readme","dependencies":{"node-fetch":"^2.6.0"},"gitHead":"16352c2525dcf09ec57db84c5ce090a3f67b63e9","_id":"@alexmerced/bettertypes@1.0.7","_nodeVersion":"13.11.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-TcjJliIKcPq7/oHfX+c/081QZwDsPYiVvVnpHfC2GZMyURTlY/lyre6jjIhVkpoRZUGMqESljVBKRSTbVXb3mw==","shasum":"1cf05e165f5da16a6ed5d662b391f04774270062","tarball":"https://registry.npmjs.org/@alexmerced/bettertypes/-/bettertypes-1.0.7.tgz","fileCount":6,"unpackedSize":32998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegPmOCRA9TVsSAnZWagAAtvgP/0upbeoZs0zjzV1DBh/g\nHxIkxMhtbeLP+9jMzprlQqUaNEuqaPUv7G3/po+XZbIEEO6KIvJ9cKHN8hQ7\ntDnAIGSPRZjAqrfzkcN0f8XaWt+15V1u7cr+F3sEp1+rU2ihRj4twTtmJSKd\nAXVWoBC9+g1smmjINapTXHPaXm/pkcxpZQd3xlpE87mpY0Tr9RIj+qB8WQiI\nJcVf2v7VgG9dtVLmgvHqge6aIoDgYyGobAoLHTSjMje2l2c7DcGSHjPn2rxP\nvrfCzQhQviO/ePSQZERyxuGYUQHHA+mRvpirQ9TjCanj64mYbucBgJzCcKol\nYlPmBbmezGh7VEfBAoXGi8DBDigLSe/3SmeM6N4NzsgwC76iAxjwUQFrud3V\nv93BtlGwpXJnqXFT446+b36UmMcTvlHX0XQ+5kW6XIlyfN6lgPrkfY9bQvl9\nCex7F2PNKqOugW61gWzlG003CZ9lN2eKe6UIJNwXOrxIjOVL1IIXATZJGZ7b\nPD+/1uPZ6JhJEX/6qlpOwxVzanHpdoWFxrSWKH+w9lrTQFD/Q9lGg9qLUqRS\ncsHMQd1E94c4ovcnTrmRUXqcSJy1Y9Qzgg6ybGo7nUFLbooG6IoJB0M8gmXv\n+PGWfk6qOEoMgVi0cxjQsJgZb+/MafC6urd1sI41vZkdJveSsfkWLT+ye0r4\nFFvM\r\n=3+ef\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNATpUmr/lWjLd6/oUfQzsCfrUAV0eUu59nmh/SpaByQIhAIK8xo3X2d9vpvl0UMWGwxrCA9IA50k02wI7yIk3Vrhx"}]},"maintainers":[{"name":"alexmerced","email":"alex@alexmerced.dev"}],"_npmUser":{"name":"alexmerced","email":"alex@alexmerced.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bettertypes_1.0.7_1585510797678_0.2728412327992753"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-06T14:44:12.840Z","1.0.0":"2020-03-06T14:44:13.188Z","modified":"2022-04-04T12:41:17.059Z","1.0.1":"2020-03-06T14:50:40.293Z","1.0.2":"2020-03-06T19:03:39.264Z","1.0.3":"2020-03-06T23:28:06.533Z","1.0.5":"2020-03-07T01:18:53.839Z","1.0.6":"2020-03-26T01:34:24.004Z","1.0.7":"2020-03-29T19:39:57.832Z"},"maintainers":[{"name":"alexmerced","email":"alex@alexmerced.dev"}],"description":"---","homepage":"https://github.com/AlexMercedCoder/bettertypesjs#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/AlexMercedCoder/bettertypesjs.git"},"bugs":{"url":"https://github.com/AlexMercedCoder/bettertypesjs/issues"},"license":"ISC","readme":"# Alex Merced's BetterTypes\n\n---\n\n## AlexMercedCoder.com\n\nThis library contains useful classes, methods and functions.\n\n### installation\n\nCDN LINK: http://www.alexmercedcoder.com/better.js\n\n#### NPM\n\nnpm i @alexmerced/bettertypes\n\n```\nconst {\n    Random,\n    BetterSet,\n    BetterString,\n    BetterArray\n} = require('@alexmerced/bettertypes');\n```\n\n---\n\n### BetterArray\n\n---\n\n**new BetterArray(array) =>** creates an instance of better array which gives you access to all array methods via the arrMeth method plus several new methods\n\n---\n\n**BetterArray.arrMeth(method, argument) =>** pass an array method as a string a second string to pass as an argument, it return an array with the current BetterArray at index 0 and the result of the method in index 1.\n\n**BetterArray.random() =>** return random element from array\n\n**BetterArray.remove((value, index) => return boolean)** => the opposite of filter, remove elements where the callback function returns true, returns a BetterArray\n\n**BetterArray.undupe() =>** returns a BetterArray of the array with duplicates removed\n\n**BetterArray.randElim() =>** eliminates a random element and returns it\n\n**BetterArray.leaveOne()** => Randomly eliminates all but one element from array and returns a BetterArray of removed elements\n\n**BetterArray.leaveSome(number)** => Randomly eliminates all but a defined number of elements from array and returns a BetterArray of removed elements\n\n**BetterArray.findRemove(value)** => finds and removes value from array returning the removed value\n\n**BetterArray.addLength(length, value)** => increases BetterArray to desired length and fills in additional spots with the value passed.\n\n**BetterArray.lessLengthRight(length)** => removes elements from back of the array till is desired length, returns BetterArray of removed values\n\n**BetterArray.lessLengthRight(length)** => removes elements from front of the array till is desired length, returns BetterArray of removed values\n\n**BetterArray.someMore((value, index) => return boolean, number)** => returns true if the number of iterations that return true are equal or greater to the number argument\n\n**BetterArray.everyLess((value, index) => return boolean, number)** => returns true if the number of iterations that return false are equal or less to the number argument\n\n**BetterArray.MapToObject((value, index) => return [key, value])** => like map but returns an object, the callback function must return a two element array [key, value]\n\n**BetterArray.MapToMap((value, index) => return [key, value])** => like map but returns an Map, the callback function must return a two element array [key, value]\n\n**BetterArray.MapToMap((value, index) => return [key, value])** => like map but returns a Set\n\n**BetterArray.MapToUnique((value, index) => return [key, value])** => like map but returns an BetterArray of only unique elements\n\n**BetterArray.squish()** => removes the first and last elements of the array and return an array with the current BetterArray in index 0, and the array of removed element in index 1\n\n**BetterArray.shuff()** => return shuffled version of BetterArray\n\n**BetterArray.toStrings()** => return BetterArray with all elements casted as strings\n\n**BetterArray.toNums()** => return BetterArray with all elements casted as Numbers\n\n**BetterArray.toBools()** => return BetterArray with all elements casted as Booleans\n\n**BetterArray.iPop()** => immutable pop, return array with new version of BetterArray with last value popped and the value popped\n\n**BetterArray.iPush(value)** => immutable push, return an array with new version of BetterArray along with value pushed in.\n\n**BetterArray.iShift()** => immutable shift, return array with new version of BetterArray and the value shifted\n\n**BetterArray.iUnshift(value)** => immutable unshift, return an array with new version of BetterArray along with value unshifted in.\n\n**BetterArray.iSplice(index, amount)** => immutable splice, return new version of array with the specified number of elements removed starting with the specified index.\n\n---\n\n### superString\n\n---\n\n**new BetterString('string') =>** creates a better a string which gives you access to the methods below\n\n---\n\n**BetterString.strMeth('method','argument') =>** use string methods by passing in a string of the method name and string with the argument to pass, returns an array with the BetterString in index 0 and the result of the function in index 1\n\n**String.words() =>** returns array of words in the string\n\n**String.reverseWords() =>** returns BetterString with the words reversed\n\n**String.swapWord(target, replacement) =>** returns BetterString where the first instance of the target word is replaced by the replacement.\n\n---\n\n### Utility Functions\n\n---\n\n**Random.index(Array) =>** Return random number 0 - Array.length\n\n**Random.range(Low, High) =>** Return integer between low and high\n\n**Random.number(Number) =>** Return random number 0 - Number\n\n**Random.rangefl(Low, High) =>** Return float between low and high\n\n### Fetcher\n\n---\n\nThe Fetcher class can help you encapsulate your API endpoints\n\n```\nconst get = new Fetcher('http://www.xyz/get/')\nconst post = new Fetcher('http://www.xyz/post/')\nconst delete = new Fetcher('http://www.xyz/delete/')\nconst update = new Fetcher('http://www.xyz/update/')\n```\n\n**call(callback,config,extUrl)**\n\nthis function will call the url passed and run the callback function when the promise resolves and has been converted into JSON. You can pass in a config object include things like, headers, body, and specify type of call (defaults to get). The extUrl parameter will be appended to the url which allows you to get more mileage out of a single instance of fetcher. The resulting data from the most recent call is saved in case you need to access it again.\n\n```\nget.call((json) => console.log(json))\n\npost.call((json) => console.log(json), {\n        method: 'post',\n        body:    JSON.stringify(body),\n        headers: { 'Content-Type': 'application/json' },\n    }, \"?user=SteveJones\")\n\n```\n\n**recall()**\nreturns the data from the most recent call\n\n---\n\n### BetterSet\n\n---\n\ncombines the benefits of arrays and sets but giving you access to a dataset in both forms. The constructor takes an array to generate the BetterSet from. I implemented the methods from the MDN examples for sets, cause well... they are useful.\n\n```\nconst { BetterSet } = utils();\n\nconst pset1 = new BetterSet([1, 2, 3, 4]);\nconst pset2 = new BetterSet([3, 4, 5, 6]);\n\nconsole.log(pset1.difference(pset2));\n```\n\n#### BetterSet Properties\n\n**this.set =>** the set of the array passed in\n\n**this.arr =>** this is the array of the array passed in without duplicates\n\n#### BetterSet methods\n\n**this.arrMethod(\"Method\", \"Argument\") =>** use any array method by passing in a string for the method you desire to use and another string with the argument you want to pass.\n\n**this.isSuperset(BetterSet) =>** Returns true if the BetterSet is a superset of the BetterSet passed as an argument\n\n**this.union(BetterSet) =>** Returns a Betterset that is a combonation of this BetterSet and the BetterSet passed in as an argument.\n\n**this.intersection(BetterSet) =>** returns BetterSet of elements in common between two BetterSets\n\n**this.symmetricDifference(BetterSet) =>** returns BetterSet of elements not shared by both BetterSets\n\n**this.difference(BetterSet) =>** returns BetterSet of elements not shared by this array with the passed in array\n","readmeFilename":"readme.md"}