{"_id":"@curtishughes/pixel-editor","_rev":"8-42c15712c4bffba5cdf785d57d3480ac","name":"@curtishughes/pixel-editor","dist-tags":{"latest":"4.0.1"},"versions":{"1.0.1":{"name":"@curtishughes/pixel-editor","version":"1.0.1","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"Curtis Hughes"},"scripts":{"build":"tsc","test":"jest --config jestconfig.json --passWithNoTests","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint && yarn format","release":"semantic-release"},"devDependencies":{"@types/jest":"^26.0.0","jest":"^26.0.1","prettier":"^2.0.5","semantic-release":"^17.0.8","ts-jest":"^26.1.0","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.9.5"},"dependencies":{},"publishConfig":{"access":"public"},"gitHead":"845f0fa78f8b385ee16eee379280bca107a83e47","description":"A web based pixel editor that utilizes the html canvas element to display pixels and handle user input. The goal of this package was provide a minimal interface to the canvas that would allow consumers to create their own tools and UI elements.","_id":"@curtishughes/pixel-editor@1.0.1","_nodeVersion":"12.18.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-KorT1jHJgjRim1EOzOAJByfvaI8tcJ1AVJEA+7+v4SFjeKb3pgEW+UkvVjrlT3CF0uzrGcQUBuwmihEAkr6bcg==","shasum":"83b96a592db4b6f9674d166da65e1112a8798a55","tarball":"https://registry.npmjs.org/@curtishughes/pixel-editor/-/pixel-editor-1.0.1.tgz","fileCount":22,"unpackedSize":13968,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7DvCCRA9TVsSAnZWagAAHoEP/1nPmJeqnRVdglg027bO\nqrmBsmvWtYlKxSx6R8W7dhcJL0rwGb7gb50IWcaFdC10oMrP28tawU9If+X1\ncQ3pM2A6HgV/y5THEAG+Xem8OeSOjn45//Tdk0G0FQs2IiIJCYehD7Da7ydV\nWmMHEJlRX1mebD/HxkA0bGJYdnz7pXLLwlFMNkRBV3RZdeTB5ldQHSHygzfC\nP6f9872Ll4zm3dnbOqM9p7qsYoHCMloNPG3XHGijdKGQYvzJSZjA5H8hscSV\n2/co3uemn6EqVDSb7StFX/qB4yCwf+q5XceCq18wMKh3AEL0idmGsrdJcEW8\nBq0hBuG8rnh8gnFmqmDFA5nCPt9B2WnBQVI3h3/4np2Urp7rolXbp1jtCpXQ\nqRXDFTPu2k/ByWf/AlKEPC09V9M+DtrS4cluUjt9DSMdhlY8PlQje0bosorP\nxSJ13Nw8C8xEoTSuchuFiF1OngfSLkNklEy7GCws1/Q5AmUmmCjuyOfT7XV4\nj8B8mPC4NAMsZiCDRfM2qgwobWp+qO73wvdtylGbSrEmeEemIZvfFLBT9Xos\nFVVh17AkjcxC3NRDBjq3+GaFvf/srof6DjnbMBxEgKIU90Pi6ol7mE8b4K85\n5WaHKDLaZWKqTh1iV9ffxxqz4jQF6AooqWB/e/6EGOfhLm/BJk1o68/kovMY\nfCfs\r\n=dHrx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjX59D8LegXlk8U0Nqq7o29O1EOb02z3/2gbw0eZ5XZAiAfO2Jyb5E7Czy7GfkyudCUGXkLhdZiDb5Jb5JeXkwykg=="}]},"maintainers":[{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"}],"_npmUser":{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixel-editor_1.0.1_1592540098376_0.28607616958897264"},"_hasShrinkwrap":false},"1.0.0":{"name":"@curtishughes/pixel-editor","version":"1.0.0","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"Curtis Hughes"},"scripts":{"build":"tsc","test":"jest --config jestconfig.json --passWithNoTests","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint && yarn format","release":"semantic-release"},"devDependencies":{"@types/jest":"^26.0.0","jest":"^26.0.1","prettier":"^2.0.5","semantic-release":"^17.0.8","ts-jest":"^26.1.0","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.9.5"},"publishConfig":{"access":"public"},"gitHead":"9381e0eb22dce3a07842b63fd200e3d2a988080a","description":"A web based pixel editor that utilizes the html canvas element to display pixels and handle user input. The goal of this package was provide a minimal interface to the canvas that would allow consumers to create their own tools and UI elements.","_id":"@curtishughes/pixel-editor@1.0.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Qqyd5+gTK2Vb7U0Ag1rwtj3yfN3i2o594NlmxbWLctDKd/jtY9gOHtvcX5w/hC8WVWKwJS2qNfH2u8QQWT8L3w==","shasum":"bd66d3d304a7c4e4c64b14342fe001df80752630","tarball":"https://registry.npmjs.org/@curtishughes/pixel-editor/-/pixel-editor-1.0.0.tgz","fileCount":22,"unpackedSize":14018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7RO8CRA9TVsSAnZWagAAQRgP/Rs33Um0uAZxXUf4/wiW\nST36TcSSArAE62V9GI9ut5gR7uwlpwHi6xljr2C1N8DK/ol7JIwPfyOq6yOP\nCYlF7q2vnEq6XgAnodEpEr3lXoNkmdyzLRotcPwCT2UDXKRGyrE6ZMXFQ4ep\n3/raZkFtPAJjtWz+YeGTRJZ4/nr56DWA9R2rFAGgq1R+fPpeMkARx4y8Fn7D\ndte6jlc/yOST59IfXxomPYoWG1nkdKf9vgkuHW7kfPxmhg9pxPDchKTpMdrb\nyx7cGDS9akTJpKuukUSBcl+5D+n4j43GyYe0Uf8hAKpybcxGR5W/PJhap1m3\njGSktsyXsVldsMpyOttc877mLx1dMNIkhE9oagDY1tEBw26FxDxpHU2m1Qsl\n9eUbcXfu0vSpLLiym2EEnUFw7ESPfO8o/6zOkgnYFiSi6cJAurMHtO6uPjAB\nyzfGJ+RqAUS0wJAPN9bC4AquxQiWP8S+z23A+6TNrzHnrY+5E6QvjSZBGDVU\nYu7HpQA82xILKgxICeRI+SekcaB8p7mrd3f6zw4xKyHon2Pck3qMJdy4Jjka\nj91JSkDVij//Na3xUoa9DujnPNAxkB1/SeUVGWXd8d0IZ9ZRzjij8xIJn2O4\nsxwdo4+OrCyXfsJcLXDzFtys+FtBtpn8cECRJ+M9+3UHWJirgGesI81APcPr\nzEY4\r\n=JaNo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPTRusxf8rcanhuJFcqbtPiGfoB4r2YudJbyaBi19M4gIgJOGD48fVC4BTZDNvrN05iI2oIBv2yj9IRFx2971YfHU="}]},"maintainers":[{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"}],"_npmUser":{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixel-editor_1.0.0_1592595386955_0.17333167016991924"},"_hasShrinkwrap":false},"1.1.0":{"name":"@curtishughes/pixel-editor","version":"1.1.0","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"Curtis Hughes"},"scripts":{"build":"tsc","test":"jest --config jestconfig.json --passWithNoTests","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint && yarn format","release":"semantic-release"},"devDependencies":{"@types/jest":"^26.0.0","jest":"^26.0.1","prettier":"^2.0.5","semantic-release":"^17.0.8","ts-jest":"^26.1.0","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.9.5"},"publishConfig":{"access":"public"},"gitHead":"eafce1d7fd9d4e77e530734d470a6cb5cf93a215","description":"A web based pixel editor that utilizes the html canvas element to display pixels and handle user input. The goal of this package was provide a minimal interface to the canvas that would allow consumers to create their own tools and UI elements.","_id":"@curtishughes/pixel-editor@1.1.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-oXQvikG8mWQIu8HemQhNKyBpNc2bL+4jhE0b/2TdnrZyMhe5f6kmf+BJ5AEZKbhYpxhpQC1FjjEJWs1Ji/1GRg==","shasum":"22422130a926b87bcec24c5696fbecf7c9d05985","tarball":"https://registry.npmjs.org/@curtishughes/pixel-editor/-/pixel-editor-1.1.0.tgz","fileCount":24,"unpackedSize":15193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7RvxCRA9TVsSAnZWagAAEukP/2jWo8X3JFSLqCmPUibm\nJl6xPNqCqntKJLpYO9cffKLt658UsUfuPkWTgTc1mr+kdjmpPfG+4pGftqCB\nYbgVRQmTmu/1wOhZG8VN5AyrLGJ9lBen2OFWZrr9opTm6XtpqYJQoP7Z4hSA\nkGHlRXZj3frDKivvGa6G5j3ZJlFQBu6DubWu6f4eRQI2YBq17DH07guZ7fod\nOCYZVnI/BuWOnSAMLWHyIgv1r80yc2klBlDigNtv7IXt9guAGqFTwBTACGeC\nQG6M3ftyaVpF5YBDJybnsqgSbLPePcLWLPiH5bm+3Q5Lc6vvfiXQXBxuhC9H\nTFZSAcFptcmPRieTQEGZwssW5ALsgzWuV/2d105oUzuCjK1O9N5iBPKgNXOu\n26PWdbuR8UJLlLVGmrtthctK3BmOd7Eki9nYDLdhmPV6ruQPd0RR0vwn7iXB\nxiqLqRnDHJf5+uBv3P0zbNIK3tjgqcgMyTmtkr2HGRRdanImNg/LQbP5Zu8L\nS0RDC4SOsoDoOfQNodHOlwJkGE2c3Sjf4NyP80f7+1auMR796+gH0lBkA1yI\njUGNrME09bxCn4haMxFQS3Mtm7knRBm6/osexx9ZX3oMCSgtDS78WowxtraM\n0u//A9oKFxhmF0CnMAen54etLUwW6BgT8U7pdoH7j56Mv+s3BimFa1IydilD\ndia3\r\n=G6Cf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAo3ERrg+0NQ4tbiEFa60jH9o5eNwIhTNKshLeqWCI02AiEA1YtfSKtRu3cks0onB5JY6c3cX1rJAXUoNp0wo5Cj4FI="}]},"maintainers":[{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"}],"_npmUser":{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixel-editor_1.1.0_1592597489327_0.562773792439929"},"_hasShrinkwrap":false},"2.0.0":{"name":"@curtishughes/pixel-editor","version":"2.0.0","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"Curtis Hughes"},"scripts":{"build":"tsc","watch":"tsc -w","test":"jest --config jestconfig.json --passWithNoTests","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint && yarn format","release":"semantic-release"},"devDependencies":{"@types/jest":"^26.0.0","jest":"^26.0.1","prettier":"^2.0.5","semantic-release":"^17.0.8","ts-jest":"^26.1.0","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.9.5"},"publishConfig":{"access":"public"},"gitHead":"d1807d7a159ede8e31cb5e3b54db2fea7dbf0bca","description":"A web based pixel editor that utilizes the html canvas element to display pixels and handle user input. The goal of this package was provide a minimal interface to the canvas that would allow consumers to create their own tools and UI elements.","_id":"@curtishughes/pixel-editor@2.0.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-xMbFJw8x4bLC+C1Ggh8RF7/054sTNVhDyVAm33xywhLMxJ+uIZ3+PJpdszBpS/vfyBjAiEFqbxzAaZ6lLQRH5A==","shasum":"f40e9ba1ef3acd1df3f55881250fc1b80a58a0d0","tarball":"https://registry.npmjs.org/@curtishughes/pixel-editor/-/pixel-editor-2.0.0.tgz","fileCount":24,"unpackedSize":17013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7njwCRA9TVsSAnZWagAA4YAP/2Ll2gCxTqSz17d8axtk\nXFXhPx2dIrX1EugcSKMeQoTELIrWEhnRzv/HNIUSQfGM6tK81Jvn65WpxCor\ntTAigU3inI9ZU/PNq0vpgfAATrY2paLWej3/IqZJBh2L8K2YzfAZHsIBQQHi\nMlOp0GAGGzg59paAl8oyoKN8IgKQqHQ+S+auieow31nkrbu3Z886enl28fGS\nUyP+1r+htb7OYAOOW1pw6gj0XfTL1avaOQmLSUctANVdgUGpPMCCyqPrAuzX\nCHzyTNi6lk8YsYxlHa2iI164XdqOQxQS6aerK4/GSSsoqtTZFuVq7XlA5rGY\nI3n22t68e7WdIRq2PFoUJIylNU/ci2wBT1A9FygeDb5VTQv55DoNmwS4+wsr\nyCaZtBLbx/ecvKvH1g50hIvUAYcWHC/+OeZCiYgulpbPFLT83wEqI94f/F/l\n3sSsPv7rg45tyOdXqnG1vjafuJr12611yIiM/TEzfi9pMRUOu4iAZkRvPwkc\nAx+7G0GIjtZDQhzvilt37QEFHJaiqJv6WKvCuovrTeqxn24kBh8Wg13aM1Rn\nsl+uFGPeZZyb1odUjew99beuva2PXBF912BcM5U/B9pwYgv6kBwGSA6MSRNf\nvGmqf83jSBiyddCuzqT6JrvwyXs1UsnILQTMyIvynre3x4WvbHByJrdn+ZOB\noD4W\r\n=XRz1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG1MWQVvozOJ78riAmRlc3yLzrPNRsGN2EKg3ZqrlsZ5AiAZAJuYwwSTVEMqum6ZOv4JHH0dzWqGVhGd/SBmt+up0w=="}]},"maintainers":[{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"}],"_npmUser":{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixel-editor_2.0.0_1592686831889_0.18817041265161505"},"_hasShrinkwrap":false},"2.1.0":{"name":"@curtishughes/pixel-editor","version":"2.1.0","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"Curtis Hughes"},"scripts":{"build":"tsc","watch":"tsc -w","test":"jest --config jestconfig.json --passWithNoTests","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint && yarn format","release":"semantic-release"},"devDependencies":{"@types/jest":"^26.0.0","jest":"^26.0.1","prettier":"^2.0.5","semantic-release":"^17.0.8","ts-jest":"^26.1.0","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.9.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/CurtisHughes/pixel-editor.git"},"keywords":["pixel art","pixel editor","pixel","editor","tools","draw","web","canvas","mobile","browser"],"gitHead":"6564e37aa4d5d615cdd408e0ba250274414d6fd0","description":"A web based pixel editor that utilizes the html canvas element to display pixels and handle user input. The goal of this package was provide a minimal interface to the canvas that would allow consumers to create their own tools and UI elements.","bugs":{"url":"https://github.com/CurtisHughes/pixel-editor/issues"},"homepage":"https://github.com/CurtisHughes/pixel-editor#readme","_id":"@curtishughes/pixel-editor@2.1.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-vnN3+OuC7iHW3xAgb1LGB5MD/dme6I9yjtznpQGrh/h8K5U6mZ1wWqULAC1DzaZLrRwo7WzdUUGTZe1P5FjU+Q==","shasum":"124a3c2cf8d95691f7668cf80fae46d3760ad7eb","tarball":"https://registry.npmjs.org/@curtishughes/pixel-editor/-/pixel-editor-2.1.0.tgz","fileCount":24,"unpackedSize":18008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe76ZOCRA9TVsSAnZWagAADccP/iB9LW0gKCOmoC7lFZjt\nH6IcWqsyBInvqOv0NdlO1TWRVERgMpkwYfoVZtStXIxH+Lnb8DWR//aH+hYF\n7ctJ3V2boA/MIsObRNtd2o6wAN5OtUysDiB2ujlSjgu3ySKEF+1HeE0hlsky\nxVnkHPLcr+Gd+hX53Gdf8lzl1Ad4VCshvjsidI4MVnTRFWZfqmJZ3SgF2TX7\ns7hUZip7O/QezPbmWkKp+ugZp7g5+SBLUAG+gy3NP15EkBO89K+D8x/SNUZB\nh9Sd80moSvXnwjf5X0ShM8+7i8QBrXXspbUBJFLqrODnkZMY2VZhfeFuacR2\nZR0B1EXcRxnD/weaOlYI2BW2LrzB53Oe6boRxuVKBOx9jZ9OaKBQC8BBT8Ey\nWXZkH0dq6eMsK/iTGlq2zsSD9xr8bgphPWxp/xo3pGS5i1QJVofGaBdGFzzl\n/fBZbqpye8FDHuM8BAZtNt05WuL7UwA2Hw70eH7JI0dd6CVXLQpD2wTO4EiQ\naEPL9QifAsosdaEiCiv9fvOvZdu9tOeqTkhh3V462wKYEWgEF9hSuefj1ftG\nKmRDBqFAhnSmpdpDFkTcVIwvTZ85uAF9jUi2QjqLRRSqF7eCkZgUl5Owc7f6\n9FlioUZab4C0Vhxs+2d6NrFHHLYxFh2p2hT2kDAB200HmwLtMTjxQ3oSzFK4\n+U05\r\n=PVw5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDT6/ysV0TURdLsUESXqceAVjUw9+Vwm17TUQanL4CmGgIgLYayWCUWVHyExLU7J+4cU9rysKwSx59aiizjId7X+T8="}]},"maintainers":[{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"}],"_npmUser":{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixel-editor_2.1.0_1592763981484_0.6869727270822272"},"_hasShrinkwrap":false},"3.0.0":{"name":"@curtishughes/pixel-editor","version":"3.0.0","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"Curtis Hughes"},"scripts":{"build":"tsc","watch":"tsc -w","test":"jest --config jestconfig.json --passWithNoTests","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint && yarn format","release":"semantic-release"},"devDependencies":{"@types/jest":"^26.0.0","jest":"^26.0.1","prettier":"^2.0.5","semantic-release":"^17.0.8","ts-jest":"^26.1.0","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.9.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/CurtisHughes/pixel-editor.git"},"keywords":["pixel art","pixel editor","pixel","editor","tools","draw","web","canvas","mobile","browser"],"gitHead":"2aa1b4a31c0b604fcabdffc7661b8c6aaa482187","description":"A web based pixel editor that utilizes the html canvas element to display pixels and handle user input. The goal of this package was provide a minimal interface to the canvas that would allow consumers to create their own tools and UI elements.","bugs":{"url":"https://github.com/CurtisHughes/pixel-editor/issues"},"homepage":"https://github.com/CurtisHughes/pixel-editor#readme","_id":"@curtishughes/pixel-editor@3.0.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-KgT4ICIy8vGCFjrInkpQ1xB6ou/DOpus/Nb9BCpcUScyWRiFozjj54V9nxoA8vSumQ4X/zVy0oZIfz8E57KGqg==","shasum":"f44f983a864c3bdc3caf0d9783bd0c97d6cdfe40","tarball":"https://registry.npmjs.org/@curtishughes/pixel-editor/-/pixel-editor-3.0.0.tgz","fileCount":24,"unpackedSize":18346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe792aCRA9TVsSAnZWagAAziIQAJRTVZ8BiPLA8Kxinn/Q\nAfOAgXG4foSENZhH8W7PusI4bC4DYFX2nJIpx1SsZdOawps8iPQN2QZt2qtq\n4C7bDbbCFLDAHaw1HufNG7ipuHJdpt5kudcuKtxx/3WEHE2BnFfDXjCAIVOm\nzYA2DxFBWCsMig8YyI6XOtjir87BAAZtCkQyfWucXU3nAOeGgZk9TiTdwEPm\n3y6DM5oanfO3TRGb78RvPJaNYnKcI6Iw9V2gsZkbm1nGuUWcqZwXbxsa0erK\nKSWfhv/aTmak5G7eGzYxhMlNTW1/4R6sosMIMxyUuwVu1CxDy31JrQmhbmKu\nxZ0SRDCZguNHrMztWhjLr1ibw95rtetXbkgHKyasyLUu9HwSDj+wfyxYChGs\nzEZOxhKKRZOMeE/sHQBXyHEosh9FmpWa2McjKx9wnw957IAEv9BH97J1tI7m\napqzoq3UFsDd66WHllrgJ4ZzXJRa+38AeIYFlXCRd5j+REUy1/lzGnHJsGx2\n8z4ITFyQ4L3UGinjphySU52XCgi5elQBf65+mMzUcwO6ZlgvzP8zBwRAW8zm\n8F1wGOfZ4im/JRmZShUAjgm5icy25cBi8gYyg1OtyfaKBCQ6zw7ZCt11QBXe\nMzi8DUQ/zxq3qecvZR/P5fl1pLagXgu1V1bEFM0V3FA4veiNbcZKPTgiGeg6\nyjBy\r\n=W5di\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNUMDvYnjgV52MMyRTU477B6x76H+WZzuiuWnUsLwldwIhAMP2fRuxyUupW7V8+iw3LM7uGQRAc8m7TbSTyYzuSW1a"}]},"maintainers":[{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"}],"_npmUser":{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixel-editor_3.0.0_1592778138339_0.008984269521681298"},"_hasShrinkwrap":false},"4.0.0":{"name":"@curtishughes/pixel-editor","version":"4.0.0","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"Curtis Hughes"},"scripts":{"build":"tsc","watch":"tsc -w","test":"jest --config jestconfig.json --passWithNoTests","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint && yarn format","release":"semantic-release"},"devDependencies":{"@types/jest":"^26.0.0","jest":"^26.0.1","prettier":"^2.0.5","semantic-release":"^17.0.8","ts-jest":"^26.1.0","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.9.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/CurtisHughes/pixel-editor.git"},"keywords":["pixel art","pixel editor","pixel","editor","tools","draw","web","canvas","mobile","browser"],"gitHead":"0e87e93e86391a5a2813ae131816746fa0f91525","description":"A web based pixel editor that utilizes the html canvas element to display pixels and handle user input. The goal of this package was provide a minimal interface to the canvas that would allow consumers to create their own tools and UI elements.","bugs":{"url":"https://github.com/CurtisHughes/pixel-editor/issues"},"homepage":"https://github.com/CurtisHughes/pixel-editor#readme","_id":"@curtishughes/pixel-editor@4.0.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-H/Zjotbo3o4kdjmsygNhpjbovVFdRFZqABlNsNuZFmmBCnJw4c/mkXmXumx/t1nrsU99caefM6XybqdPKGzqOw==","shasum":"ef56c206e7ad115a0b0b1a9c6a9aec8d04fc5df1","tarball":"https://registry.npmjs.org/@curtishughes/pixel-editor/-/pixel-editor-4.0.0.tgz","fileCount":26,"unpackedSize":18763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+OZoCRA9TVsSAnZWagAAHpkP/2C6gi4JxLvbcvUcnPxG\nwWxwwywzF2I9WiM7jTLA8ev6FItbIrJhbcORYSYNW0LMqCQ4hWOt6raq7t16\nxBziF3b9IcTm20iFXvZ6+rPR9+T0WtY/uQ51k5PQIHWv8nYUxx8VEd/WMhfT\nmUVbb03n7JGhKLwpKCI8lziSoaL5HCrmcwgioL+hxbcR1M9RYNP3dhncs1+g\nd3nFN5fKPkt87AC4hC/RD4ZY03RIBnUrnvVU4kS/T39GGCgVMG/p91bQfYPy\n7HNBPxeXONZOAKD7jdgrPuDn8/NNTYjbIVCbrKXEztLK0GV8CqF08P/Qg8QA\nDSXKJdvLLEstJJwCfX0k5F6iY5zL3naWKUjJp0k/r6uXblqifWLRvo/22CDx\nW+1dV2rNc7ORIK0W2B+yMhiWyWr7E2Ldi5ufsQBzLvP7u92Z09n/Bjm04AOQ\nXU53zZ3n9TVqeu5+9KNeqNqxdenbsGZKLxGsBnhUBzcRygF4ZF+oauCZd1wu\nDVX/qKLptxf4029W3st+XbRldJ+H4fzbH/DDu+KlKxK7vyOLAT7zRHgFF+eK\nFbVt8ubnfPF5n17DN9ce+NRcjyhoBtE/69dwHYKykeKLyb6Eu5ZaoZLxft8E\nlLeIApOSOYGB66H4waCIp6AV/xkTUTbEKnEhTTtp14HesBqrwR1SZ94oqw4c\nPwjZ\r\n=juGx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAalbZ6/nq2HnSnqPKSDNesKPHr9m4VWd/f/criCQsysAiEAkV0/ymO3w8loXyZ57kKmV0m1ApNy3cNCXJIVrNse/p8="}]},"maintainers":[{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"}],"_npmUser":{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixel-editor_4.0.0_1593370215968_0.857153650474459"},"_hasShrinkwrap":false},"4.0.1":{"name":"@curtishughes/pixel-editor","version":"4.0.1","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"Curtis Hughes"},"scripts":{"build":"tsc","watch":"tsc -w","test":"jest --config jestconfig.json --passWithNoTests","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint && yarn format","release":"semantic-release"},"devDependencies":{"@types/jest":"^26.0.0","jest":"^26.0.1","prettier":"^2.0.5","semantic-release":"^17.0.8","ts-jest":"^26.1.0","tslint":"^6.1.2","tslint-config-prettier":"^1.18.0","typescript":"^3.9.5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/CurtisHughes/pixel-editor.git"},"keywords":["pixel art","pixel editor","pixel","editor","tools","draw","web","canvas","mobile","browser"],"gitHead":"224da5cb9758f69907940ed668212f569fbcb181","description":"A web based pixel editor that utilizes the html canvas element to display pixels and handle user input. The goal of this package was provide a minimal interface to the canvas that would allow consumers to create their own tools and UI elements.","bugs":{"url":"https://github.com/CurtisHughes/pixel-editor/issues"},"homepage":"https://github.com/CurtisHughes/pixel-editor#readme","_id":"@curtishughes/pixel-editor@4.0.1","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-y9Ntl+Z/FonWEFxdEAVXH1D+iU9QorH4AckM4ZuYfyWiKoxsLZf6E+dJwwuIAi6gEyKueFcYgDjlU1QAjJu9sA==","shasum":"a7f43f4127daf5976efca4371e8d877edd40328f","tarball":"https://registry.npmjs.org/@curtishughes/pixel-editor/-/pixel-editor-4.0.1.tgz","fileCount":26,"unpackedSize":18694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+T9cCRA9TVsSAnZWagAAo2QP/Av6oTckArEAIvwdS0tn\nhDhzwfhzy4V6/91yrZ+v2XOzrUaA6oI+/2s4HyWYMe7CP3aTszZCsMd8J0g0\nra8BFsMxandXVm9GBMNecEkmFn7k2yGoKYhkdoHnHH8+h+8oVAtTDXOrkhFp\nNknFiOgGGh7gi8AEXeV9/wWepZhyN6LO8Z0bneYg6bK/qi5+03yRt0gGVvwc\nyUsZp7llQ9Lx6ER+xqWzmBVk36en6q1J7Ve5VDdl+d9VV6Q4mUQtkXTl3VrC\nywnxaZ36r4RJNTJDrKzAtjekgrDAVSZL+tuGWFvtRLLHilitWGbCDB+3EtD/\nephiQAS4c4YspiEYtcznUsyNz970xcyhxs5Mljr8ecV7HYnqMv9m8Lq/kzCs\n8SiCMfpmX9glb0ydK62UHXug//AAHlajVhfyYumjctWtO83Sr3XqQfZ/oFam\neksjzcwWM2WjaKykDogUdx/CSaw0ZkPb3nOeWalnUYJy1wYXfMEZ9Olai92i\n6hL793zSFYG9hKKiqhmTqH1kNJwlgTNUPKlc2P2XMEKEUR8nPOXEc23s1/tu\nfPU4hdyEpGo6bzSWI1cr3kZfhTqpFuzqyTuGxpnAUMiBjZLQimHn6b3sjvkB\nk7cMsWlDUAy+vbC/x2ABSr0Iu1jrH7FpGX54JsVzSJunQMhg+p44bnQ8uESt\n3zgc\r\n=gAow\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF4KRbh/YD7KVjwj56asBJ+rGU09ZAX73VIhyf5k3T4yAiEA1rEdfdFjnDDkUVWcNvYai884tWFtrmueAoRSR7DJvIE="}]},"maintainers":[{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"}],"_npmUser":{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pixel-editor_4.0.1_1593392988403_0.07827078444877933"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-19T04:14:58.320Z","1.0.1":"2020-06-19T04:14:58.528Z","modified":"2022-04-05T02:20:46.227Z","1.0.0":"2020-06-19T19:36:27.085Z","1.1.0":"2020-06-19T20:11:29.422Z","2.0.0":"2020-06-20T21:00:32.032Z","2.1.0":"2020-06-21T18:26:21.646Z","3.0.0":"2020-06-21T22:22:18.435Z","4.0.0":"2020-06-28T18:50:16.081Z","4.0.1":"2020-06-29T01:09:48.513Z"},"maintainers":[{"name":"curtishughes","email":"development.curtis.hughes@gmail.com"}],"description":"A web based pixel editor that utilizes the html canvas element to display pixels and handle user input. The goal of this package was provide a minimal interface to the canvas that would allow consumers to create their own tools and UI elements.","author":{"name":"Curtis Hughes"},"license":"MIT","readme":"# Pixel Editor\nA web based pixel editor that utilizes the html canvas element to display pixels and handle user input. The goal of this package was provide a minimal interface to the canvas that would allow consumers to create their own tools and UI elements.\n\n## Features\n* Configurable width and height\n* Undo/Redo/Clear\n* Mobile/Desktop event handling and pointer positions\n* Custom UI/tool compatibility\n\n## Default Tool Set\nEven though the editor implementation empowers the consumer to create their own tools, the project has included some default tools:\n* Pencil\n* Rectangle\n* Line\n\n## Installation\n```\nyarn add @curtishughes/pixel-editor\n```\n\n```\nnpm install @curtishughes/pixel-editor\n```\n\n## Usage\n*Pixel Editor* is not coupled with any specific framework. However, I have included some examples of how it can be used with a few of the popular frontend frameworks:\n\n### React\n```tsx\nimport React, { useRef, useEffect, useState } from 'react';\nimport { PixelEditor, Pencil } from '@curtishughes/pixel-editor';\n\nfunction App() {\n  const editorRef = useRef<HTMLCanvasElement>(null);\n  const [editor, setEditor] = useState<PixelEditor>();\n\n  useEffect(() => {\n    if (editorRef.current) {\n      setEditor(new PixelEditor(editorRef.current, 64, 64, new Pencil('black')));\n    }\n  }, []);\n\n  return (\n    <>\n      <canvas ref={editorRef} />\n      <button onClick={() => { if (editor) editor.tool = new Pencil() }}>Eraser</button>\n      <button onClick={() => { if (editor) editor.tool = new Pencil('black') }}>Pencil</button>\n      <button onClick={() => { if (editor) editor.undo() }}>Undo</button>\n      <button onClick={() => { if (editor) editor.redo() }}>Redo</button>\n    </>\n  );\n}\n\nexport default App;\n```\n\n### Vue\n```vue\n<template>\n  <div>\n    <canvas ref=\"editor\" />\n    <button @click=\"editor.tool = eraser\">Eraser</button>\n    <button @click=\"editor.tool = pencil\">Pencil</button>\n    <button @click=\"() => editor.undo()\">Undo</button>\n    <button @click=\"() => editor.redo()\">Redo</button>\n  </div>\n</template>\n\n<script lang=\"ts\">\nimport { Component, Vue } from 'vue-property-decorator';\nimport { PixelEditor, Pencil } from '@curtishughes/pixel-editor';\n\n@Component\nexport default class Editor extends Vue {\n  private editor!: PixelEditor;\n\n  private pencil = new Pencil('black');\n\n  private eraser = new Pencil();\n\n  mounted() {\n    const canvas = this.$refs.editor as HTMLCanvasElement;\n    this.editor = new PixelEditor(canvas, 64, 64, this.pencil);\n  }\n}\n</script>\n```\n\n## Creating Custom Tools\nCustom tools will need to implement the `Tool` interface in order to handle user events:\n```typescript\nexport interface Tool {\n  handlePointerDown: (position: Point, editor: PixelEditor) => void;\n  handlePointerMove: (position: Point, editor: PixelEditor) => void;\n  handlePointerUp: (position: Point, editor: PixelEditor) => void;\n}\n```\n\nOnce implemented, a custom tool can be used by assigning the editor's `tool` property to an instance of the custom tool:\n```typescript\neditor.tool = new CustomTool();\n```\n\nPlease refer to the default tool implementations for specific examples: [Pencil](src/tools/Pencil), [Rectangle](src/tools/Rectangle), [Line](src/tools/Line)\n","readmeFilename":"README.md","homepage":"https://github.com/CurtisHughes/pixel-editor#readme","keywords":["pixel art","pixel editor","pixel","editor","tools","draw","web","canvas","mobile","browser"],"repository":{"type":"git","url":"git+https://github.com/CurtisHughes/pixel-editor.git"},"bugs":{"url":"https://github.com/CurtisHughes/pixel-editor/issues"}}