{"_id":"@benjamin-wss/cornerstone-js-utilities","_rev":"8-b21c96f31072e110dd0a95a70b4904e0","name":"@benjamin-wss/cornerstone-js-utilities","dist-tags":{"latest":"1.2.2"},"versions":{"1.0.0":{"name":"@benjamin-wss/cornerstone-js-utilities","version":"1.0.0","description":"A collection of utilities that I find myself writing all the time at work.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\""},"repository":{"type":"git","url":"git+https://github.com/benjamin-wss/cornerstone-js-utilities.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/benjamin-wss/cornerstone-js-utilities/issues"},"homepage":"https://github.com/benjamin-wss/cornerstone-js-utilities#readme","gitHead":"bd66b229830df78a478bcb9b12a11c6a7ca8c571","_id":"@benjamin-wss/cornerstone-js-utilities@1.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.5.2","dist":{"integrity":"sha512-jxZRPTXbAZlMYNCXXc9iHlb/LU6qrhnI1o2NpZsvActpe0hRj4HvHP6NCBwVWXCOsXPjfvSLWLEwe6O7JJfVgg==","shasum":"7b74530bac118a9c5c24c4e9c73e66116230107c","tarball":"https://registry.npmjs.org/@benjamin-wss/cornerstone-js-utilities/-/cornerstone-js-utilities-1.0.0.tgz","fileCount":4,"unpackedSize":1788,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFCpR90JetVip4TuAzGYozFb+z0Rv4DMjKyoW7Y/ZrCmAiBFV5qFd+VGFjvTklNXmCTI35gbuAzy3T0oajbuzU/KCw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioJsLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMUg//UQ7JH9MXH8bw2K1sLE6box7cNZbZk7kNbRuoWHNRcxWh8c3S\r\nrIElsrRsuJKBJLZYiYNLj1udr/rxwGqsghMNexJ/hq+cPusY25WsOgyW9rG6\r\nCDlGw/llyYlA8ctgpjGsSUHic1gVxLxloYUe2X/qribn83SyFeV50gSeRmEI\r\ne+u2srwUgeRUldmWmECTpvQ36MvkI0KA9WwZhA3Km2mdq13S5dX/+vR22Naq\r\nD3N51lUQfOMJu6YrL6C56OmRGEqtL4wyRHCWHpHsALu1tkfFEEFz1A+bKYBv\r\nZ1K4n+OrMzktC62PTPKgX9jqoUjrWC7MbDx3pnF5j6Om+Sddjpqnd6NjO1u5\r\nzWL4H3I3UZ+DdxaFn6sWV4MnKOkIiJ3iCpJNvZRC70NxvY3Mzb2PgiKnIWMB\r\nCaOkhd9xv12h3TitQQd9f+Y19tV3t1eLVtuEc4Mm3T6zlzyjIPV9GBNAAX9K\r\nCoxUcF2MYf+6CNRuggSjhtAXcckIi8WQbhbqD9FyQJl9F7JQkSRjWOvVA30i\r\nu19z1ObbzUQNpN1+5KZAeGf4UJ6xcyTHedOD8oYTFNDZDESn6a0ksaBtbMA+\r\nF6QtYPnFk+qjrFLapTzXyWqpC3TaJVIvEWLUDpse9o7EKpEIcL134F1sgNUD\r\n9GudSf1TbQpKSuPy2wI32v/uI821c7/Z8Jg=\r\n=x+JR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"},"directories":{},"maintainers":[{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cornerstone-js-utilities_1.0.0_1654692619008_0.6805432078078202"},"_hasShrinkwrap":false},"1.0.1":{"name":"@benjamin-wss/cornerstone-js-utilities","version":"1.0.1","description":"A collection of utilities that I find myself writing all the time at work.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\"","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/benjamin-wss/cornerstone-js-utilities.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/benjamin-wss/cornerstone-js-utilities/issues"},"homepage":"https://github.com/benjamin-wss/cornerstone-js-utilities#readme","dependencies":{"moment":"^2.29.3","yup":"^0.32.11"},"devDependencies":{"eslint":"^8.17.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-prettier":"^8.5.0","eslint-plugin-import":"^2.26.0","eslint-plugin-prettier":"^4.0.0","husky":"^8.0.1","lint-staged":"^13.0.0","prettier":"^2.6.2"},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,css,md}":"prettier --write"},"gitHead":"1d62021c76f933198fe1761ecab56274ff4f29ca","_id":"@benjamin-wss/cornerstone-js-utilities@1.0.1","_nodeVersion":"16.13.0","_npmVersion":"8.5.2","dist":{"integrity":"sha512-zVr4KyLS9sVEbcGp0Xj4N7MhKJ7yL0oD8m0JEMvAL+C9Ef5w41o5lpp0VJF/ejD4nm4GKuHxl+bryd7R3iUaAA==","shasum":"20e66fe1105dd349c1d6c9f23a7498cd9d9d4943","tarball":"https://registry.npmjs.org/@benjamin-wss/cornerstone-js-utilities/-/cornerstone-js-utilities-1.0.1.tgz","fileCount":8,"unpackedSize":8608,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPzunZr/E05JFWLLrgPWBxY8pVgH6p2tt7gk4yHTpvvgIgApRCt0L1XDEtuPdkgchR9V6YzwnoPaHN3q8l4CRKodU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioKdiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMWQ/+Nxe2UKnP4gKTpyNtt0sm86V72BvScqK+/yGurlxHIffaMJ9e\r\njdJoq6kKlA/zxvKlx0XDH0YM+YC80Y4wX0l3Zwf0pjpaVINwHvtUMcuVeKyk\r\nA6VaUNcfFe/g3AmTNfSVdPHJWTI8im0vd/MUJTUfNU/uHMVkxhUlRtAxeGdG\r\nirZJe/WeirGEFzuB7irtNts4/cYIy8ZRU7B/VefHL11k+0ZDBKd4Sys+lRo2\r\nFtXWnjv+VxdZB9QLEXR6ySAuZXKRtDQZdEo6qQHLy0QCcxPwWjXN8i/c6Urf\r\nMIVXobXUwzTDzsiwI1f1OOjkz4TclZedCuiUlSt9l0k5snkE03WBMU6Cycm9\r\nTW3DlADtl28oKTXoHSGJR0YV+GKX1AjWH/YUuIAF5wVJOcpjk9C8SIylfSYS\r\nD7kOaczN82PYiJ7B+sQstUvxRh/m9J4y/engKS9MRgKQ/gqqCYcy/MWCOPMD\r\n7K/PC5rPVpQe+Dyla23+cRuZJZDtdh5zrKBgARS9OgPAaJRvqnbfk1tjev8/\r\ng/Hqrj2kKVWLefiNclbqEymkFToYQYMZZieUmrclyq/HG9KhHjARTtsvvERx\r\nbn5Ry/6W7zjHND8ppKoVpmdbrBsOXPCW8IL+0jvuh0NvkQDFqQrAIOviSLI0\r\nRlKV5nWbUkoQQ2v/cVe4nKaUegV1rXF+aq4=\r\n=uAqs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"},"directories":{},"maintainers":[{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cornerstone-js-utilities_1.0.1_1654695778782_0.17257881765751937"},"_hasShrinkwrap":false},"1.0.2":{"name":"@benjamin-wss/cornerstone-js-utilities","version":"1.0.2","description":"A collection of utilities that I find myself writing all the time at work.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\"","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/benjamin-wss/cornerstone-js-utilities.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/benjamin-wss/cornerstone-js-utilities/issues"},"homepage":"https://github.com/benjamin-wss/cornerstone-js-utilities#readme","dependencies":{"moment":"~2.29.3","yup":"~0.32.11"},"devDependencies":{"eslint":"~8.17.0","eslint-config-airbnb-base":"~15.0.0","eslint-config-prettier":"~8.5.0","eslint-plugin-import":"~2.26.0","eslint-plugin-prettier":"~4.0.0","husky":"~8.0.1","lint-staged":"~13.0.0","prettier":"~2.6.2"},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,css,md}":"prettier --write"},"gitHead":"deb4160655eacee807a437e2fd5bfe468806595b","_id":"@benjamin-wss/cornerstone-js-utilities@1.0.2","_nodeVersion":"16.13.0","_npmVersion":"8.5.2","dist":{"integrity":"sha512-eTtOh1LcHp3t2dAd2us08LeAmq1iNyjoJxsQE0rtQYs1rctG4NkKLuT87cyY+1ZK+5spYnM7uxNz8RZaVtNuFA==","shasum":"cb26307eb44d3edf4c1e45521a5afd68c437faaf","tarball":"https://registry.npmjs.org/@benjamin-wss/cornerstone-js-utilities/-/cornerstone-js-utilities-1.0.2.tgz","fileCount":8,"unpackedSize":11268,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHQeSqWB/6FCbawTe3wayCQPabfF5USatdIfZ/PLKFYLAiADftkQhFgLYVLx06Uyuygen/CN0pmCLEj3EtNl8i/gKA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioLHMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouhA//ewYNClEW/Hj/+f457zzb93QysQ+X0nPBxAZgEVBBbKD9t04c\r\nOeqJIg7lAqvQ0mbgqtC0pq2sRTDCmrCVvifYxEHYXt0py40CSt6bT7DZ/7RA\r\nFK1HCMrzPvrNJIpRYabo0pOGMK3zGcuMsSeezMp29ZRcMGC6uSTfPVaV3syy\r\nOz4ApSmMdqVDIah2+wk2utrubSGyyc7Gx0vd3KxfM2ltdXAlPrwKH5EALUb1\r\nIlHgXKkV2ZmyvA/MXE0q9q7FzatJr+VRY+2+LBHMkwjfqVDz8ahXVwTvcpwL\r\nG9h6Xh7wGzZw1te838UJ4f2OlusCvVORaKubCnCXW0f88DQbVzyvBU0Cq/Ts\r\n5jwJdag8sJ2zZZNIEYpHUZ108ANqzBhOBD8Qnqkzoi6J1sEpvJsqiHmZ3e2+\r\n6lzwewDk61G1x+9mLUMrn+UcEoUAphj3NaOKyG2CupT3qxyMsL4LbWQXX2bw\r\n1fMC2aCA2btOXO0Ld+506Gj3dixQwWz++UlWlWcCuHSzrPlvSCrvhCLXZF1f\r\n0XMXcDyDqF/E9cZORTCcsK85fQoE5+qEsHLbZDfDQdcLc6qAO1JxJaQwVYKV\r\n5E5ns1zkAr85jiyr6HYac43jeBsezVPkSkRFO82aHRYcZ4Nz80stEIngSrEE\r\n7ABLg8rIQtSR2Fz1GTUmQ7wO9LRS/8mCqtc=\r\n=6FgB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"},"directories":{},"maintainers":[{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cornerstone-js-utilities_1.0.2_1654698444070_0.7302887096048496"},"_hasShrinkwrap":false},"1.0.3":{"name":"@benjamin-wss/cornerstone-js-utilities","version":"1.0.3","description":"A collection of utilities that I find myself writing all the time at work.","main":"index.js","types":"types/index.d.ts","scripts":{"test":"echo \"Error: no test specified\"","prepare":"husky install","build":"tsc"},"repository":{"type":"git","url":"git+https://github.com/benjamin-wss/cornerstone-js-utilities.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/benjamin-wss/cornerstone-js-utilities/issues"},"homepage":"https://github.com/benjamin-wss/cornerstone-js-utilities#readme","dependencies":{"moment":"~2.29.4","yup":"~0.32.11"},"devDependencies":{"eslint":"~8.17.0","eslint-config-airbnb-base":"~15.0.0","eslint-config-prettier":"~8.5.0","eslint-plugin-import":"~2.26.0","eslint-plugin-prettier":"~4.0.0","husky":"~8.0.1","lint-staged":"~13.0.0","prettier":"~2.6.2","typescript":"~4.7.4"},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,css,md}":"prettier --write"},"gitHead":"5be0ebde56507d2aa641eb84cedad952e795b9ad","_id":"@benjamin-wss/cornerstone-js-utilities@1.0.3","_nodeVersion":"16.13.0","_npmVersion":"8.5.2","dist":{"integrity":"sha512-KAHTDx+Z+S6Vc2EDFU7+t/P4BJ+CEcuGflWRbiDIIxOaeI/LMkIDMuHcGpN056GW05RtpwHzmJSMG5q5Q1x6yQ==","shasum":"8ef85d1508053de3f397c00073c2ae27b135633e","tarball":"https://registry.npmjs.org/@benjamin-wss/cornerstone-js-utilities/-/cornerstone-js-utilities-1.0.3.tgz","fileCount":13,"unpackedSize":13255,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYIET30P+HMbxtIkE+OKdo2Lm95Z76UoZO2JH7ZFnP0AIgMiv2C2SlJV9h/GGOZUMGFZf0G2L/wMYSEQt8JY+f6V0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/7uiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqNjA//VKaZc3g7bncxjB1P6NHOuUQti0AB6FK46n5pEGDLLDz0ISyU\r\ndRy0ZKH9BPCjWrF74zjHOY16kYn+iYj3Ybc2JWrx3E0SFAri90JuyvRaaXNc\r\nQMh4mrTnmmMlcttYVmwY7J8ofbewizArQBH/99Jzg6YYFHEF3HNU81CpxqSt\r\npmtGJRfy49hnzo2EtA1HmgA3ESlHaNqlj1/87CHNeYOAcD/MuUniVZxEeozh\r\nqMrU7F76JdHaAiMAxilZgyeDo2Yet+e+27HOHEMmVBY6P47kBdOKOfRpXo3W\r\nFroeXMuHfcZu6LTsYb9Mrlh7IgAn7JCG2sXhu/9HdJ//WBT0xg5/d31nV1Qx\r\nvKrOPpMxIuPZIpsfNJg2yZSsGUGdrRW7IMsVkBUpJonCDfY76veYWHPHdPFQ\r\nZhD5ZWk95KlJBb3oHJflKIAs/L/XYATabYg1WA5Kv3d6A8AUsTNLyHAxbteP\r\np1NBvI4J3CnGAd9d6Db7qf3b8WgahN8OeyuqxPo0fmYLXaaae0d+81MaIXlK\r\nGPkrm7MsSVP4k2uG/52tuICiSouM++ViQzpJ46//ORomTZntZvXCH8K6UGi9\r\n775lsID43V3fQz/F5lgCxRpK7kRliFXkFJqkws+6f7I1747NpSxk9Z30ef95\r\nbLsaSSA/D77qayJu5J/pCe5z7p7/3JW97o4=\r\n=W2a7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"},"directories":{},"maintainers":[{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cornerstone-js-utilities_1.0.3_1660926882343_0.983616316380219"},"_hasShrinkwrap":false},"1.0.4":{"name":"@benjamin-wss/cornerstone-js-utilities","version":"1.0.4","description":"A collection of utilities that I find myself writing all the time at work.","main":"index.js","types":"types/index.d.ts","scripts":{"test":"npx env-cmd --environments testing jest --testPathPattern=tests","test:watch":"npx env-cmd --environments testing jest --watchAll --testPathPattern=tests","prepare":"husky install","build:types":"tsc"},"repository":{"type":"git","url":"git+https://github.com/benjamin-wss/cornerstone-js-utilities.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/benjamin-wss/cornerstone-js-utilities/issues"},"homepage":"https://github.com/benjamin-wss/cornerstone-js-utilities#readme","dependencies":{"moment":"~2.29.4","yup":"~0.32.11"},"devDependencies":{"env-cmd":"^10.1.0","eslint":"~8.17.0","eslint-config-airbnb-base":"~15.0.0","eslint-config-prettier":"~8.5.0","eslint-plugin-import":"~2.26.0","eslint-plugin-jest":"^26.8.4","eslint-plugin-prettier":"~4.0.0","husky":"~8.0.1","jest":"^28.1.3","lint-staged":"~13.0.0","prettier":"~2.6.2","typescript":"~4.7.4"},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,css,md}":"prettier --write"},"gitHead":"76a411ebcc965c901188cb93b2c4e91ba9b7faeb","_id":"@benjamin-wss/cornerstone-js-utilities@1.0.4","_nodeVersion":"16.13.0","_npmVersion":"8.5.2","dist":{"integrity":"sha512-+QUj/XLTo0FTTI52UVIh0QcbH0kcIfms70XaY751K31xIjPNoqHjeh8XCL4Zf74Fb3umQfBGMBZ14rH3DP61QQ==","shasum":"6a12e3954088283911bbc39cc705b64411d64abf","tarball":"https://registry.npmjs.org/@benjamin-wss/cornerstone-js-utilities/-/cornerstone-js-utilities-1.0.4.tgz","fileCount":15,"unpackedSize":23688,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHz/G8LQUQrN6fDkzw79lmUagMSK9vwSZZ+POrAylyPvAiEA8+4URbgbJSDxaj9H9XKx+B6ZAvzC1ie6oyeFzzsqLng="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAQOVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq03Q//feEr4jYHRHYmE2+t7Sxtwueh/fF02YiCiUwPqU+vodsxsCdj\r\nfw1w7cBn+Ce0n0AeBSA8izwf+Sv7jVPpIE6gv1b58+zMymxMuwewim+yx/04\r\nCY5be5Bh8xN5p87zbzaa4S0rEo8yl0Az2A3juRTVrLyPhTacE0MIRQ0wxuDR\r\nr8SnI9RKO540/esxWG4uKG3cNOMXumjVadViF7dJDzpKSafojjPIAY4tqpzf\r\nnrzyqi2w2PDVUu4Gly6fdzyuGsoYVMy7zAHk5FpesbzoNt/aofNdz+VRn0Q0\r\ns3ozYJf/g3aNINngDZkryS6hQRZbprBaznLgD5wpDzBt5h87UlOE0PLM91CC\r\nSi6i5PDi2iBuPSN+vNuX/5odjh4KFCTR9bA+TUtPjTxPf7yQkCRkv0B0colP\r\nkeWQmVtC7jjUc2prW1RO5Fg+EgzPjywLf12W+iKfxy7x0jzmEbohA+RoTxNH\r\nU2p7euEjLgxdQEg6lKggLzJmUNoW1t0+GMBbS2ovN3Ft4aH7qF8I9CYCNi2D\r\nHXZHH+gNAsytBP5Hk3kLO5S2RLSZCtZ0LccefoXcF0TvDM4KImcw6TAESdun\r\nxp3zwpdoLqAL0BM4sSG873fZuZKt6djMK5tf2XQW4Q91FadbZ+HxjLF0tdiw\r\nTwY/HEzn9S3hSCB02T+0xZ1SLKL5I+1tG8c=\r\n=r0A6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"},"directories":{},"maintainers":[{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cornerstone-js-utilities_1.0.4_1661010836843_0.7630544270198776"},"_hasShrinkwrap":false},"1.1.0":{"name":"@benjamin-wss/cornerstone-js-utilities","version":"1.1.0","description":"A collection of utilities that I find myself writing all the time at work.","main":"index.js","types":"types/index.d.ts","scripts":{"test":"npx env-cmd --environments testing jest --testPathPattern=tests","test:watch":"npx env-cmd --environments testing jest --watchAll --testPathPattern=tests","prepare":"husky install","build:types":"tsc"},"repository":{"type":"git","url":"git+https://github.com/benjamin-wss/cornerstone-js-utilities.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/benjamin-wss/cornerstone-js-utilities/issues"},"homepage":"https://github.com/benjamin-wss/cornerstone-js-utilities#readme","dependencies":{"moment":"~2.29.4","yup":"~0.32.11"},"devDependencies":{"env-cmd":"^10.1.0","eslint":"~8.17.0","eslint-config-airbnb-base":"~15.0.0","eslint-config-prettier":"~8.5.0","eslint-plugin-import":"~2.26.0","eslint-plugin-jest":"^26.8.4","eslint-plugin-prettier":"~4.0.0","husky":"~8.0.1","jest":"^28.1.3","lint-staged":"~13.0.0","prettier":"~2.6.2","typescript":"~4.7.4"},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,css,md}":"prettier --write"},"gitHead":"efdec64325e302700d4cbd5ca612a85d49658a8c","_id":"@benjamin-wss/cornerstone-js-utilities@1.1.0","_nodeVersion":"16.13.0","_npmVersion":"8.5.2","dist":{"integrity":"sha512-2zNCPlxtPL2UWCcBb3DcxZFH2gCwflmuK+P/yl7grJMPy084CaVcwkHq9+fZtPBBmkvZl79F7ByqVa4tFNtD/g==","shasum":"a472ee40cc03269a0616f4ef929a4bc57f061685","tarball":"https://registry.npmjs.org/@benjamin-wss/cornerstone-js-utilities/-/cornerstone-js-utilities-1.1.0.tgz","fileCount":15,"unpackedSize":26440,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFE0LlzTlqpFheVWljA1egWVOtKnzBbZWS+fFXpDni8QIhAIZE10GY7aYDomtinJf/q/QAUihvGDn2hBCg9vNf1tMh"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJLPHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWew//ZUtu/HIlaRNjoTkbOPZI+YOrRq6gHEUPKL4NUydbWc+TwbZE\r\nCryq1jaTiQd3NeO38R3RL0SDXe1JpOokc2HqEobQI1lY8YVAS5qblbIsSQ2a\r\nJFYiv0nu491sY80AyZfuGeUSj6PgrVB3ohdh6czb9wsS1mLiUURdIxqWTS/j\r\nqZP92LxmJXr9+ttsNTABKn0H3apmBN6YIQ/Evx3gH9ko4Gm+F8mHyI9G1I9v\r\nTYJ6dwPJ0XohUTVrwpiKo+tDLdEDu8kbgAB70HJb20XwZMW/BbY5v5LTnVY8\r\nrl9iJ0/k6zaN2+E0QBwYKeXefpBj69gld09v5Val3jNzCNSFRSKrlCYbyovS\r\nHWtVCqHedybMFr3AYHHZgbf7o0MaLxVbi793WpfJJ41p/pzlKaAopWhGI525\r\njlvwFqwTNleY5XQWAfQHzDMBqSAgRUGBxuCu+4wua+djptv/LQohHqzPI/n3\r\n3W2cxs4MxZecRY7TBNALikvwf75T4NaZmfhgjS3xpEV9/MvCUy2Xz0fKGQIG\r\nFmnqXeAVITDCFOU56QqLN+Mg8QrGmawVcHnGYE7aMOr1rHVgHmWtw2vehVEJ\r\nCHhVTJJK8zRYgVDgkBUX+c0zWlKlLDBrI3qjzhQq8U60zp8054Y/USEximi3\r\nvDsHkPe79rL5Et2ajQRRTS7EbjRpY8y12C4=\r\n=TU/p\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"},"directories":{},"maintainers":[{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cornerstone-js-utilities_1.1.0_1663349702779_0.19654805976702594"},"_hasShrinkwrap":false},"1.2.0":{"name":"@benjamin-wss/cornerstone-js-utilities","version":"1.2.0","description":"A collection of utilities that I find myself writing all the time at work.","main":"index.js","types":"types/index.d.ts","scripts":{"test":"npx env-cmd --environments testing jest --testPathPattern=tests","test:watch":"npx env-cmd --environments testing jest --watchAll --testPathPattern=tests","prepare":"husky install","build:types":"tsc"},"repository":{"type":"git","url":"git+https://github.com/benjamin-wss/cornerstone-js-utilities.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/benjamin-wss/cornerstone-js-utilities/issues"},"homepage":"https://github.com/benjamin-wss/cornerstone-js-utilities#readme","dependencies":{"moment":"~2.29.4","yup":"~0.32.11"},"devDependencies":{"env-cmd":"~10.1.0","eslint":"~8.17.0","eslint-config-airbnb-base":"~15.0.0","eslint-config-prettier":"~8.5.0","eslint-plugin-import":"~2.26.0","eslint-plugin-jest":"~26.8.4","eslint-plugin-prettier":"~4.0.0","husky":"~8.0.1","jest":"~28.1.3","lint-staged":"~13.0.0","prettier":"~2.6.2","typescript":"~4.7.4"},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,css,md}":"prettier --write"},"gitHead":"ae2142d4fa384c2d83e400f2e77188a1b04a7b32","_id":"@benjamin-wss/cornerstone-js-utilities@1.2.0","_nodeVersion":"16.13.0","_npmVersion":"8.5.2","dist":{"integrity":"sha512-BUVcYkxeVJOd+UwzNkJHc2NyiQGr/CaVV9OtKMP9vqO0qR90rX0Kwt/D9RSboaSupT8GrX6yX1IEonCI6KPvog==","shasum":"e0e651d13bd3130a191453e9c1c2a69b9efa2116","tarball":"https://registry.npmjs.org/@benjamin-wss/cornerstone-js-utilities/-/cornerstone-js-utilities-1.2.0.tgz","fileCount":14,"unpackedSize":29465,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVrij2h/QE84KpMLHH92gk2r0bo7NwSsXlddyAGDp5jQIgXKdzPnFx3nHR6a6DJs8YUzHvE8cYqRW7KJJ7hagGPzs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUC7eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr0gA//YEyp0MhNcJVKVPlvrvCV6ZRcGyzTkiZA2pMkNrfaCzxTfunm\r\nTvoCz7Mhi/xZB6/M+JyWg0haRomItrCobq6ekNs8Mose9mJlvIXhrr/QVyyQ\r\nVTQsCVTeo86PyCyoRSbZP1bC8jO3amCySYschRP9n82EKPmPa50d4XpALdT7\r\n2vdiPk6cn2QrcoCVHzcG/yZxwZNTpWvT+YbLzQw6a48Y/KaT8x2XvKEeqnUc\r\nbUEnzK21IgW0Tcp4YC/s7tzrUQCXPu00hs05SzVUsLXUnjvHnBnSpnDmNBcH\r\nRcJbFhT0bCQA7f8W6I8xv4T44fLNata3F84wRfDUF7xLZp9p8IDYFbWs12t8\r\nVsiJQIhZMzvLKz/fOgcgSx+1/xIsuwPPWKdKzCTb9MV1YTUJOVyKtwWx5lnn\r\nSsJ/dfh6NLmo9KzOVtv+1eoRinkvdOeXb/Aq66PsgGmSJtGxyagMvm3LbPGY\r\nxlAkM61VwbZLRoZHAzwaILHYZOjcfm3ZyY4MzbHLAyBZGiEu+1VfRlHgJKBC\r\nZOJavBhO6kNnnBFmNU1jTwkav3jot433ZxYAhBGKywfYAMPh3xbN9hIdjv4U\r\n5y7rwPIMdWfKqDEGdMZzxTBJlw6BEVZYCYngOg4yD/x9zvCCLmpqG74OrylR\r\nfLvzkBFNqs4mxnE3R3JGxf+r2XXbXrE22Yk=\r\n=36Y9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"},"directories":{},"maintainers":[{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cornerstone-js-utilities_1.2.0_1666199261855_0.5400257519561631"},"_hasShrinkwrap":false},"1.2.1":{"name":"@benjamin-wss/cornerstone-js-utilities","version":"1.2.1","description":"A collection of utilities that I find myself writing all the time at work.","main":"index.js","types":"types/index.d.ts","scripts":{"test":"npx env-cmd --environments testing jest --testPathPattern=tests","test:watch":"npx env-cmd --environments testing jest --watchAll --testPathPattern=tests","prepare":"husky install","build:types":"tsc"},"repository":{"type":"git","url":"git+https://github.com/benjamin-wss/cornerstone-js-utilities.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/benjamin-wss/cornerstone-js-utilities/issues"},"homepage":"https://github.com/benjamin-wss/cornerstone-js-utilities#readme","dependencies":{"moment":"~2.29.4","yup":"~0.32.11"},"devDependencies":{"env-cmd":"~10.1.0","eslint":"~8.17.0","eslint-config-airbnb-base":"~15.0.0","eslint-config-prettier":"~8.5.0","eslint-plugin-import":"~2.26.0","eslint-plugin-jest":"~26.8.4","eslint-plugin-prettier":"~4.0.0","husky":"~8.0.1","jest":"~28.1.3","lint-staged":"~13.0.0","prettier":"~2.6.2","typescript":"~4.7.4"},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,css,md}":"prettier --write"},"gitHead":"26af862437cc0fbd6da3e6c99b7982c73ccf67de","_id":"@benjamin-wss/cornerstone-js-utilities@1.2.1","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-O6dfgRlNAZUUV+Q7ldHci8AzoZBVzKjHkhlW5nzErbAvG+zZ2eQn491SSHAU5KhMPcoi04ycNnh2sFKnzIuliQ==","shasum":"26f303217be1ce0c68e5cae033cdde3a62e584b7","tarball":"https://registry.npmjs.org/@benjamin-wss/cornerstone-js-utilities/-/cornerstone-js-utilities-1.2.1.tgz","fileCount":14,"unpackedSize":29474,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDutRzRk5DU8A6b6MgzdDL2ayqD05L/baTxD+/FGWgvVAiBpVK86bYdjG9XCYyg791f0M9XucLZHN21fwwdFg7BQgQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSNh3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpj/A//SEqsMPrvV7osbIPY+rtTa+v4lBgBTVENWaEmi9QXkOQ+LZp4\r\nKT/2oruBY/pVhlSMDYWmVG9YhO5clXA3+UQe1Y7cTz+02wpxNQ4SUk02UNwZ\r\n6I62HgOPTKXgCrym7h5dAoqZKE+tjLUnl/wcLyYiCWqzndWbUWkMByZcFo9z\r\nEndc24bnYjbKctiC4cc2bwEp+VzwufFrv8vYGvwp/ErF7vVVpLEdtwzb2MjI\r\ntjQI99ZCLjtv6u6F4azJ51TgJe6kVXFFJzB+coRJfEy4zWgfOnLctBTJEow/\r\n8wd6sgC1gisNUnIBKM82gjJu1qPGd/nMuE+J/X9laXlFYYJnPkq9j9YKEJLb\r\n4jiC4RJFoNs3BMKndIymnvWf8bmEKlBYsqOMHjK2Wr0T1quPQkIFNaJtXojO\r\nIH1sfWf+p51NiLlDS9vsSgT+e35Bmbhbbf0TUB4TiYoZyuFMH4NqTifgGQj0\r\n5iUQMMENXigluUMICA/3yzthW0FFC8RgJpc3WHnMklMhaEI8CZhnl6z3HbR+\r\n0yl5eqVFaHMYURGFTXW/J0NfEqxhIK/RgG8rQZo4VHFPdF/hR0OKalSlH7Nn\r\nyhQ2yId0OmyYHi9+SLBpHBPWQza9mzRmEd5uyGBu8WvgWMcJzcorV5IBHO4K\r\n+8aaOChIbmyFSt7JdAWYkzIds1vvL24+3v4=\r\n=0h+4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"},"directories":{},"maintainers":[{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cornerstone-js-utilities_1.2.1_1682495606842_0.039502163048169114"},"_hasShrinkwrap":false},"1.2.2":{"name":"@benjamin-wss/cornerstone-js-utilities","version":"1.2.2","description":"A collection of utilities that I find myself writing all the time at work.","main":"index.js","types":"types/index.d.ts","scripts":{"test":"npx env-cmd --environments testing jest --testPathPattern=tests","test:watch":"npx env-cmd --environments testing jest --watchAll --testPathPattern=tests","prepare":"husky install","build:types":"tsc"},"repository":{"type":"git","url":"git+https://github.com/benjamin-wss/cornerstone-js-utilities.git"},"author":"","license":"MIT","bugs":{"url":"https://github.com/benjamin-wss/cornerstone-js-utilities/issues"},"homepage":"https://github.com/benjamin-wss/cornerstone-js-utilities#readme","dependencies":{"moment":"~2.29.4","yup":"~0.32.11"},"devDependencies":{"@types/node":"^18.16.1","@types/yup":"^0.32.0","env-cmd":"~10.1.0","eslint":"~8.17.0","eslint-config-airbnb-base":"~15.0.0","eslint-config-prettier":"~8.5.0","eslint-plugin-import":"~2.26.0","eslint-plugin-jest":"~26.8.4","eslint-plugin-prettier":"~4.0.0","husky":"~8.0.1","jest":"~28.1.3","lint-staged":"~13.0.0","prettier":"~2.6.2","typescript":"~5.0.4"},"lint-staged":{"*.js":"eslint --cache --fix","*.{js,css,md}":"prettier --write"},"gitHead":"ceb7636649d39dfae23a0f0f37f1c7fb9f3c5f23","_id":"@benjamin-wss/cornerstone-js-utilities@1.2.2","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-d9EZmzRYzE5Zqj/MmGFPi+diPJma2VeWKWQ8HLjKItSBstIgxu/T1dZ2Zwi99F7hLw+PLUiXBP1up4zuq3grhA==","shasum":"50dd8632cd3ff79b47a51b9a4b316f8ecbcc1ce9","tarball":"https://registry.npmjs.org/@benjamin-wss/cornerstone-js-utilities/-/cornerstone-js-utilities-1.2.2.tgz","fileCount":14,"unpackedSize":28929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8is/vuDyLD+pNxZ182xeyM3HDTm+FGwmdWwwdkVXaXgIhAJt9j4wmA+IzazDVZMoWBCDdbh/nu0gwpO/1tnSP6w5F"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSN9kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLPg/9FZk3bo6UPfYDqGG9ZxSXma4+6hfPLj7/k9Ypmh0ZSsufX3mC\r\n8hR94+c18cJTouT5oCXDSDOYVin4hhbNV9RNWzKmSaYxWNzbDe6C3oqzaU+4\r\nFya9u97VeJZI/Vw8Vdl0t2CWQ6q6FjZ18/3YS9xdpNnHqbinIiPEt1uyfUwS\r\n81X7IY9wOPxk6zDVG+O//S0HbElaws8PUTtd0ysXq0ZoLRRTCGpGUhWJthc4\r\np2YJLGwukIdWxROZJ7vtCMTzulhP0IiNxCRXK6r/o6O/AA2ibGLYEqYyTFHW\r\nsJPuMPL15LKN4Ea2wVTNZgSln0ZERpkZZLYU2fu1gPjIu9WvJm4oDMttZ7T3\r\nemA+Ak0+owJpCFSc+61P2rIAN0wqx4SiMYP4BdaapHIZb0zm75Wgu7ABO1jf\r\nDDQyk6BJT9fpmUi5BRivT+zcFhC9jt1ACv1sfl5UIv7B28KBHcJIsCm6V8Qv\r\nu6Z5NCtPq4x6O5bL9vazmBsjsns+kYQirQ7d6KSbCAyungXKrFgDXiODQ0eN\r\nFiXHdIYYcVVzUCqUpN8tN5pZC6MGoQ6fZjPwdItIwmXYJHMuwBwB2jsoYVRu\r\nRzNs5yoEL/od4wsZ+gcanVvRA3ViMapmv4GXh/jo8jLrDpTugwwbJz5CVJiE\r\nj1HOUe3ezzAA/nOWHnpZQucPAT4c5O4wSuk=\r\n=+/L4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"},"directories":{},"maintainers":[{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cornerstone-js-utilities_1.2.2_1682497380550_0.7731091730060276"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-08T12:50:18.949Z","1.0.0":"2022-06-08T12:50:19.193Z","modified":"2023-04-26T08:23:00.855Z","1.0.1":"2022-06-08T13:42:58.941Z","1.0.2":"2022-06-08T14:27:24.194Z","1.0.3":"2022-08-19T16:34:42.594Z","1.0.4":"2022-08-20T15:53:57.105Z","1.1.0":"2022-09-16T17:35:03.009Z","1.2.0":"2022-10-19T17:07:42.044Z","1.2.1":"2023-04-26T07:53:27.025Z","1.2.2":"2023-04-26T08:23:00.738Z"},"maintainers":[{"name":"benjamin-wss","email":"benjamin.wss@gmail.com"}],"description":"A collection of utilities that I find myself writing all the time at work.","homepage":"https://github.com/benjamin-wss/cornerstone-js-utilities#readme","repository":{"type":"git","url":"git+https://github.com/benjamin-wss/cornerstone-js-utilities.git"},"bugs":{"url":"https://github.com/benjamin-wss/cornerstone-js-utilities/issues"},"license":"MIT","readme":"# cornerstone-js-utilities\r\n\r\nA collection of utilities that I find myself writing all the time at work.\r\nThis is primarily used backend/server-side code.\r\n\r\n# Getting Started\r\n\r\nTo install the package you run either command in your terminal:\r\n\r\n**via NPM**\r\n\r\n```shell\r\nnpm install --save @benjamin-wss/cornerstone-js-utilities\r\n```\r\n\r\n**via Yarn**\r\n\r\n```shell\r\nyarn add @benjamin-wss/cornerstone-js-utilities\r\n```\r\n\r\n# API Documentation\r\n\r\nThere are several utilities included in this package to make life easier.\r\n\r\n## Environment Variables\r\n\r\nThese are a series of helper functions to make accessing environment variables easier.\r\n\r\nThere are 2 ways to use this. Namely:\r\n\r\n### Accessing Environment Variables With Default Value\r\n\r\nUse this if you want to have a default value if an environment variable is not specified. Use this like so:\r\n\r\n```javascript\r\nconst {\r\n  EnvironmentVariables,\r\n} = require(\"@benjamin-wss/cornerstone-js-utilities\");\r\n\r\nconst dbConnectionString = EnvironmentVariables.getEnvVariableAsString({\r\n  fieldName: \"DB_CONNECTION_STRING\",\r\n  // If you use this to put a PROD connection string by default, you are intellectually challenged.\r\n  defaultValue:\r\n    \"postgres://doNot:putProductionCredentials@yourDefaultVariables.com/AppDb\",\r\n});\r\n```\r\n\r\nIf the utility is used this way, the `defaultValue` will be used when an environment variable is used.\r\n\r\nNote that I am using a database connection string as an attempt as humor, you **should not** put production DB credentials as the example implies. You can however, use this for other things like say your HTTP server port number, service name, Google Maps API url, etc. Basically only specify a default only when it is unlikely to change from local development to production.\r\n\r\n### Accessing Environment Variables Without Default Value\r\n\r\nUse this if you want an error thrown if no environment variable is specified.\r\n\r\n```javascript\r\nconst {\r\n  EnvironmentVariables,\r\n} = require(\"@benjamin-wss/cornerstone-js-utilities\");\r\n\r\nconst dbConnectionString = EnvironmentVariables.getEnvVariableAsString({\r\n  fieldName: \"DB_CONNECTION_STRING\",\r\n});\r\n```\r\n\r\nAn error will be thrown if no environment variable is specified. In the case of the example, if the `DB_CONNECTION_STRING` environment variable is not specified, an error will be thrown that looks like:\r\n\r\n```shell\r\n`The environment variable DB_CONNECTION_STRING does not have a default value and is null, please provide a value or define a default value.`\r\n```\r\n\r\nThe `DB_CONNECTION_STRING` section of the error message will be different depending on the environment variable you specify.\r\n\r\n# TODO\r\n\r\n- [x] Write `jsdoc` for functions.\r\n- [x] Write documentation on functions for the `EnvironmentVariables` group of utilities.\r\n- [ ] Complete unit test suite.\r\n","readmeFilename":"README.md"}