{"_id":"@edward1993/img-editor","_rev":"7-a9db4c6fbe0ac6fcd5f5a1a4b4fcaba3","name":"@edward1993/img-editor","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"@edward1993/img-editor","version":"1.0.0","description":"Compact image editing library","main":"./dist/lib/imgEditor.js","bin":{"img-editor":"dist/index.js"},"scripts":{"docs":"npm run gen-docs-html && npm run gen-docs-md","deploy":"npm publish --access=public","test":"jest","test-c":"jest --coverage","build":"copyfiles -u 1 ./src/index.js dist/ && copyfiles -u 1 ./src/lib/**/* dist/","gen-docs-html":"jsdoc --configure jsdoc.json --verbose","gen-docs-md":"jsdoc2md src/lib/*.js > docs/md/api.md","predeploy":"npm run test && npm run docs && npm run build"},"repository":{"type":"git","url":"git+https://github.com/edward93/img-editor.git"},"keywords":["sharp","resize","images","image manipulation"],"author":{"name":"Edward Chopuryan"},"license":"MIT","bugs":{"url":"https://github.com/edward93/img-editor/issues"},"homepage":"https://github.com/edward93/img-editor#readme","dependencies":{"esm":"^3.2.25","fs-extra":"^10.1.0","glob":"^8.0.3","path":"^0.12.7","sharp":"^0.30.7","yargs":"^17.5.1"},"devDependencies":{"babel-jest":"^28.1.3","babel-preset-react-app":"^10.0.1","copyfiles":"^2.4.1","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","jest-watch-typeahead":"^2.0.0","jsdoc":"^3.6.11","jsdoc-to-markdown":"^7.1.1","minami":"^1.2.3"},"gitHead":"8c3c000fe30694ee09d5b4de0a3de76e7702d6a4","_id":"@edward1993/img-editor@1.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-fDV5Q3N0XU5NsT3MDwoLafM8SvV6oqNhlxHDdaR3hleEO5DFSRm7zJkgM9kz491rqSYW4cBsDkeMGBWlRW8+zg==","shasum":"80d75bb589bcd07bcd777bfb0612b576ce9a5132","tarball":"https://registry.npmjs.org/@edward1993/img-editor/-/img-editor-1.0.0.tgz","fileCount":5,"unpackedSize":16458,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHw+QBcV10imEovP+mEjHbFwug6JSskOrAdubJNdqnh8AiEAgsZT30HWUILgMKztgbUDv7U04prxjVQnw0t4xBiG978="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3gSjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbmA/+IwiK0YmcEpKOSnI/dxReiqJgcob5xv5CA3kvltqLkvNwWrOU\r\nWIgRnnqUGMM7iGRKXTKizs4Zj4aLphizPcl6un8aXK46ef6fue3fnQ7V5diG\r\nKac9E5ZYxrSjUpEMJOVI21OjDLHlbhMQOPmHnP6Qk+vRZaSclj2K+H8vNb+x\r\n9NI+ZkeaWijPLYoCKU3xaC4AzrzBLXvXnvbaQOWB/ipmhOXWmSU2eqOeS0Uc\r\nInHHkpiResbVn1pE8PN3bliPRaQWYp1PC/+K46E3AOZIq0MaeKYekDPVxEH0\r\n+QvT1GZ6z5QdfHxcw6AUciFYCeUevUWZEiDiMkyBEg4ELlt6hIzMCYZkx5yy\r\nl3rtFGPS26f1ugQ7XbHXJlKxvsD40hr116shBFTD9LKLnJairhTRs6HMS2ml\r\ndexip/gjl18TOaB6fIuGiqNykzEqo5pMWUFJswTNqrSHT1V9DBdt4aEtqV3e\r\n7hsNnSqITtKPCRmRVvS2hnwCq1vlQBGVPmMePHytxuexhG1UVilHwxYRdOqN\r\n3ahJMxNl1aNs1u6TdEcdxpUHtvP9KupI+kGwQYHG0nleUO5XNukYZH5dgMJg\r\neaMBEGxpgD8HAs9+JsOii0pfH0nSUfKAJigBNd0Ry3lKMCNH6+uGq8yFjvl3\r\nO71JbCijFjXLMIVey5hbkpa7HBCPT4ArwFc=\r\n=1OpO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edward1993","email":"edward.chopuryan@gmail.com"},"directories":{},"maintainers":[{"name":"edward1993","email":"edward.chopuryan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/img-editor_1.0.0_1658717346854_0.19356419554583892"},"_hasShrinkwrap":false},"1.0.1":{"name":"@edward1993/img-editor","version":"1.0.1","description":"Compact image editing library","main":"./dist/lib/imgEditor.js","bin":{"img-editor":"dist/index.js"},"scripts":{"docs":"npm run gen-docs-html && npm run gen-docs-md","deploy":"npm publish --access=public","test":"jest","test-c":"jest --coverage","build":"copyfiles -u 1 ./src/index.js dist/ && copyfiles -u 1 ./src/lib/**/* dist/","gen-docs-html":"jsdoc --configure jsdoc.json --verbose","gen-docs-md":"jsdoc2md src/lib/*.js > docs/md/api.md","predeploy":"npm run test && npm run docs && npm run build"},"repository":{"type":"git","url":"git+https://github.com/edward93/img-editor.git"},"keywords":["sharp","resize","images","image manipulation"],"author":{"name":"Edward Chopuryan"},"license":"MIT","bugs":{"url":"https://github.com/edward93/img-editor/issues"},"homepage":"https://github.com/edward93/img-editor#readme","dependencies":{"esm":"^3.2.25","fs-extra":"^10.1.0","glob":"^8.0.3","path":"^0.12.7","sharp":"^0.30.7","yargs":"^17.5.1"},"devDependencies":{"babel-jest":"^28.1.3","babel-preset-react-app":"^10.0.1","copyfiles":"^2.4.1","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","jest-watch-typeahead":"^2.0.0","jsdoc":"^3.6.11","jsdoc-to-markdown":"^7.1.1","minami":"^1.2.3"},"gitHead":"e54860ef05b370262301038fbaffb9128bee8e7e","_id":"@edward1993/img-editor@1.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-tXgEExa1J1UC6xkxEJGWmbcxklrZOHEqr0Qbui4Y+PfNXU6nXrsQfQGwW7/rSVhieZEnEvV3POaiZNEUQG2P4A==","shasum":"cdbc2728b85bb51ae6950d80cb9f162f72e37613","tarball":"https://registry.npmjs.org/@edward1993/img-editor/-/img-editor-1.0.1.tgz","fileCount":5,"unpackedSize":16482,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/opIDoIaDrbkQIBsPDwmNGZFFcYGlp5OtDe62lJk18AIgXCbeTEyP4BHpqgESyV76QLt+dR0VC6uMAclj6VWttLE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3gZqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqA4BAAlyWCMSMgoMHSoutK9D8eHtuhigqoWC08lZ+gyi6ePgjUikDN\r\nirhuI9jw/mwQVngPdYyq0Il46ecDncH9nYe+NuF4WjAih1kfYL8xrSk/1wuH\r\nQIYCe+rwezG8s5V9ma5MjOYolNKA/AJXlWJHe4U29wdF53jlCqXSyeykGcw8\r\nWpYh4c1ntWni4gq6GBGbfh+CyIBPrxnEKD0jyJz9PCGRsv//xaJWiBMxPGA3\r\npWna+XUtFTwmVTJsQ+kafu1NmfCW0dj28AQTuDp8mxjBXikGsbEPoGCmXZld\r\nuB/c+d4Q1WQz+WhR0UuYMa+mmVN1cfqirSiWL1rO1h07SXvmkbZ06eGhDHhJ\r\nXhwwFygLfjKLofs8A70GdF+2KlrPvLQTyXAfox60I4betBcuD7kt+bNLp0sA\r\nbNXfnz5YnW7rHzk50TmfwJVkVbqXTEVkcDhtmxEdUO5xPq8xFVBqTXn1xOtL\r\nkToTnwf2Zwlx01Q4PCjs+j/roCzZ+2f/HgCCk+gu5DXlkhqGT1xG7foV7LjI\r\ndPIsni59Xii+U4mrrrF+C5IHZMNJWqi4nb4Em0kddmzr8Q6Qd04pMOxXq7Mi\r\ntbMRnVSUT+JWXPffoMO4UGJO1A427BMUS04eZB9y0tgch/xuZl7f9sovSNm2\r\nSJ78jG4U9oDYHLW9ShmqVT9tgyM2WzEEo5o=\r\n=kK2t\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edward1993","email":"edward.chopuryan@gmail.com"},"directories":{},"maintainers":[{"name":"edward1993","email":"edward.chopuryan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/img-editor_1.0.1_1658717802609_0.5540815877865126"},"_hasShrinkwrap":false},"1.0.2":{"name":"@edward1993/img-editor","version":"1.0.2","description":"Compact image editing library","main":"./dist/lib/imgEditor.js","bin":{"img-editor":"dist/index.js"},"scripts":{"docs":"npm run gen-docs-html && npm run gen-docs-md","deploy":"npm publish --access=public","test":"jest","test-c":"jest --coverage","build":"copyfiles -u 1 ./src/index.js dist/ && copyfiles -u 1 ./src/lib/**/* dist/","gen-docs-html":"jsdoc --configure jsdoc.json --verbose","gen-docs-md":"jsdoc2md src/lib/*.js > docs/md/api.md","predeploy":"npm run test && npm run docs && npm run build"},"repository":{"type":"git","url":"git+https://github.com/edward93/img-editor.git"},"keywords":["sharp","resize","images","image manipulation"],"author":{"name":"Edward Chopuryan"},"license":"MIT","bugs":{"url":"https://github.com/edward93/img-editor/issues"},"homepage":"https://github.com/edward93/img-editor#readme","dependencies":{"esm":"^3.2.25","fs-extra":"^10.1.0","glob":"^8.0.3","path":"^0.12.7","sharp":"^0.30.7","yargs":"^17.5.1"},"devDependencies":{"babel-jest":"^28.1.3","babel-preset-react-app":"^10.0.1","copyfiles":"^2.4.1","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","jest-watch-typeahead":"^2.0.0","jsdoc":"^3.6.11","jsdoc-to-markdown":"^7.1.1","minami":"^1.2.3"},"gitHead":"77dff3b809d15ebae451e1a420b4bca826d5cf9b","_id":"@edward1993/img-editor@1.0.2","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-gQQ7dv8xNxoF0jXy02JH9F2tLvO/DrmV9gN944Vl5qwTCpn+KbLNKEi/cZ0E9xV6eaIzgugJ2/lh5EP/AALo4g==","shasum":"c2c2f5b166f19fba07c5130cb13dc367b4b2bdb6","tarball":"https://registry.npmjs.org/@edward1993/img-editor/-/img-editor-1.0.2.tgz","fileCount":5,"unpackedSize":16669,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDf3fOqA4fUbLSO/0bky0iU2c1ueTU5ZO6UtWVuSImu4AiBZGkmsomVobMwtNkBRcDtmhjXAZKM1RWSArCsbA5zftw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3grUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmow7g//QJ9RaqhJrrntvDgrc9Eeqn5qvPqcq3FuMOG8Ex0EAYPBTHoI\r\nbm1As9xyu1hDx8MwpJdCt89pSgfL+3nBsuwXYCHO2tW5mIi3ADUV1CExQStQ\r\nDuihNBFXDnOSFoRzDj3I6eG6TvWmVP50OQPbeU4Zu/BN3/xwewM0cMkPMGpx\r\na/V/cr0xs5Vr/8i0cb96KjFNVsFmwJ/b2dlHLRUY6k6OLJxnU8+Mi9v7r0hm\r\nTc5Wx7Asb+mP/Xzha5ijUEnS9liNrv3DRmj97SGsv6QqCdjZ4K89WhqtLUTC\r\npT5VD9HOJlxxZYgHYOCj+zNzmJ3kXTzKL9A6FXuvlQ7A6kQqM4OWeqGF/HmJ\r\n94A8F3rhJUOmXxCFKHLXbsvPWmMSQB+sDp41w05H6eJWqRpm7J/zCPHuWZn6\r\n5SxIYTr7FJNb7IKASEnpEdYRwZsFjZfMGgk20Yz4pcWmDq62p54mNLmGcC1I\r\nR7fSo0QLcDBAS+3qSEWuOeBMCDtQ5v3MMHLDTgIkzl9iNtIy1bQUbw64ZGDA\r\n1b9nGNGs2AprlqWZRLq4nJkxt6pZA0nCDaRU7uT9U61adFe0wT2x5jUQj8Xp\r\nbUGBe7j6G0FTIE8pxg5JEwmnQ3ADnlEWLeB+p0pmGpBA8sMcDRIulc1z9QN1\r\nqGbAQrb/j9kan6YxNKWWRE8WWGGLZI2aLZ8=\r\n=Obzu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edward1993","email":"edward.chopuryan@gmail.com"},"directories":{},"maintainers":[{"name":"edward1993","email":"edward.chopuryan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/img-editor_1.0.2_1658718932133_0.49607869318311715"},"_hasShrinkwrap":false},"1.1.0":{"name":"@edward1993/img-editor","version":"1.1.0","description":"Compact image editing library","main":"./dist/lib/imgEditor.js","bin":{"img-editor":"dist/index.js"},"scripts":{"docs":"npm run gen-docs-html && npm run gen-docs-md","deploy":"npm publish --access=public","test":"jest","test-c":"jest --coverage","build":"tsc","gen-docs-html":"jsdoc --configure jsdoc.json --verbose","gen-docs-md":"jsdoc2md src/lib/*.js > docs/md/api.md","predeploy":"npm run test && npm run build"},"repository":{"type":"git","url":"git+https://github.com/edward93/img-editor.git"},"keywords":["sharp","resize","images","image manipulation"],"author":{"name":"Edward Chopuryan"},"license":"MIT","bugs":{"url":"https://github.com/edward93/img-editor/issues"},"homepage":"https://github.com/edward93/img-editor#readme","dependencies":{"esm":"^3.2.25","fs-extra":"^10.1.0","glob":"^8.0.3","path":"^0.12.7","sharp":"^0.30.7","yargs":"^17.5.1"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/sharp":"^0.30.4","babel-jest":"^28.1.3","babel-preset-react-app":"^10.0.1","copyfiles":"^2.4.1","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","jest-watch-typeahead":"^2.0.0","jsdoc":"^3.6.11","jsdoc-to-markdown":"^7.1.1","minami":"^1.2.3","typescript":"^4.7.4"},"types":"./dist/lib/imgEditor.d.ts","gitHead":"2c614d5c73b045666be7359ad4d9b5209303f3ce","_id":"@edward1993/img-editor@1.1.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-+Tfs/JZK8VlLx8VwOPstQ92HgBlIffv4b+hDAumIgzezZ05hqzCSJejO8AKH19uPdAB4qRuolhFMc55BdP4g3Q==","shasum":"c6ea22bbda0e49ccb3da73128fd17de156adda68","tarball":"https://registry.npmjs.org/@edward1993/img-editor/-/img-editor-1.1.0.tgz","fileCount":7,"unpackedSize":27237,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAh5JLG1ALp7EkT4McxCyNq0vluFroCZRAwDgC7ahyXMAiEA4Fq1f35wFp4oPUSUsyrQB55HBcdwuwLCXSUgZ2RArAI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4LYxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoaVQ/+O5rIavQ9+WykmYbttDfrRpUpg6K8LTeegIZOV8C6vEZl0+Wj\r\nvJsZdzGWwoVOPZr1z316Yg05Snbm/iih3G1oMHrNALJroWQceQv1/r3PKPrq\r\nBnbxxQS+ABqTZmHjXR0a2mobunybjUqdE8q+catrgCPWQNSdJX6790qClFyK\r\nyxEpZRTYeSpi7ILGvvAFFKLfpelk4G33h4b2P54htcYc96ye+vkzj6sblVAU\r\n1qaHzUVi+oNl578iOldQCIq412+cCa2hjkbyIe1oH6wKE6j+Xuk43PGUFWQM\r\nzeTUnu5tFbQn7M0vo9V8Mezj8potOev+S5o59TrTe711+apGCkav7QCNx9i4\r\nQ9hkiJ7D7fzP/R4EOyJHqPOK87ZseVaBAB5kYLJlDJV68Pf4NVsb4LWFo5oA\r\nKeJVmiZHKnrL8P+6fCloMrP6nVd4V6T0ZZf3Kos7pWizJnxNc0acq8Q+mU/X\r\nqA8WDEda5SafJJjgW80BkJsnxyuhGfvpsPpmoAk61KrzP8UuIwoz4qzbSG5+\r\nFLpBvIF/J9pRnyklkeK7K5svyTb1QmggZ2ZZiy+SYwv4uqfEP19UFmLj560p\r\nAZVC4lby7wi77QV0Gx/CrA4JiqigNlUOqTbZ9eKVJpOoerfw/un/64clDc0f\r\nLTS4GTad6Mou8FRMST3wdS6/S95o6QK1dEo=\r\n=kvi3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edward1993","email":"edward.chopuryan@gmail.com"},"directories":{},"maintainers":[{"name":"edward1993","email":"edward.chopuryan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/img-editor_1.1.0_1658893873439_0.7341106041671046"},"_hasShrinkwrap":false},"1.1.1":{"name":"@edward1993/img-editor","version":"1.1.1","description":"Compact image editing library","main":"./dist/lib/imgEditor.js","bin":{"img-editor":"dist/index.js"},"scripts":{"docs":"npm run gen-docs-html && npm run gen-docs-md","deploy":"npm publish --access=public","test":"jest","test-c":"jest --coverage","build":"tsc","gen-docs-html":"jsdoc --configure jsdoc.json --verbose","gen-docs-md":"jsdoc2md src/lib/*.js > docs/md/api.md","predeploy":"npm run test && npm run build"},"repository":{"type":"git","url":"git+https://github.com/edward93/img-editor.git"},"keywords":["sharp","resize","images","image manipulation"],"author":{"name":"Edward Chopuryan"},"license":"MIT","bugs":{"url":"https://github.com/edward93/img-editor/issues"},"homepage":"https://github.com/edward93/img-editor#readme","dependencies":{"esm":"^3.2.25","fs-extra":"^10.1.0","glob":"^8.0.3","path":"^0.12.7","sharp":"^0.30.7","yargs":"^17.5.1"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/sharp":"^0.30.4","babel-jest":"^28.1.3","babel-preset-react-app":"^10.0.1","copyfiles":"^2.4.1","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","jest-watch-typeahead":"^2.0.0","jsdoc":"^3.6.11","jsdoc-to-markdown":"^7.1.1","minami":"^1.2.3","typescript":"^4.7.4"},"types":"./dist/lib/imgEditor.d.ts","gitHead":"b6e464b7e748e37c58a270ecd4c3a3f61477517e","_id":"@edward1993/img-editor@1.1.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-1BxBcTWjpIpRe266/SD8BPV4+aAX4O5BQbQFe5P4ZYRZGSq65Iu0+4f4A1x6WJEPFyczTLJbLq+xz8Lc4gti7g==","shasum":"29d4df8be8c26d1a63d8ad4129f1c790ba6d67cb","tarball":"https://registry.npmjs.org/@edward1993/img-editor/-/img-editor-1.1.1.tgz","fileCount":7,"unpackedSize":27520,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAxvpO7wVz9X3RlFTwfOMu62+Yy2ytpUMxA6atKXNP16AiAUGZfpfyU2DyfhMGOmNUVnAD6K3BpLrfVN2vN75Y6jEQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4aZoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSGA//fv6AGCsVoM8019Sju8KYnR3CNeeWQWQ2ony5G+WgucJhYsJv\r\ntO3dK//VrCqxlqNeayApmA81+NQ0oS79JaZ+nO9rEUN3GEjPjcNssiYusJxa\r\nZyBo38sLBlY9OrCEn0ekZWs4v7KPVwmFj8LRf9eifFtTPaDSOJBsSrGkL7zK\r\nclXSD4bA4DXlVSOB4T0F8pUpoBhpiWWK54do/Bx47KcEUtgbV8e81xh6qIDT\r\n8TGVhJA26wzq9CSYlvy1ByTU4hfVC5wxU1iLAM3a7k5MYVePOLKWBFu54dxz\r\nFruD6v/0BgFzZvaE22439Y+G8w0CTdsWjsjmCu0s/Bm7EzjYXcWx3D5n548d\r\nSYEiRMGLGY7yYtNSjmaz6P7JXQjKcgKzXiST9HmskV78OJBL+1YQu6lKZBB8\r\nHIOlSdc36QJwZpGI9lroaj4GJ474wKNCgaJnYApcc1eEKo8jY2Gp/CeQmowk\r\nl/tdKHqXottRXsY7kUdnIXrxEk00Tbynf37pz4832oX5ORvFAebUlnfv/i6O\r\neRs8akOE1d+Lbt5infp7nqETxGNCZGKKGkqYyGJ3dGnS7DUVfH0J3kU4X0nV\r\nF5TruMezn5L7jjgfQZeEPb+SRYf9qy9pE7JeMslydTfGaJPYoBAf6RjL/bS0\r\nQBf7Eun64JrpC2kRRkj72Uv2FIP9DvXCctU=\r\n=wzZJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edward1993","email":"edward.chopuryan@gmail.com"},"directories":{},"maintainers":[{"name":"edward1993","email":"edward.chopuryan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/img-editor_1.1.1_1658955368514_0.31230456806840956"},"_hasShrinkwrap":false},"2.0.0":{"name":"@edward1993/img-editor","version":"2.0.0","description":"Compact image editing library","main":"./dist/lib/imgEditor.js","bin":{"img-editor":"dist/index.js"},"scripts":{"docs":"npm run gen-docs-md","deploy":"npm publish --access=public","test":"jest","test-c":"jest --coverage","build":"tsc","gen-docs-md":"typedoc --options typedoc.json","predeploy":"npm run test && npm run build"},"repository":{"type":"git","url":"git+https://github.com/edward93/img-editor.git"},"keywords":["sharp","resize","images","image manipulation"],"author":{"name":"Edward Chopuryan"},"license":"MIT","bugs":{"url":"https://github.com/edward93/img-editor/issues"},"homepage":"https://github.com/edward93/img-editor#readme","dependencies":{"esm":"^3.2.25","fs-extra":"^10.1.0","glob":"^8.0.3","path":"^0.12.7","sharp":"^0.30.7","yargs":"^17.5.1"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/sharp":"^0.30.4","@types/yargs":"^17.0.10","babel-jest":"^28.1.3","babel-preset-react-app":"^10.0.1","copyfiles":"^2.4.1","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","jest-watch-typeahead":"^2.0.0","minami":"^1.2.3","typedoc":"^0.23.10","typedoc-plugin-markdown":"^3.13.4","typescript":"^4.7.4"},"types":"./dist/lib/imgEditor.d.ts","gitHead":"f828d826044600c8b8bf4dfe5adfb74feb5d214e","_id":"@edward1993/img-editor@2.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-5zAFW7QVutvTrxkFzYnoty/5QnG2cyyBJOtQYGGMdSSmxwWmuKSfs5I1ErFSeajn3bCV6vTaZJGjzay06RXhPQ==","shasum":"05508bd4ae2469d0c91cc7b794afc2208215c5a1","tarball":"https://registry.npmjs.org/@edward1993/img-editor/-/img-editor-2.0.0.tgz","fileCount":11,"unpackedSize":46107,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClrz5vF+Ih5QATmuOW9X30LCgzXghT5lm/aAkqvhOIYQIgQAHLMDerlWZS4rqjq3B6knCdQGbgUN5n9GTxmMKwlDI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6guVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5bA//bgZF59F9MI1AdKqXi5he7ZhRLXyEScHy3j2ta86whyC/aSr8\r\nod0o2+H/SUctYigbeTrHneFGVxWBdoz77cHeE5E2CycD9/O9affmqLqPgVtt\r\nQrcO2cy8CWa86zrn9UMBM4RJbhaRYGzOhm9716jve4NSOKPgTpbt0i+oSHQ7\r\nBvwvtKyzgZQi627eMJFRADIaTLTdKrkVKfyEkenf5z+qVViOdOuF3ScmZ4vT\r\n5B8yZP34x2nz1cPFM6E3xcFx1e849N3sh1F82xMNdpDdE7m6KQ6PXN1IJeKd\r\n2fvfL8MBD0aOj7+jtaPDPaTdsvrdtJf9NJMJ6OYnsy4igrjqIP4YOD5slywu\r\n4vAaqPKPG+2o2DOkPc/oQ4u2wLkIPyaIea69+VVRV+0X2jF3d0Hlsde1rEkh\r\n9s0KoGe8Yb1MhRheYN1Fk0c0psdjx2endwmMmxiDH5JlJesvtSMD5hknYgyk\r\neV0zhI2HzTJ0vRQx7RGGnn6xktQ+eyVXCzUsGOAKTkhxp2buea1tcBpaycD+\r\nP+5x81iP6BeDv4myto0ESHkU/zfyJOS9nFnfvi02fhF3nV+vZsOivvBKyw8k\r\nNQl5UZ6pk/gwpDhZJE10RxK76CWkYRSJekzzZlgGAjKLSUkV3NcghUK2UcPF\r\nw2ZoLv0OGrqWF6G+OBTqGqcQKY2iSqXOYdM=\r\n=ZpTW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edward1993","email":"edward.chopuryan@gmail.com"},"directories":{},"maintainers":[{"name":"edward1993","email":"edward.chopuryan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/img-editor_2.0.0_1659505557634_0.4629496918262268"},"_hasShrinkwrap":false},"2.0.1":{"name":"@edward1993/img-editor","version":"2.0.1","description":"Compact image editing library","main":"./dist/lib/imgEditor.js","bin":{"img-editor":"dist/index.js"},"scripts":{"docs":"npm run gen-docs-md","deploy":"npm publish --access=public","test":"jest","test-c":"jest --coverage","build":"tsc","gen-docs-md":"typedoc --options typedoc.json","predeploy":"npm run test && npm run build"},"repository":{"type":"git","url":"git+https://github.com/edward93/img-editor.git"},"keywords":["sharp","resize","images","image manipulation"],"author":{"name":"Edward Chopuryan"},"license":"MIT","bugs":{"url":"https://github.com/edward93/img-editor/issues"},"homepage":"https://github.com/edward93/img-editor#readme","dependencies":{"esm":"^3.2.25","fs-extra":"^10.1.0","glob":"^8.0.3","path":"^0.12.7","sharp":"^0.30.7","yargs":"^17.5.1"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/sharp":"^0.30.4","@types/yargs":"^17.0.10","babel-jest":"^28.1.3","babel-preset-react-app":"^10.0.1","copyfiles":"^2.4.1","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","jest-watch-typeahead":"^2.0.0","minami":"^1.2.3","typedoc":"^0.23.10","typedoc-plugin-markdown":"^3.13.4","typescript":"^4.7.4"},"types":"./dist/lib/imgEditor.d.ts","gitHead":"e497319a0486da869b340be26e0b8655130498f8","_id":"@edward1993/img-editor@2.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Gqr3S/t5SxQz/MwIgQoqeDXGXQR0inuXUlPvWeEJ7cEzdu3cmkdmfKJPT7enuvB+4e71OpyMFs27WhqgnDWBUQ==","shasum":"241df272dbf1e4b9bcb6e7562a31caa996b6dc6f","tarball":"https://registry.npmjs.org/@edward1993/img-editor/-/img-editor-2.0.1.tgz","fileCount":11,"unpackedSize":46116,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDIGtgrxr3rWinym6tO4Lzqe32ZvVdqOXpjlnCYDXQdKAiEApF7gaYfyoivoZL2LgndQCj1pE1wxM9VIiORmbFUmMY8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7MAVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRbw//S5hUqp0h2RocnFKlW5aZB29QpQYTMLctnygy5XjnpyVCxdi/\r\nXWNBrK5L2ASNN6qz1pb1eKnZJwMUnefoe9SAZDU0+5rNCES9TJBeOM2C0tuL\r\n28TMKvNKKAGjx4zCDCyXqz+xVjn0LdI983/oKOkqg/FbniWhpRRDPc31xMjR\r\narD6jXKOT0cD9gDUfHLLhFo1BPo4c731Y04qJWgbQKr6tXreqoY8EDYQiYMO\r\nG9FT7A8KrDmC9BXnevL/jrupDFwhC1Kz1FCH8nvsmqNNBMrHYpYU+W6qJYQr\r\nUdC1bgA4ffPn+KL3BNfKVFqCY0VW9ZjttgSk0Y0Mk1dJ8xRUI+1hxw6zvkpA\r\nnrGtEZr/qUP958oipc/TFq3EV4HFoBZ745a1GWsRMND+Do2StaksxsV8/Qsf\r\nuu2Bd2qAUMirBe6yJnw1oPE82FToTSfrdTQpBw2mf9wPUqUAt9Rh/rPa3rty\r\nX90ObjnME4BvylBI1lOoiAZKHmqLSUQ3tbwYFH8nouWdcns0l4Rj/Qi3rLw+\r\naHRMmJav1HbXCPXBE1v9yjgbUEWZY4QwbsFMZijRgWey4igm0Bi5jD2emPeE\r\nYBrelMxpU/DZBKk0vCdB1RQgqt8DVd9l61/+fkIK1DlEV/sMeteBZAOuyEzQ\r\nqbJ5Fgs2FPn2oBiZa06BbWbfNrkrz+kDN90=\r\n=Ax4Q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edward1993","email":"edward.chopuryan@gmail.com"},"directories":{},"maintainers":[{"name":"edward1993","email":"edward.chopuryan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/img-editor_2.0.1_1659682837298_0.04839296371544188"},"_hasShrinkwrap":false},"2.0.2":{"name":"@edward1993/img-editor","version":"2.0.2","description":"Compact image editing library","main":"./dist/lib/imgEditor.js","bin":{"img-editor":"dist/index.js"},"scripts":{"docs":"npm run gen-docs-md","deploy":"npm publish --access=public","test":"jest","test-c":"jest --coverage","build":"tsc","gen-docs-md":"typedoc --options typedoc.json","predeploy":"npm run test && npm run build"},"repository":{"type":"git","url":"git+https://github.com/edward93/img-editor.git"},"keywords":["sharp","resize","images","image manipulation"],"author":{"name":"Edward Chopuryan"},"license":"MIT","bugs":{"url":"https://github.com/edward93/img-editor/issues"},"homepage":"https://github.com/edward93/img-editor#readme","dependencies":{"esm":"^3.2.25","fs-extra":"^10.1.0","glob":"^8.0.3","path":"^0.12.7","sharp":"^0.30.7","yargs":"^17.5.1"},"devDependencies":{"@types/fs-extra":"^9.0.13","@types/sharp":"^0.30.4","@types/yargs":"^17.0.10","babel-jest":"^28.1.3","babel-preset-react-app":"^10.0.1","copyfiles":"^2.4.1","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","jest-watch-typeahead":"^2.0.0","minami":"^1.2.3","typedoc":"^0.23.10","typedoc-plugin-markdown":"^3.13.4","typescript":"^4.7.4"},"types":"./dist/lib/imgEditor.d.ts","gitHead":"832f08d84294d35be87963545b3ba9f889096b74","_id":"@edward1993/img-editor@2.0.2","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-nF/+n3TdxoKxZoG/YIfXA+UYSKkc2tEdgp/zxIocvyuyyuDi+VDfqyXPV+QWFuHkArj56JnBZ4oOPc6unxfYzw==","shasum":"f155b4555d86a6c994756f0a9dad7746788a5a09","tarball":"https://registry.npmjs.org/@edward1993/img-editor/-/img-editor-2.0.2.tgz","fileCount":11,"unpackedSize":46053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMwIfhkrLdMXy8yS9tyhtob200ZiJ3yO8V77YcuEO3GAIhAMnBKLtFcYMQn4zGOWQdJ2RmbsecbcOeDVx2DtGPOqEv"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+HAeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrxjg//d3V9EcY70M46c3qMuP7v/YcYd1PFmkWSgAGPI4Udhdt+MIC2\r\ngOx5QLbig+4R36l4vC8BoOyOO6GaAQkIvBBNcYn0RyRW+LfHMTck85cmIPnF\r\nkjaAOBWGnS9YXhPHTLVCmF1TdLCNc9QSriYghb0926aJadOTFR8gcNVzkN07\r\nB+q/LqjX4wgf2Lbn6yxf9b57EaSr35USc5SHLWV6s36ZfMaMK1EPOf3oS0oy\r\nXt0EDWBJ7FRbacTdVEtfpXavUVuwvXdavOr5AKbrh2vAr2Du/XSyb5JYhiRs\r\nSIl3WeKxRbGpXMU+mYNFaO0/5HyxgLdgSp8kHD8vPpEBICIOT8q9gDNs93sk\r\nj+Kg0dCPqO0MTDWkAOHznrEYDH4Y5GP1KaFd84Mp9v1/QA0I8zf3XmWuU+ht\r\ngdS70ws/PrXVSWacdTGqWjgz5Y2RwdPHQ+y0B14gQO9spVTey+c/WZFUxfkz\r\n3lwjt/ml9Q7GLITW2DX0E32B6A2QBuKRKVyhJjzocD51A38vRxzvL4LPCE4j\r\nI4hWtUQvcVVn5Jo7av7u6uXwu69xyjScuixm/DPl62WzjUVNoFYBhnCeogTH\r\nLahDNn2jqIDFljchxYRY3+DpgBuwPVbBgCfMrpCfEq4e9ONExuU1972A3ANL\r\npbZ4hTtOVcHybDcHCUrdUg8xwPKvnsGr0+s=\r\n=/7fm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"edward1993","email":"edward.chopuryan@gmail.com"},"directories":{},"maintainers":[{"name":"edward1993","email":"edward.chopuryan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/img-editor_2.0.2_1660448798701_0.7012027305238369"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-25T02:49:06.782Z","1.0.0":"2022-07-25T02:49:07.065Z","modified":"2022-08-14T03:46:38.924Z","1.0.1":"2022-07-25T02:56:42.742Z","1.0.2":"2022-07-25T03:15:32.293Z","1.1.0":"2022-07-27T03:51:13.611Z","1.1.1":"2022-07-27T20:56:08.644Z","2.0.0":"2022-08-03T05:45:57.880Z","2.0.1":"2022-08-05T07:00:37.503Z","2.0.2":"2022-08-14T03:46:38.845Z"},"maintainers":[{"name":"edward1993","email":"edward.chopuryan@gmail.com"}],"description":"Compact image editing library","homepage":"https://github.com/edward93/img-editor#readme","keywords":["sharp","resize","images","image manipulation"],"repository":{"type":"git","url":"git+https://github.com/edward93/img-editor.git"},"author":{"name":"Edward Chopuryan"},"bugs":{"url":"https://github.com/edward93/img-editor/issues"},"license":"MIT","readme":"# img-editor\n\n[![npm (scoped)](https://img.shields.io/npm/v/@edward1993/img-editor?style=flat-square)](https://www.npmjs.com/package/@edward1993/img-editor)\n[![Build Status](https://github.com/edward93/img-editor/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/edward93/img-editor/actions/workflows/npm-publish.yml)\n[![CI](https://github.com/edward93/img-editor/actions/workflows/ci.yml/badge.svg)](https://github.com/edward93/img-editor/actions/workflows/ci.yml)\n\n### Compact library to edit images\n\n_NOTE:_ This tool uses `sharp` for image manipulation. More info <a href=\"https://github.com/lovell/sharp\" target=\"blank\">here</a>\n\n# Table of Contents\n\n- [Announcements](#announcements)\n- [Installation](#installation)\n  - [CLI](#cli)\n  - [Module](#module)\n- [Usage](#usage)\n- [Examples](#examples)\n  - [resize](#resize)\n  - [addFrame](#addframe)\n- [Future Enhancements](#future-enhancements)\n- [Documentation](#documentation)\n- [Limitations](#limitations)\n\n## Announcements!\n\n**Buffer input** is currently supported for (`addFrame`) (v2.0.0) </br>\n**WARNING** This version contains some breaking changes.\nPlease check the [release notes](docs/releaseNotes.md) for detailed information </br>\n\n- Return objects were changed, now both functions return an [object](docs/md/modules/imgEditor_types.md#processedimagesinfo) instead of `boolean`\n- `addFrame` (`frame`) now supports buffer input. This allows to process and return buffers instead of reading from a file. This, unfortunately, only supports a single file\n\n## Installation\n\n### CLI\n\n```bash\nnpm i -g @edward1993/img-editor\n```\n\n### Module\n\n```bash\nnpm i @edward1993/img-editor\n```\n\n```js\nimport { resize } from \"@edward1993/img-editor/dist/lib/imgEditor\";\nimport { addFrame } from \"@edward1993/img-editor/dist/lib/imgEditor\";\n```\n\n## Usage\n\n```bash\n# Resize images\nimg-editor resize [options]\n\nOptions:\n      --version    Show version number                                 [boolean]\n  -f, --files      file or glob                              [string] [required]\n  -w, --width      width of the output image in pixels                  [number]\n  -g, --grayscale  Convert to grayscale               [boolean] [default: false]\n  -o, --output     Output folder                         [string] [default: \".\"]\n  -h, --help       Show help                                           [boolean]\n\nExamples:\n  img-editor resize -f ./img.png -w 25 -g\n\nCopyright 2022 - Present\n\n# Add a frame\nimg-editor frame [options]\n\nOptions:\n      --version            Show version number                         [boolean]\n  -f, --files              files or glob                     [string] [required]\n  -w, --paperWidth         printing paper width          [number] [default: \"4\"]\n      --paperHeight, --ph  printing paper height         [number] [default: \"6\"]\n  -c, --frameColor         frame color, i.e. \"#fff\"   [string] [default: \"#fff\"]\n  -o, --output             Output folder                 [string] [default: \".\"]\n  -h, --help               Show help                                   [boolean]\n\nExamples:\n  img-editor frame -f ./img.png\n\nCopyright 2022 - Present\n```\n\n## Examples\n\nCurrently there are only 2 existing functionalities `resize` and `addFrame`. </br>\n\n### resize\n\nThis function is fairly straight forward\n`resize` can be used (especially the **cli** version) to bulk resize and grayscale large datasets to prepare them for ML training.\n\n```bash\nimg-editor resize -f ./input/*.png -w 25 -g -o ./out/\n```\n\nIn this example all `.png` files will be resized to `25px` and whatever the height is going to end up being, `grayscaled` and put in `./out` folder\n\n### addFrame\n\nThis function was created mainly for one reason: to change aspect ratio of the input image. </br>\nThe reason one might want to do that, is say the picture you are trying to print doesn't fit on the printing paper, in which case you need to crop the image. </br>\nThis may lead to undesired results so the solution is to prepare the image, in a 3rd party photo editing app either by cropping it or adding a frame manually. </br>\nThis tool was made to do just that on a large set of files.\n\n#### Cli example\n\n```bash\nimg-editor frame -f ./input/*.png -w 6 --ph 4 -o ./output\n```\n\nThis will take all the `.png` files in `input` folder, add a `white` frame around them and save them to `./output` folder </br>\n**Note** It will automatically determine the aspect ratio and orientation of an input image so there is no need to worry about mixing `-w` and `-ph` options. </br>\n**Note** `-w` and `--ph` options are `unitless`, it is only used to calculate the `aspect ratio` of the output image, so you can insert your paper dimensions in `cm` or `in` </br>\n\n#### Functional example\n\n`v2.0.0` allows to pass a buffer to `addFrame` function and receive an object that contains a buffer of the final image.\n\n```js\nimport { addFrame } from \"@edward1993/img-editor/dist/lib/imgEditor\";\nimport fs from \"fs-extra\";\n\n// read file into a buffer\nconst file = await fs.readFile(\"./input.png\");\n\n// pass the buffer to process it\n// result.data[0] is the edited image\nconst result = await addFrame(file);\n\n// write to a file\nawait fs.writeFile(\"./out.png\", result.data[0]);\n\nconsole.log(result);\n/* console output\nData:  {\n  data: [\n    <Buffer ff d8 ff e1 00 bc 45 78 69 66 00 00 49 49 2a 00 08 00 00 00 06 00 12 01 03 00 01 00 00 00 01 00 00 00 1a 01 05 00 01 00 00 00 56 00 00 00 1b 01 05 00 ... 3355222 more bytes>\n  ],\n  successful: 1,\n  failed: 0,\n  errors: []\n}\n*/\n```\n\nOf course `filename` can be directly passed as well.\n\n```js\nimport { addFrame } from \"@edward1993/img-editor/dist/lib/imgEditor\";\nimport fs from \"fs-extra\";\n\n// pass the file to process it\nconst result = await addFrame(\"./input.png\");\n// new, updated file will be saved to ./edited-afr-1658894097715-input.png\n```\n\n![InputImage](/docs/media/img-demo.png)\n\n\n## Future Enhancements\n\n- Add buffer support for `resize` function\n- Add support accepting multiple buffers instead of one\n- Add ability to control the placement of the image within the frame\n- Add ability to have more control over the output file names\n\n## Documentation\n\n- API docs [here](docs/md/modules/imgEditor.md)\n- Release Notes [here](docs/releaseNotes.md)\n\n## Limitations\n\nCurrently supported image formats are **JPEG, PNG, WebP, GIF, SVG, TIFF**\n","readmeFilename":"README.md"}