{"_id":"@canvest/canvest-core","_rev":"22-34660a3f04898c8b7d4bde0cd9315aba","name":"@canvest/canvest-core","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1":{"name":"@canvest/canvest-core","version":"0.0.1","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@0.0.1","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"93b0c5b60ee728a2772a4b264602ae0110d65f14","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-0.0.1.tgz","fileCount":2,"integrity":"sha512-j70KkwbKMt5rjrp77c0tX9odMCchckTspMroB/HF8PvXKdaq++FdnVbnVj3rHm10NRHrJFstD47rHxVJUaT+rQ==","signatures":[{"sig":"MEUCIQDgwrFkm4DFsVnM4wHsEKzVqJnuyLfUwWtksfLNoeP+gwIgVwMkyeovwpBSustY92o/SACNL4dt/5qHazZTMXf3b28=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":653,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeogSSCRA9TVsSAnZWagAAjd4P/ir4WDQzU1fXqeNKQHDC\nvw8MCkPgdG/uJzr9qj+cYGhT66jUZdCrgR9y0vNHIPjc7Y/KAHB7QiBXCm+S\nzpxgHUQ3sfICpc7bJ5KbPbr77ALvR5r8q12Kt3sTY3jWbtzhEUt8qBj5q40f\nGi/GL0GHF76jBHar+V/iDyHpyAvJMOqaiPBwABhEX3OgnKwvXf6UW07rZCyV\n/3uaYng8Ifw/cDWXvz3GJDsZPAhESLXRpy8zy8ZzDs2n/BtWUT8MbgdgzyVR\nfPiX6IIIRS4LzqqmwzH2tlC2QYX8/SxjY9A/HYrho6dq9LqGSZH3roTv7m7G\ndL54wh1NkIsAQqyfMHzKWNxzc2NgLvWlgL4t3VMgaErrzhtfu50XYij5xHLq\nsQ0GUI9YixEFzbofldzUX/p58zje9UV83s4/eWTzIU+mcjVYkqiGM/6UOtms\nzsZFYSMlWhwhadpXO2MZUXrVvECDet701ZtatjkCHdH+SOxrKfpVXh9cvtTT\nOCAxfdY/K2GHDUuWItYs3oIKB54J2ZA5qwaRFkbuPgZfL1paaa8KJTkau40v\nvDVW30jsjcHqP84Ma/CpxVSewY4GP3lO0RV6Tc09z5dtgMC+V2oXTeI5sOKg\njDVWDnTcWegZ7MUNZZLVEEP3r5zJvLvCpozNEhYj0aXvBTAuefsmrNP+1p3K\nYACN\r\n=HnZC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_0.0.1_1587676305650_0.3865738120643478","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@canvest/canvest-core","version":"0.0.2","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@0.0.2","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"3dac4267cd0c23e28937f635ad4f571ffdb6d183","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-0.0.2.tgz","fileCount":4,"integrity":"sha512-7UsDXM04DdcsttsN+VfpKXBDWjA2y3cZi/3IM1S210mjq0z76JOvpFpiOyjV0wv8Xl7GglfeWKXrxdhun4Z1eQ==","signatures":[{"sig":"MEUCICjZ6n5MY1Pto1vmReDCglN38+Uf3TQUt/bjTM/8FCCCAiEAzIJwCZbmNtc3E+B38dh1ainG3UtiXKQbwdELKlBKfQM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJep14TCRA9TVsSAnZWagAAqcMP/2ti1fYt9QPFOl7dX89s\nOIs1Es2yFaH3M8yWtv7618x044j7AClcktxACl7npZBmmoh5n1kRuq/TvX25\nbqko6NHN+cnUlVaHmvlCW039zcCS+eZj3Jx1myGkYRWaYtfajIeE+btXXazq\n0soLiWBn+90bSZQKtmc6FkcwFR1ijUrDdZgJiRUil99E/Iw4n6VFrFvQW866\nHPpuRlUV0gd7nBSapqSBz83eCIfs4wfNMyc51IaH/ji/QbkOTbHWa6htxRWi\nKnuxIZ0sKe5Aijp4vhyyoS+O3pG9cDjSL22RYO/E9M1COv2cRzm3YI7LT7Vc\nok69TO5Xo8CMsxVgrp7FvoCVxwVurhhvnU8xNqX733hFaFB4ucXZO4sq/yiW\nkaANRVI8lkKhqyMIvnzFxoTZ3o5O+FSaONE8RfPhEiGGG+G4/wDPQoz3uDd+\n3isvb40KhHRalKkA80yq7kn8N0ORjtHK7WxbaUtw5jF79VsjA2PDKEFhPEJE\nzF4Ljz35t31m/rA0rZ/hMj+k75Tx86ZA7/itl+W1haOZNmrORreSKQnD9Msl\nSk1qv4LjRS49REy12UVXD+fBq2IiRCoPSJMDDQYmLjTtfmDkFOX6GIiRCFSR\nLjhSR4sgYKWrhA8vhDF/mSdrTjYDS1zoxYUngR7ix/83YV5qU+73g7onQMv0\nDaWu\r\n=d0RD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_0.0.2_1588026899389_0.4389656316184809","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@canvest/canvest-core","version":"0.0.3","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@0.0.3","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"6452e7de4a0e90c5fcadc0684c66e48ae24bd1a8","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-0.0.3.tgz","fileCount":4,"integrity":"sha512-tcWe7fcQPGHThaJGwsvvtNKHvbGlUd9pktb82WkDj139yli7New7LwDQ0RwfXhv92VGE2Fv/kuOoltsJlCSA6A==","signatures":[{"sig":"MEYCIQCXnVNCl3ww9AWC3JWufMsCiPfQxObXlSWmCXDcwAyt7wIhAO7eJtOnoMxIYFcYWO+aKGNZXtM9TmjfiaQXGo7rpSbo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17142,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqLPmCRA9TVsSAnZWagAAeyMQAIQZ03pzsZ5mCjKfKf0Z\nUlR5M3DiqeAmjdFN7TUnFJeIqIHGmsNcqabZXzww8lybL5wLuDDKL2GGFV9s\npxqhv96QGeEx/bNZqKtmou+7VBpqs5YLiLFtirsiAuWzGA4Qy9yjQ4tnh0/g\nwMVSqgRp9y6D4FFV4ozC+S23Lnn4Yg0zewpcYAdf1JYOkChRWJkHpS4I+r5D\nm2rfaF+86PMsRnHp1Uwp+2DouUgJbuUTe7eCn4+YETj6XwCncwc2NJghJdZ7\ng112SSZZ2+JfsmAGDuBn9YeQk+7JuOVHIYY02mrg0c+YYxYkBGFT/QnIb6Zb\nal1gZ3XpVAZw/YoP0doqAkKjZkEIyyq3FbndLRXzjKeAc4EXq4LpwpV/3pe7\nD3r5bSbN3+BUXoJohRyqhYZPAhvFYUsUhpLhCAxRnMfq36SJ9R8p7xW0vCoJ\nfrlI+qg02l5xi2oIM4OGMgqodgl6swWKMOKBr6oh8XmaGaVIRShJiQVB9Kso\nFUpd47YpzAtctu80uyAEJSmhFXIn4DcrMfR0DuwKFZJuIefqI6ER2HQN42wg\n9NOyJ376d1FseCLqinOWGhyhWnSFLd/g26lPHoCVcg4uSz0JFUzpsECjOB+d\n5ZWjMUofzRLYqikAlSRko4GFSnZJavojCaJrBkPwpn2+RRGHQz0JBAV5E6/9\nzrv0\r\n=4PzN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_0.0.3_1588114405996_0.42449701563039866","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@canvest/canvest-core","version":"0.0.4","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@0.0.4","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"ed09f2bd411f14a77b5e6cbf01a689f8ba479878","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-0.0.4.tgz","fileCount":3,"integrity":"sha512-GRJn9IECtysBj4WK+9IojZ6aCR9V9+4MsEzdP29xBwOHvqZKjgqI9nmMBP+nQ/dCxJVLqm/PteYuc9PUJ0kGag==","signatures":[{"sig":"MEUCIGa+PZB6Y/WIUy3ptI7v3pPPXmNJB2IzDYASTSVbpd9lAiEAstzMr4TSFXYM81ZOf2kyLgxeDtCYxQwR9So+i6CcXtw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerHvhCRA9TVsSAnZWagAASgEQAJAEP3qaEj+TWle9qhrS\nhjqWqhOQYXSTeaEbqAW4slOFyaLqStjYIf9dqr/rp+Ke0UzfiLl9xn9FjfRT\n4elBtHYoqQghT9lJh10SKauPNC2uj0nhP14CyIlCX/wSDdT9ToZ6lI7g/06z\nvaU0AT0mU79UjZJB65yISlTq2AbKUKaf8UOxebU5Kww2tNWxJQ8o9CdeognK\np8zBt2PCtPLdSmhMt9xywoZ//WlUW+sBxQPQvpcfPVIacu6MQJlGOWfnMRqQ\n2X2AXrdxzI2ac7SMufWIN9E9Okwo52iYJtP36fwVJYlAHFomOuxA/xfkhHbT\nFwWN+wxMiEVJFhYr6yPyS3Ec8xHwxtuEv0iND1IR2ia/JqNRkYI7bnCQ33E2\nW9kkWYKp/lJUdMyUTh9iHIw5lJ3edyNIZ1Yd7U4AD6XoOnW0zft2IxfqoCif\nQnN1YI3NKg9reivjpBYgaaFCTl/WMbZLr9IZKXVwF8T7+P1gem9G96CWrYFC\nyAm/PsVGzzq9bCzUpHp8QE/SAVKxTb3myfXxmM90CsdozOLYHQCAjOAzoueK\nGnJiQDLEk+iU0kAh7zZlGnvPf9upALZlIYCseF1Fcbr8VK4PwiPIV5xedYU1\nbtxr0eddhRucSfWFebOA7x1jxSnmkUloRqOjseT1XqU6I6dcU318njMhouNY\n6LUU\r\n=WIz/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_0.0.4_1588362207805_0.8996474709336564","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@canvest/canvest-core","version":"0.0.5","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@0.0.5","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"efb9c81978a3563a1169a8f7ae0cd50c27b3dbf9","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-0.0.5.tgz","fileCount":3,"integrity":"sha512-TmEUHL8Km0v+2Lz5g6FFnvu8jWzIDqNclF9eu3vdeOL99Ndp9h9RtvSRwQ7S+6aV+88gLvIgFOfBoX+WTZBcUg==","signatures":[{"sig":"MEUCIF9+FFEri4yKD9voidv39+04yu49KPxeg9zNxI0WXKqAAiEAo81fOfH+QWbA4aE8miicEcsCVm5kR9M4EwHL/yw5Ps4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerasaCRA9TVsSAnZWagAAZlcP/RXPrEk9csilcn+ICSf0\nz38AEbKgKHjhw2Ha9lRBHMZ8s9rk6N1lb78EMd9yIR09cFALeIs+Cbu8sXWF\nARUF/Yd3JXHx4tHtYtZB9DoEXB421tjn1bsUfLZtalYEc2OBmC5NdQwbMvCr\nQGcLkD2SJApzDIGKn7e2hYaYFjlAFqMw0WYFcWVTXtHUBQ9D9JyO3Pog8uIt\nJhEk6yhh4x+EiFPSLKS7uBaXQdd6FdvQ5eiQLXCIHHUAszegQ6Jt8mo3K+cS\nT3WW+Dx7y0eD5mUHU2tWL4UHmN8vSd8XITIz7Lu62a6ShZCDiaQcEyN5BpJn\n0jex3m45DWm6eNzmpJPHUGza1Iz+OR4XKSMZurwCPMX1zB+88andBBG5B6CW\n0dDHUSAEMPubYQe2/1Bju/cM8rz6cZmpr5aZidgkgiDXZ7O0Ln1Q2TWGbmQ7\n1j3PepaY/hUhzWUU5+VURPjAfAlQXPqU9tbJUL9u75qPvGa6Vv3HXmBSe/Iz\nXkhVTEIlc9rXqAbJb6mdBnMEdlnMfYQ/nVrJQyt1noZAXlBWuBQ+znrdxpeJ\n4yDVcKdSvTk+VkYkH9WB9xsiJhtG0CdDtUWIHLvi93XSRZM+0p804KdrQzIC\nB3BMSwSp5TjTtr1zpGbnFf59LzsYU5P90PPl8DG8CwG5dLWhJ8PuvZD8To+Z\n57TM\r\n=4T1Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_0.0.5_1588439834071_0.12432821975823827","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@canvest/canvest-core","version":"0.0.6","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@0.0.6","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"5440644a3bab29c87f93c0872d6b6a602e451a61","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-0.0.6.tgz","fileCount":3,"integrity":"sha512-8WTDbmyIiFSMForiFzJIEYpVWV7YqAZ4EO1MBtPcIiKRUffJ3R5OVYhCE3N99YxdQ/HCiYB3I/jmhEinGhJhag==","signatures":[{"sig":"MEUCIHOsJnzibvyrizNpU1ft9o+mqvr1iKWIS2pobcnucN06AiEA+MlxZgITk3CV+7VR7B3JaM88cBSpTwqp7Y/AqVk/2xQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17445,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerrs1CRA9TVsSAnZWagAAHr4QAJo2h+NOkrhoEddBWyux\n1fFJ1RWW+yspRpRl7djgJ8QSoqzGEbOozGP6ZbyJsQiZCqCFx5Btk0nlOYRe\nRUVCEa6tfdRJc2l2rukjB3rkXP3cM+rb78zTwvpNbrDjovJGpnax/o3MGSl0\ncWA68Mh88RnKNdEBR+LI3BeJJDSIr0g1TZTDvDSLb+2eEX5S9VV+zONjMy8+\n4L+7+okzJpt8T2vE5ayiF9FOUPD9Fk9hsegghEPL6zGScc5A9BOLJlGSSMsl\nUUZVxtfKOuMDPhNIX5kD7azDp1lzPEav6pPmh+TMmKBJZSy7Me+lOUJRhxTG\nrr4N3q8az9AtV33FyBMnLwrKCKXZ8MExXj6LnAxnkZO3+YEvhkOZcpe1TKDj\n0hIHEXLbcuc007nkRezFyTuxDR4osTtTNuLxeD/4VeS3biMXqx3rQFcfvHGw\nT4KSVMy6Ns0f+i2GuF9Ze1XxfdsaRGp4maXdGsq+LrDsAKdv49uNTzEA8oDl\naoyjrCEH6uT49ZtD/Z/qCkYNMzEvi6cyE2aZt+O1ybdUm5E9UDvYiVhP6S2G\nQRre3jb5E2YUcWHgOLK9MWaJZgZkv6BEZEFNkgyfY6w+cq4mgo3aP2fFMf2d\nLdnHiJ3NhYqs+fxHDmVXLVW6GUzls8BQ5i6sOdze/aAiPfvItbCTqNg2KXwm\nCbbu\r\n=xoAB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_0.0.6_1588509493055_0.9550976129047026","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@canvest/canvest-core","version":"0.0.7","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@0.0.7","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"69182cb8de05c9e6c0be9ee5d6d84fbb405fc301","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-0.0.7.tgz","fileCount":3,"integrity":"sha512-A3c4iR6OCR71B49OYAz8l3aHFBSdzAOUuxuxT/xwzG/ZXZ2PJcvqePMsScl3WngUbzyVkSfQhpMyH6BDCH5I5A==","signatures":[{"sig":"MEYCIQCp9Ooys9z4LDVNOcl4yTPqZ4bK80MGYb4EH4cV19yL8wIhALlNFO4H+jWMFxSd9132M8HfjlSFuDJfNFjrwE1PGIYH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerr2DCRA9TVsSAnZWagAA/gEP/2TWoyrqhwpBhCaeUvoY\nUyi1LuyXmu8MaOcyOLwbNb/StPqErVeBsVPzTiJc3fRWJ36kBRPudHdByhWE\naVYa/XzQJYAS+QCG82I1Egbi5WVMUazYiK73gv8wlZsvTB3l7/dfCUwvF2lz\nM0w1UjhoiiXOzuAygsOxYv6yWoquQWjLgRYZylnAP0qmWQXtC4dv5WVIaxAt\noQzSxxbFNNgPzXGYDMFE5ZcW6/dOB2CM5I58Z5LlNAKtrN/tdo0qeK1QHIlc\nNnQ1rnzANWdoBiz1UoRBjp53iwXVEjCgoVbcl+RhNzumttWp7V84vHGMCbEE\nBGAO4PQVgJJnRooMleiNtx0VNRdmZzXfPqNVy5BNIzRaDOPSro0rNezYL3WJ\n1GgyMPAhegX2ARS0h/4Zn28iCMMNIRjsiShT5WTBwZIocTfSyXCNN0Qhm4lF\nFnMIidZ5dNX1OBj0awyhWZhRlS99XfvPenM0/adbWrONiNTjTR6jDoQ74Vmb\nWSK1w6v69RI/06MBPcY63H/j5Sb0vh158ujHOxB5d3ZNS6PcwEKBzNGHpbsy\nkzG713QTuLS0h7fnulWx+7tvyfa4AP8RsBAHA75C8gf1uqIh+gsVeXmljkOQ\nNMTuUy9797esGTnqpLAPsVHvVL1iUgeubDVt7v+kJdco3wx1JC9M+mXQlGwi\nX87P\r\n=h6WX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_0.0.7_1588510083240_0.37440201371356174","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@canvest/canvest-core","version":"0.0.8","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@0.0.8","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"349d76abd261a147d1f4636d96ad4fe0e10fcbb7","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-0.0.8.tgz","fileCount":3,"integrity":"sha512-LA+8pRALsXdCpwPVR0iqJYCOtNGOIGx9zI4tU9swWWTzZakNMwCbNvz9U5rn0OQfARxmCon3GLZIu8ay+yu+hQ==","signatures":[{"sig":"MEUCICxTCX/vjhkOFkNVJc9qyLY3Nei10oU5oQft6LGUoWV3AiEA8OW7XtcEsjREo+5ajj605Tf06D0LkHk+8hi13OwHaEw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerr7DCRA9TVsSAnZWagAAuZEQAJR5XitiVbc2lITKy8oU\naYlUyB6fXzszMCdrPbBu3NkvJUPtQBfaFU9b+vd6l01TXXZuESBFQPPNw4OB\nVDNchymoM8o7K7aYxrd7uIaJgdf/1h4q3xP0Vc0k88xNxKLFBhRL2KczI0E5\n5K5/E7g8O/drN9SZIYr7Pcxp5I5n+K9pLD/z8dG9hwRETmI0N9/LLVJMGfqh\npqxQ1CN/HeZSFALKxKubuUVIa/5EIvDwyci1U2sPpBif5NEoXN/ZvhG7/ZRL\nJFfpL5u0AFEBx24uFBx1NSC1pXWdOvQr3fd7xkpQcdDrFRgFGqyUr0/4+kjh\nn2GdlwRyu9PmlZB6Dw0QPZc3cGTvwx1RcE52uGlyJd0ny/B2LVsvEUaF0mo6\nx6Qo2lZGsbgifXO5WGXYKdQ4hp3W6azSRZUY1b5RFe26fzD2KQpaW58sYcJn\nLNJCPGq8zkcX67Z4mJXAL9TkdKYQq1To4/E6zlkgHICPqqSVTBPjLRp6Rg9u\nAeGtne7wuVyvrEyjSCxW48Wtuv+ezyuIPaPwSbWD0iwaPLcXPPL+vA6FAqH3\nK2HGR2S+NcGLRq5Xb/FDE/SxKUmlHK9vZKscrh48QzCN1dNYpUz9KDuzGsz9\nbtU+ZS9uuzmKdIphvJHruLGEGnvISPNvITRATzduvXAUQEaIQ9a/qQXrBIkY\nuhZs\r\n=4waM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_0.0.8_1588510402923_0.05724082606192171","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@canvest/canvest-core","version":"0.0.9","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@0.0.9","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"702a79665f55321f551c042304df298064de1a98","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-0.0.9.tgz","fileCount":3,"integrity":"sha512-vteUCIyYq+ga1pA79au7DB9JSX4d93AEOo9aTiidAtYYSSDLuO88T/bVn5KhvJJfwIQCbyjOtQY26JEyufeTLQ==","signatures":[{"sig":"MEQCIF/X+nroRse9ZesxLGVdE/oeG0l0V5fVF5xK+vSxEgWoAiAKmt4qF53pzdzsbtqNSrL0sCJp+RDbpCMO5sxjVS/ZYw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16269,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeteypCRA9TVsSAnZWagAA9XQP/i1bqtRua9efxDgXKjdA\n/B7t6iFq5WMxzanC14h8d6kEqCtl/DYYqVhSyMb2GjessnTKaPHKo59YE9jU\nr6davVTm3YnjjRYE229/6Q9zM1Ju3eIteeloWEdyWe9ybVO5eg9LD7GyIRpF\nLakeS58ScukPfQcg0V+4WpcQJFUi5+O4bvlz/hzMapatacO/W8JGNH+w9QNQ\n9/GFdn0Bcd8YfqmIVyqjaZc3tPZz8YN2MKCFNvibqx/OxkvuPeOhRbnzZATh\npZulb9lfXaCisfmFBaVaKSElOXw3ePWtJoirXyv+aA387LWdTHvJWKr50sIs\nSA5+LEx8+fkrnY1Ag18fZPF2xWP3WUSKXRtw+xeoXF4x426nMdFRVBn1DvF/\nxnSDe4m1a70eX737u3LqD3mN/Gt4DiNoBIQuiQTyqKq/zzCD/Ky/5YnTwqZH\nlAyTVAeO7YITnyd6TL5lSNXPcAKdP/EXNtLMp4NQKapBQe61U9wflhPmVseu\nBWpRtVAfGK7PuL74/FFHKO8ExzJDM1EKbonJ5opORBANZk3HIV4FGFBl2tcj\nS/aPRIpKLYSws4RJ008KHQZVclkZ/qPaps2oa/QMdBNnYAlBgkhqaIzYmcG8\nZp7KHloo53CRamu8Bu6CDXxLFG1vje7tI4cX+Rp2Gbxmg8QtStPoI02o8jBk\niNIt\r\n=yPvU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_0.0.9_1588980904722_0.8704111281361002","host":"s3://npm-registry-packages"}},"0.0.10":{"name":"@canvest/canvest-core","version":"0.0.10","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@0.0.10","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"48a022409bf46cef05dc6b88e5a79a374b021518","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-0.0.10.tgz","fileCount":3,"integrity":"sha512-8goPz4sVzKztZugZtGuSj2sWay+OvgzY5E8BHRKGh/7Yyw3siRp8bFzDO+ljLl5VuT/ycXKyU+aPp2rIlv2rGg==","signatures":[{"sig":"MEQCID8/cn5p7sTfBd8mhHXAjoOPOdS3Xi+clahJcbhR2lu/AiAow+lCNg6kleKk/a6sq/xL/EvSRcCxjY+8EMwclC7n1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetfN+CRA9TVsSAnZWagAA1pIQAKOymoyPLPSXzL0L0ds9\n/98dHAZHWeI4L2gA3t7+Fyfh/+6+spPHGRHi6QLqcBuFKzZOCIwgm39VQzuc\ndMEbsjNA1uJAr1QMUO7hNnaT287yUndd4h2aqFNgwLGD7POGv//uT/ml/OSO\niQwMNeO+/eWoOxD6PB7uhz/O3zehseBuKR2qTI1MGbUMQ2tgtEOh9T6JYtQy\n+UYGPXt9FRbvMMjfiBbW/oJV6EfojVFmXbMrWBlLwvjcwT1qIMouUflh7El0\nFO3rE+BMYuZHcG9F7rpuCicy3Z5RR9DVSl2rSS7HBYlNb9IuZP0QuqjmzTmt\nh16fGSU3KdB2Ku5BVbSI/7UQ5kJQoz5cd6C9gStq0hDgtHtC+yGforDW+umE\nyM2TKFviE0B32kbfF0gpZP+qHO9TxbhLn3WFMk0FtqQAEG1CfT747QWhN9zz\nZqofOGalRxnTynbj6ssvPd8lq+M1x9ftJUzViUmapRnMaW5hV3cS5m/0eUyp\nv5cdJQlghw2fn0b12daSTBIenCu6VOzCX/4aNYwB73deIHbgiIbUmotxPE0U\n5K42EABzCEMzcZgBEPLL5OygaOkOIBXIE/821Q+O/i4poCaPAGC9k2KO8HMQ\nJUXb9hJ4/hMR3wWv/Tvdb8Cu7Zp59DggB61IVA0+DJu0lEjENNKpFO6qCNy/\n5Spg\r\n=4b5N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_0.0.10_1588982653727_0.6555445250323155","host":"s3://npm-registry-packages"}},"1.0.0-alpha.0":{"name":"@canvest/canvest-core","version":"1.0.0-alpha.0","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@1.0.0-alpha.0","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"27e542f651d5705dfb9beaea2e244ea3d7ffb5ad","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-1.0.0-alpha.0.tgz","fileCount":4,"integrity":"sha512-BlXBLtngyrVen3yM5G0Ygkp6nBsP5PXWqzwdbXy8imZtpnMpoPj6mrFEEsTTjO7jmGSj8ykfmy5eejJRdFEwWw==","signatures":[{"sig":"MEUCIQD/dzgp0Hgveuckv7+9BV1Pk2TjUrDhKzTfS6bBdLhr7wIgYJQO3YEtH/x5JnOYi6RrylbXoW5lmfd/PXxUI7w0kH4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetuG4CRA9TVsSAnZWagAAL9cP/2KjpMo5TNtHdbGQN7tK\n44nir1ry210lcBeUW1MRrCvQjZFf5Skxnp+SY0YEk2DwDYpejPnfUjQOMqCu\npFcE0e3SLIOywHaHIN47ZiV/M4wdFeUoFu87ZPM3+MSzSTQMW+b77UPALRGu\nqovz0j3aFr1yz1Jef7Cbl8rVpDWt8PoaVkh5zLEFH+QTWWqrs0Qi5LjfRFl8\nJZg0pQm4txgSrtCZEM5xCz2e2W3OmIFJ9i/vJ3KPD/NIqXb+0pM18tPJjZH7\nuP/GhY2y43ovAlXUTvnzQyb+u6kjcTND7hfxazNdhDDI/Iv5Rn8KXixxul6b\n7DNis+tzHNYJsrwYQGOnF8YPuv04FVH6USkk6tF715ntDthSH6/a5uUWjEq8\nxt0GjtZrMLd6ortNLsxFojv4N9niS73l9tp2d+ji9PU5jv+MBMKLraSAe5Qe\nIIg8tADY3bJ8MA32JMs1VgUNDWlw+/HQGGSrqes6DP3wCJsptNFw16oEFJLz\n2EW3kuBl0+hWi0w4FLXnJwG6coVkKK2n2yjqKI1bEz6BGtwj2Ae3ZbWzXCJI\np6pWNpGKdSQFshQt1fQTy1H9EEQTmzRF38LTmDOvGzrXlGB98KUa+uUj8i0y\n5z7bOV/lUptG5krV+NMsNRAOqPJ9q39Hb/RHvlxpoWEaHhyzVIdObDNVBlAd\ncJdJ\r\n=ZpZE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_1.0.0-alpha.0_1589043640147_0.5317036712725396","host":"s3://npm-registry-packages"}},"1.0.1-alpha.0":{"name":"@canvest/canvest-core","version":"1.0.1-alpha.0","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@1.0.1-alpha.0","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"0b8f3220fc9fa33ac0d4feca0b27ead56de00a53","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-1.0.1-alpha.0.tgz","fileCount":4,"integrity":"sha512-BOsGd9/rxcvDbPwQLQDrGhVFOz8pEZGTOqziBueJAeqpvqR2/ikgnMZMQkwQI/AJNt7Y7grMy86P1yXq1+qJrA==","signatures":[{"sig":"MEQCIAfcg0jRZcZLJK6MOfMTygWXHy5C5joAbLfh/0y6Egp+AiAIt4V0nFxQA4HgRHc2VpGTuBkNoJqap2K9Xtki2FlJjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetvIVCRA9TVsSAnZWagAA1JUP/0N7dvh9TSq9yDVVgin3\n1ZPfb8zSQ3vDgdwZ5hV/eKsq8H6q6WhUachEuIlxIpVN64tFnu11eM7NvlJR\nTfPvASLB07Pow7o0AvqVxG6rl3AOok53BW4AZ6UXjbMJnggqRdvT6yk73eJA\nmNEXvmFaYvtxh1VatbQNgyAzQK/9zQ4iLNZ2HN9f38uBc5IjAFQo8JzuXSWJ\nb6YgV/4fRbZb18WVp6vyJWGnsfwY99+tcl+ilNL53fYO8qRB+65eXdt6rO3p\nlrkNhqjVGMpbmhGWK3skZcvsdzpIUP0d4RyBGh6od6WqAntXe1Adk7G1hZbv\nxej9FapeX+sUeB71cm2X3KQ2EvEcyAenznLumG3kYCISurtq5AgvfmBuPZpB\nrj5JNFJI+qZ0yBh2vlG7GzKNPbJGED/Y4h+0h1OLvRFHosJRK7qlGWM5eCc0\nGPG70+Ih37DlkNvtRIO29i9YLK/aFNbdoDtDGd4SsEfjkIlEltfCq1dEcaFN\ndhAdHr/6uT9uxR49VmrcYqz44ZJ+VwgJu7YQCSoYg499foRj3VlGQRRkCTAe\neDDhxJsZ9YDsQZXv6Ag58/Oa66VWriPoISSPAqLykF/vx0qaME8B62Bply4d\n473t2p+jETaNC+q2jcjHJvVCVvJGl9tEsYhCYwa1xQN0NluBfe8CBchAsy29\nQ4wV\r\n=GAYi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_1.0.1-alpha.0_1589047829192_0.19969180915385598","host":"s3://npm-registry-packages"}},"1.0.2-alpha.0":{"name":"@canvest/canvest-core","version":"1.0.2-alpha.0","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@1.0.2-alpha.0","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"ac49b882fb83ee9ba50cfcad027bf096f37248e2","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-1.0.2-alpha.0.tgz","fileCount":4,"integrity":"sha512-xDbJNCXRV9AFjf94shATNj6ym5gwWxomY588Wkm6ZrL8de2GCWwjNGPCv7Cqn3VOxmgnPU8djLg9zggAGODzUA==","signatures":[{"sig":"MEYCIQChZwwgWYgo4rE0FI5+fAa11TVUoUna3Q0U37sWPN/zBwIhAJf2vCwlQGjAZOJIwAOOB7tR1+HWSuWB65CnxGRBm5DE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewGXvCRA9TVsSAnZWagAAc6IP/AhvrnHNApM8+kgYkCja\nu6z1u1aW3YAbSXxmAUvTr0O+h3+cxKGEnSRowQEELeGUmPFkZH//cj79lq0B\n9jpJ/hz+fx+ahwgQFwzSDx89agMdr85tFfsdeJgCNV9iDMdqNVUpIsp9M/E+\n/MjBA5iJxMBGUA1BAPIoZuml0kf44djSsEPTH/r7jC1pI3fpfUJBXEVXwx/l\nVqVsEDulWzWTi8xWcn0/a84CzySYEzeU8wdrE4GoDsCmcStFVOVm8Ly1630y\nTy0Q+LRoxEf3v3i6s/1p5JYjLSEU9LKcJYK/rdlzs0+lNj2sJS/KlXFmQz1A\n9WYXe69QIIUfFQHXqnFvWyPHBwn4eBYqq4HY+FASSbaMPOfA6D0Y5L4waWtX\n5+3KvQmGei1vgEK9ZOpPU6rxgs/mOvshExv4WNYCuRKF2u9WfNM2/jZUkt5g\ncJh6CgcvqIFAHZfH4ctwlZHPDfdO+aClB81/Am2O+WH/uiEuEKf6uJuW6ohV\nPQ3+H1AxaXyItWrnnp54Y8PO1TyahjyWns0l7MTt0HESTfO4MCIdIARck3uk\nWma0WPcuev9lJzJUwT1VFwiIENS/6iV2fgA0vGlGND5MbmDDtFx+7NDmjIWO\na9aX+IJXOerkS+wapK7uaffF6p5FCNkRVIHqFY9NZkKxiEfLQaVlNujqIs+C\nZ+yR\r\n=1rs+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_1.0.2-alpha.0_1589667310773_0.25100335484065206","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@canvest/canvest-core","version":"1.1.0","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@1.1.0","maintainers":[{"name":"tyrealgray","email":"tyrealgray@ymail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"8d2668f648d206d956d8a98188a6365de873ebed","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-1.1.0.tgz","fileCount":4,"integrity":"sha512-Wyy6kJBvDFbLoQ1neHsOOMWWBfUjdTE+MzIzql1XNpDzmbCwYROW+MyKhh+ypBdnEOCV8ALjfEpOcVPGxIKHIg==","signatures":[{"sig":"MEUCID+4rl+TyzcBtdHxmvFtw1NpmEx4aAaKjuuvgkrbSy0aAiEA1KJYoxYw0FRCt/FhbY3e4Oxi40DxBR5jtpvi9qm+fsI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16432,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewvx/CRA9TVsSAnZWagAAp4wP/AngGvjmOC/S0DC6ZW/M\ntA2WH7KusalM0hpNDPUJIK6ouPccMBIFKwrAaHQUqhYWWb5oOxURAPUXFtUS\nzR2ueiE/ytozvslSY9Rl+R3xx+Lanq2YlGl7DmEH2JxBqO7/8hteCzSHJqWp\nuerpIyqyRFRaJ0ID9Co3rQ0YHDcxdCOSb5VhXMzGrGYpQJ2OyCtuUTXgfALN\ncCtiEyCk2jE5S0CseDzQ2kzK/qa02ysJ5q8k4+fptJCNzFpj2oYcfknd9Z8x\n2UPq1owwZmLmzdkXSQuYXdFTwXvBxR/GI5JGAQVhhMB3eFnoKy+CWQN0o40v\nPDHN30h+kfh+jyCiQOm8jzTdoV6ymqL+unmJulNLYQyfEh5D/ASU4agfa4YO\nFo+KK2WdcyfttZoz2FUuGscuDk7PggOLEnTm4vp4QTRHURjatudSnAI6oTgw\nPgvPguZPSqI8NRjyydn4AjJL51G/kJTK08stL/zOKH9wx17bpsyYFtMrEECR\n3XU4uaykKhiFqLSR2zKH5BXjZ7uV2kaf3Vst3HGru9FYKlTkc6pIuxkdemTg\nvbcapNIQ+n4G8kJM46b+tlXelDTtFy3z5XMSZ+LSTy8PhH3IZFLLxS3qRPbE\n1uFLe+JN1h+lI7BCBVyhcsK6J9ryawJKV9sn2JndQHdELek6WS1btB2Z2VzI\nz9pb\r\n=DdRF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"tyrealgray@ymail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"6.14.4","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"12.16.2","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_1.1.0_1589836926857_0.2404951544013767","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@canvest/canvest-core","version":"1.3.0","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@1.3.0","maintainers":[{"name":"tyrealgray","email":"ityrealgray@gmail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"6c5b2ca9d3a6798e4dbe714f31ccb8409560dd05","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-1.3.0.tgz","fileCount":4,"integrity":"sha512-qXhcaLMTH7FQGcxpZ69AQgm4TPiLGDxmC/ln+QdogU9j5hctwkRK48lPE6zf2Qp6A/204z39N9qpUlSM2Bo4rQ==","signatures":[{"sig":"MEYCIQCucz3fjVhPCHwRIYu7xTWBbVVAr1Opf+zCmKNQLy4c+QIhALHHsZvzxbKSeZJdwHzVZqfsQ4ODy1yOYDrTyDR4457E","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23225},"main":"bin/index.js","gitHead":"0198aeb4125b371a81ed746b9d8a25aaa233da48","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"ityrealgray@gmail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"9.8.1","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"18.18.0","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_1.3.0_1764355687180_0.3554487413418037","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@canvest/canvest-core","version":"1.3.1","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@1.3.1","maintainers":[{"name":"tyrealgray","email":"ityrealgray@gmail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"e2a3cdb4bb36037869508b0492460c02d27533a9","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-1.3.1.tgz","fileCount":4,"integrity":"sha512-gwiUgsbUAc8rRq2yDMps7uR0GyhG1fsdkISpeRaey0iQ+9+i8gqDile8KvIqBu44fl4zMpx+JGRTjQ+mWdIPQg==","signatures":[{"sig":"MEYCIQC55nKW2KBIXjAcE0W8y3j9Gg7vO9ctVEn1Mx5HqnYLVwIhAKQygtFoGBvSopTeNVywIQuRiHya//1e5aU7AehvQqqh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23225},"main":"bin/index.js","gitHead":"a327bf298563c1ddc4184e87c1d9a8f88a7d036f","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"ityrealgray@gmail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"9.8.1","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"18.18.0","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_1.3.1_1764361208859_0.010489619584426846","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@canvest/canvest-core","version":"1.3.4","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@1.3.4","maintainers":[{"name":"tyrealgray","email":"ityrealgray@gmail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"0f4f5cfb58a220167a32c8c14f56757364886789","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-1.3.4.tgz","fileCount":4,"integrity":"sha512-P8pBXO9ZH3wYQ5tvKVl+ZVcire8nXQqmkV3BxNJvUbXElSvC+l3WqgTX4sGu3W97orYTs46oHL/JasAglN6Nng==","signatures":[{"sig":"MEQCIBTegkELsG2X7/h93ZN1skq64AzNPZLjIOhsDPIDXVtYAiBIqNJxQZx6xDdyUCKRfV/cCSdlG00Nl82FaZhoXBoYBQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23082},"main":"bin/index.js","gitHead":"898e2274d78ce0c20bf67e0897b7c9716b9e50fa","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"ityrealgray@gmail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"9.8.1","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"18.18.0","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_1.3.4_1764430641896_0.07128222823659303","host":"s3://npm-registry-packages-npm-production"}},"1.3.5":{"name":"@canvest/canvest-core","version":"1.3.5","keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","_id":"@canvest/canvest-core@1.3.5","maintainers":[{"name":"tyrealgray","email":"ityrealgray@gmail.com"}],"homepage":"https://github.com/TyrealGray/Canvest#readme","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"dist":{"shasum":"826289a7ae104a37754760a2f9f799b01c875962","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-1.3.5.tgz","fileCount":4,"integrity":"sha512-4QJgzNPlaXho2jDFMMdZhI3tPJop6sRUtqNOn8zufWa6ipll0npAGk7iM/HRI3qxotTto8lYXCXvrU2slUXiPA==","signatures":[{"sig":"MEYCIQCz4KRRP0C7to7qcQsCqHQh0NIIHe3M4y38Y9fzKYmqigIhAMmILxQI3AxUuZmPA07dd4iZiiGQobV06Y7gKkSFHzmR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23082},"main":"bin/index.js","gitHead":"d55d5a0bbbcc96079a760d6694b56ddea8228ed3","scripts":{"lint":"eslint ./src","test":"echo \"Error: no test specified\" && exit 1","build":"babel ./src -d bin --copy-files","prepublishOnly":"npm run build"},"_npmUser":{"name":"tyrealgray","email":"ityrealgray@gmail.com"},"deprecated":"<1.3.5","repository":{"url":"git+https://github.com/TyrealGray/Canvest.git","type":"git"},"_npmVersion":"9.8.1","description":"A unit testing framework for HTML5 canvas","directories":{},"_nodeVersion":"18.18.0","dependencies":{"pixelmatch":"^5.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/canvest-core_1.3.5_1764431640989_0.7351442899851663","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@canvest/canvest-core","version":"2.0.0","publishConfig":{"access":"public"},"description":"A unit testing framework for HTML5 canvas","main":"bin/index.js","scripts":{"build":"babel ./src -d bin --copy-files","lint":"eslint ./src","prepublishOnly":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/TyrealGray/Canvest.git"},"keywords":["canvas","unit-test","canvest"],"author":{"name":"TyrealGray"},"license":"AFL-3.0","bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"homepage":"https://github.com/TyrealGray/Canvest#readme","dependencies":{"pixelmatch":"^5.2.0"},"_id":"@canvest/canvest-core@2.0.0","gitHead":"41fd165a3bdfb99f299c383f0fc18e127557a94a","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-XmW9UNI1UoyNUSDX/8ExHA40zoddluZBiP3F7fl7Lox+vRlnGA3RdSXFZz9v0tA24xssj+VSKtZqSbIX65WHUg==","shasum":"aa25225f1d1e62b968b0f71cc9cbdce2103430cd","tarball":"https://registry.npmjs.org/@canvest/canvest-core/-/canvest-core-2.0.0.tgz","fileCount":4,"unpackedSize":23012,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDZU4RYJw1mDlvMQjklNyWI4LNlQz1/yEudSZ+OYEnUjgIhALvoMBs9rOnDluix3sFGdeBxB0Y9eyEqVnNxuiu5JeO2"}]},"_npmUser":{"name":"tyrealgray","email":"ityrealgray@gmail.com"},"directories":{},"maintainers":[{"name":"tyrealgray","email":"ityrealgray@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/canvest-core_2.0.0_1764434671358_0.14430975070360552"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-23T21:11:42.925Z","modified":"2025-11-29T16:44:31.756Z","0.0.1":"2020-04-23T21:11:45.768Z","0.0.2":"2020-04-27T22:34:59.480Z","0.0.3":"2020-04-28T22:53:26.092Z","0.0.4":"2020-05-01T19:43:27.982Z","0.0.5":"2020-05-02T17:17:14.221Z","0.0.6":"2020-05-03T12:38:13.156Z","0.0.7":"2020-05-03T12:48:03.353Z","0.0.8":"2020-05-03T12:53:23.049Z","0.0.9":"2020-05-08T23:35:04.848Z","0.0.10":"2020-05-09T00:04:13.896Z","1.0.0-alpha.0":"2020-05-09T17:00:40.266Z","1.0.1-alpha.0":"2020-05-09T18:10:29.302Z","1.0.2-alpha.0":"2020-05-16T22:15:10.869Z","1.1.0":"2020-05-18T21:22:07.064Z","1.3.0":"2025-11-28T18:48:07.355Z","1.3.1":"2025-11-28T20:20:09.047Z","1.3.4":"2025-11-29T15:37:22.092Z","1.3.5":"2025-11-29T15:54:01.203Z","2.0.0":"2025-11-29T16:44:31.564Z"},"bugs":{"url":"https://github.com/TyrealGray/Canvest/issues"},"author":{"name":"TyrealGray"},"license":"AFL-3.0","homepage":"https://github.com/TyrealGray/Canvest#readme","keywords":["canvas","unit-test","canvest"],"repository":{"type":"git","url":"git+https://github.com/TyrealGray/Canvest.git"},"description":"A unit testing framework for HTML5 canvas","maintainers":[{"name":"tyrealgray","email":"ityrealgray@gmail.com"}],"readme":"<p align=\"center\"><img height=\"100px\" width=\"100px\" src=\"https://raw.githubusercontent.com/TyrealGray/Canvest/master/canvest.png\"></p>\r\n\r\n# Canvest\r\n\r\nWriting a unit test for your HTML5 Canvas component without mocking any DOM element\r\n\r\nUsing browser to render and execute your component's unit test logic directly, outputting image snapshot to compare in pixel-level\r\n\r\nSupport TypeScript and zero config needed in most cases for JavaScript project, using API like `it` and `describe` with a few unique API for canvas snapshot\r\n\r\n## Install\r\nRun npm cmd to install on your project\r\n```\r\n$ npm i @canvest/canvest-cli --save-dev\r\n```\r\nCreate a script in your package.json\r\n```javascript\r\n \"scripts\": {\r\n    ...\r\n    \"test\": \"canvest\",\r\n    ...\r\n  },\r\n```\r\n\r\n## Usage example\r\nIf you just want to test a canvas, create `helloworld.canvest.js` under `./canvest` folder\r\n```javascript\r\ndescribe('Test my canvas', () => {\r\n\r\n\tit('should render hello world text in canvas', async () => {\r\n\t\tlet canvas = document.createElement('canvas');\r\n\t\tcanvas.width = 800;\r\n\t\tcanvas.height = 600;\r\n\t\tconst a = await snapshot(canvas);\r\n\t\tconst context = canvas.getContext('2d');\r\n\t\tcontext.fillStyle = '#ff0';\r\n\t\tcontext.fillRect(0, 0, 800, 600);\r\n\r\n\t\tconst text = 'Hello, World!';\r\n\r\n\t\tcontext.font = 'bold 70pt Menlo';\r\n\t\tcontext.textAlign = 'center';\r\n\t\tcontext.fillStyle = '#fff';\r\n\t\tcontext.fillText(text, 200, 200);\r\n\r\n\t\tconst b = await snapshot(canvas);\r\n\t\t\r\n\t\ta.notEqual(b);// this should pass\r\n\t\t\r\n\t\tawait autoShot('test', canvas); // this create a snapshot in local that will check canvas image to test if it is still the same\r\n\t});\r\n\t\r\n});\r\n```\r\nOr test the class you create, for example for `pixi.js`\r\n```javascript\r\nexport class MyClass\r\n{\r\n \t...\r\n \tupdateRotation(rotation){\r\n \t\tthis._sprite.rotation = rotation;\r\n \t}\r\n \t...\r\n}\r\n```\r\nCreate `MyClass.canvest.js` under `./canvest` folder\r\n```javascript\r\nimport * as PIXI from 'pixi.js';\r\nimport { MyClass } from './MyClass';\r\n\r\ndescribe('Test my class', () => {\r\n\r\n\tit('should update rotation as expect', async () => {\r\n\r\n\t\tconst app = new PIXI.Application({\r\n\t\t\twidth: XXX, height: YYY,\r\n\t\t\tpreserveDrawingBuffer: true //<--- important for Canvest to take snapshot, false might lead to a blank image\r\n\t\t});\r\n\t\t\r\n\t\tconst myClass = new MyClass();\r\n\t\tapp.stage.addChild(myClass._sprite);\r\n\t\t\r\n\t\tmyClass.updateRotation(1.5);\r\n\t\t\r\n\t\t/** \r\n\t\t * the second time this autoShot function run,\r\n\t\t * it will check the current Canvas's image with the local cached 'rotation_that_expected.png' file,\r\n\t\t * if this one is not the same with the cached image,\r\n\t\t * the test will fail\r\n\t\t **/\r\n\t\tawait autoShot('rotation_that_expected', app.view);\r\n\t\t\r\n\t\tconst rotation15Snapshot = await snapshot(app.view); // 1.5 rotation snapshot\r\n\t\t\r\n\t\tmyClass.updateRotation(1.6); // rotate sprite to 1.6 rotation\r\n\t\t\r\n\t\tconst rotation16Snapshot = await snapshot(app.view);\r\n\t\t\r\n\t\trotation16Snapshot.notEqual(rotation15Snapshot); // should pass\r\n\t\t\r\n\t\t/**\r\n\t\t * if the number of different pixels between rotation16Snapshot and rotation15Snapshot is below 20%,\r\n\t\t * isMatch function will make the test as passed\r\n\t\t **/\r\n\t\trotation16Snapshot.isMatch(rotation15Snapshot, 0.2);\r\n\t\t\r\n\t});\r\n});\r\n```\r\nThen using npm cmd\r\n```\r\n$ npm test\r\n```\r\nOnce you ran `npm test`, Canvest-cli will start running unit test that under `canvest` folder if files name is after `*.canvest.(js|ts)` pattern.\r\nCanvest-cli will start two node servers, to config the port you could change npm script by\r\n```javascript\r\n \"scripts\": {\r\n    ...\r\n    \"test\": \"canvest --cachePort XXX --pagePort XXX\",\r\n    ...\r\n  },\r\n```\r\n- `cachePort`: this is the port that canvest-cli using to start the node server to cache your snapshot, default is `45670`.\r\n- `pagePort`: this is the port that canvest-cli using to start the web page to run your unit test with `Mocha`, running `vite` under the hood.\r\n\r\n## Result\r\nIf some test case failed, you will see diff comparison under bottom showing in highlight red color.\r\n\r\n**One thing should notice is the diff for cached snapshot won't show up if cached snapshot has different size with current one.**\r\n\r\n<img src=\"https://raw.githubusercontent.com/TyrealGray/Canvest/master/showcase.png\">\r\n\r\n## API\r\nCanvest framework is using [`Mocha`](https://mochajs.org/) with [`Chai`](https://www.chaijs.com/) under the hood, every API Mocha had in browser, Canvest should have as well by accessing `mocha` variable but this is not recommended.\r\n\r\nYou could create file `canvest.init.js`(or `canvest.init.ts` when using `--ts`) under `./canvest` folder and doing all the setup in there.\r\n\r\n### **autoShot(name, canvas): Promise\\<void>**\r\ntake a snapshot of current canvas and cached in local, if local snapshot already exists, compare current snapshot with local one automatically\r\n\r\n- `name`: a unique name for snapshot to save under `./canvest/autoShot/(the-name-you-given).png`\r\n- `canvas`: HTML5 canvas dom element\r\n\r\n- **as long as your local snapshot doesn't get removed, `autoShot` will do the comparison instead of caching it and pass test**\r\n\r\n### **snapshot(canvas): Promise\\<snapshot Object>**\r\ntake a snapshot of current canvas\r\n\r\n- `canvas`: HTML5 canvas dom element\r\n- `snapshot Object`: return a Canvest snapshot that has 4 APIs in below\r\n    - `isEqual( otherSnapshot )`: snapshot should completely equal to `otherSnapshot`\r\n    - `notEqual( otherSnapshot )`: snapshot should not equal to `otherSnapshot`\r\n    - `isMatch( otherSnapshot, tolerance )`: snapshot could equal to `otherSnapshot` if test ignores number of tolerance percentage of pixels\r\n    - `notMatch( otherSnapshot, tolerance )`: snapshot could not equal to `otherSnapshot` even after test ignores number of tolerance percentage of pixels\r\n\r\n### **setThreshold(number): void**\r\nset global threshold for snapshot comparision, if you just want one snapshot comparision to be more tolerant, use `isMatch` or `notMatch` function with `tolerance` parameter\r\n\r\n- `number` threshold, a number that can be set to maximum `1.0`. Default is `0.05`, higher number will ignore more differences between snapshot comparision\r\n\r\n## Test Coverage\r\nCanvest will create test coverage after all test is done, you could find the `coverage.json` and/or open `index.html` under `./coverage` folder\r\n\r\n## TypeScript\r\nUsing `canvest --ts` to start testing\r\n\r\n## Integrate with CI\r\nIf you want to run with headless browser in CI, you could use `--ci` option. This will make Canvest exit when all tests are done, and add a div inside web page `<body>` with className `test_end` or `test_end_with_failed`.\r\n\r\nFor example, `canvest --ci ./canvest` will create a `canvest-test-result` folder under `./canvest` folder, any failed test will create a diff image in result folder.\r\n\r\nIf diff is a cached snapshot and it is not valid because new snapshot size is different, it will still create an empty file `failed-Name.diff.failed`.\r\n\r\n## Link\r\nCanvest example for pixi.js with TypeScript https://github.com/TyrealGray/canvest-pixi.js-example\r\n\r\nCanvest example for three.js https://github.com/TyrealGray/canvest-three.js-example\r\n\r\n## License\r\nAFL-3.0\r\n","readmeFilename":"README.md"}