{"_id":"@dhemeira/convert-image","_rev":"9-37081abff90bd2d4a36b45e2ca55dbbc","name":"@dhemeira/convert-image","description":"An npm package to mass convert image files to .webp or resize them.","dist-tags":{"latest":"1.5.5"},"versions":{"1.2.1":{"name":"@dhemeira/convert-image","version":"1.2.1","keywords":[],"author":{"url":"https://github.com/dhemeira","name":"dhemeira"},"license":"MIT","_id":"@dhemeira/convert-image@1.2.1","maintainers":[{"name":"dhemeira","email":"peterlakics2@gmail.com"}],"homepage":"https://github.com/dhemeira/convert-image#readme","bugs":{"url":"https://github.com/dhemeira/convert-image/issues"},"bin":{"convert-image":"index.js"},"dist":{"shasum":"20ca1fbe0cefa13a34941fdc76bce0f03fc30afd","tarball":"https://registry.npmjs.org/@dhemeira/convert-image/-/convert-image-1.2.1.tgz","fileCount":7,"integrity":"sha512-kgAB/st4oyLTFme6OTF/JPS+GWOujtD/pa6blgBMezjHfvzfWQU7n2uBVUSKgrZQv03I7YXS491OOFhkbVG0Xg==","signatures":[{"sig":"MEUCIB3ENSyoXgtYDNtis2JSbCPwz2NmPtWGD80PrR4J4bKaAiEA+XE8JZzmZkTCPNl7XlaDK7zmG47VLyRbO3s95ckpWXs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12031},"main":"index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"bee86ce03b6d312daf6b3bf6c972ad05ac2fb71b","scripts":{"test":"echo \"Error: no test specified\" && exit 0","commit":"cz","format":"prettier --write ."},"_npmUser":{"name":"dhemeira","email":"peterlakics2@gmail.com"},"repository":{"url":"git+https://github.com/dhemeira/convert-image.git","type":"git"},"_npmVersion":"9.8.1","description":"An npm package to mass convert .jpg and .png files to .webp or resize them.","directories":{},"_nodeVersion":"18.14.0","dependencies":{"chalk":"^4.1.2","sharp":"^0.32.4","commander":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.0.1","commitizen":"^4.3.0"},"_npmOperationalInternal":{"tmp":"tmp/convert-image_1.2.1_1692018840794_0.2919354441111637","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@dhemeira/convert-image","version":"1.2.2","keywords":[],"author":{"url":"https://github.com/dhemeira","name":"dhemeira"},"license":"MIT","_id":"@dhemeira/convert-image@1.2.2","maintainers":[{"name":"dhemeira","email":"peterlakics2@gmail.com"}],"homepage":"https://github.com/dhemeira/convert-image#readme","bugs":{"url":"https://github.com/dhemeira/convert-image/issues"},"bin":{"convert-image":"index.js"},"dist":{"shasum":"f56aaa6d5fc1100459f1a7cbd061c350a4c3ddff","tarball":"https://registry.npmjs.org/@dhemeira/convert-image/-/convert-image-1.2.2.tgz","fileCount":7,"integrity":"sha512-PMdBl6e5ntVuAltY83EMYj9PPF16SiwDqhOHBqJYFiXD7SSEWDeyubBkyfBEoy6lyezTYOy7p34BGQwZg/wDGA==","signatures":[{"sig":"MEYCIQC/Au7oYMiQmRoACuSzAHh58U3q0iMaxrum+T1bnD53MAIhAOgp2pHq1QQ8ZWv+6jppInggpJEkPPM+tPVAwjoS1nFx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11613},"main":"index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"d54707fdc15e7730f58153ba764b020fb51701ee","scripts":{"test":"echo \"Error: no test specified\" && exit 0","commit":"cz","format":"prettier --write ."},"_npmUser":{"name":"dhemeira","email":"peterlakics2@gmail.com"},"repository":{"url":"git+https://github.com/dhemeira/convert-image.git","type":"git"},"_npmVersion":"8.19.4","description":"An npm package to mass convert .jpg and .png files to .webp or resize them.","directories":{},"_nodeVersion":"16.20.1","dependencies":{"chalk":"^4.1.2","sharp":"^0.32.4","commander":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.0.1","commitizen":"^4.3.0"},"_npmOperationalInternal":{"tmp":"tmp/convert-image_1.2.2_1692019207799_0.7455855955340358","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"@dhemeira/convert-image","version":"1.2.3","keywords":["image","resize","jpeg","png","webp"],"author":{"url":"https://github.com/dhemeira","name":"dhemeira"},"license":"MIT","_id":"@dhemeira/convert-image@1.2.3","maintainers":[{"name":"dhemeira","email":"peterlakics2@gmail.com"}],"homepage":"https://github.com/dhemeira/convert-image#readme","bugs":{"url":"https://github.com/dhemeira/convert-image/issues"},"bin":{"convert-image":"index.js"},"dist":{"shasum":"4b59b164056801c2ac07fab9c174f644c8848620","tarball":"https://registry.npmjs.org/@dhemeira/convert-image/-/convert-image-1.2.3.tgz","fileCount":7,"integrity":"sha512-Qst6yECeThMi3OqmsfzS3IW1NHiv/tnilygqZ2koK2FeMvV0qMP26u5XTQCpY5fXJKXKLQCb0LjrVHEBU+C04Q==","signatures":[{"sig":"MEQCIGkdCEV6oun+br5qRfs5kpjlv7VX7I2mmK4MsHvaHK9PAiApLVvQuru2iMVQase7jA7jswz0Mmx3hQKpwlvpgYkQFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12457},"main":"index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"3f71efc6f4e147df47e1580e6bd9e8279363c512","scripts":{"test":"echo \"Error: no test specified\" && exit 0","commit":"cz","format":"prettier --write ."},"_npmUser":{"name":"dhemeira","email":"peterlakics2@gmail.com"},"repository":{"url":"git+https://github.com/dhemeira/convert-image.git","type":"git"},"_npmVersion":"8.19.4","description":"An npm package to mass convert .jpg and .png files to .webp or resize them.","directories":{},"_nodeVersion":"16.20.1","dependencies":{"chalk":"^4.1.2","sharp":"^0.32.4","commander":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.0.1","commitizen":"^4.3.0"},"_npmOperationalInternal":{"tmp":"tmp/convert-image_1.2.3_1692085142923_0.384278692217938","host":"s3://npm-registry-packages"}},"1.2.4":{"name":"@dhemeira/convert-image","version":"1.2.4","keywords":["image","resize","jpeg","png","webp"],"author":{"url":"https://github.com/dhemeira","name":"dhemeira"},"license":"MIT","_id":"@dhemeira/convert-image@1.2.4","maintainers":[{"name":"dhemeira","email":"peterlakics2@gmail.com"}],"homepage":"https://github.com/dhemeira/convert-image#readme","bugs":{"url":"https://github.com/dhemeira/convert-image/issues"},"bin":{"convert-image":"index.js"},"dist":{"shasum":"fa20c3c9b18ef4b8ac93714059eba88efb10646a","tarball":"https://registry.npmjs.org/@dhemeira/convert-image/-/convert-image-1.2.4.tgz","fileCount":13,"integrity":"sha512-4EmcxmZOFGfQ0KCVTrmzN2plK4REAj2MQKQ33E1vz3cuz9zFcSnCjsKH7TwLS1DNSrB2GrTyDlH5tCujjs7q+A==","signatures":[{"sig":"MEQCIFF1lW0D549IY5AJ4u4bppYDtG3J8XeA8MRSf5bVVWaUAiA5W76EjUcncp0/kbZ4UNy/xn2xfs/Vk/OnVdZCKw8DUw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25059},"main":"index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"47c237ba8056287c780d599ab41ebfe03e51330b","scripts":{"test":"jest","commit":"cz","format":"prettier --write ."},"_npmUser":{"name":"dhemeira","email":"peterlakics2@gmail.com"},"repository":{"url":"git+https://github.com/dhemeira/convert-image.git","type":"git"},"_npmVersion":"8.19.4","description":"An npm package to mass convert .jpg and .png files to .webp or resize them.","directories":{},"_nodeVersion":"16.20.1","dependencies":{"chalk":"^4.1.2","sharp":"^0.32.4","commander":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"del":"^5.1.0","jest":"^29.6.2","uuid":"^9.0.0","canvas":"^2.11.2","mkdirp":"^3.0.1","prettier":"^3.0.1","commitizen":"^4.3.0","image-size":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/convert-image_1.2.4_1692100034337_0.04886472239872508","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@dhemeira/convert-image","version":"1.3.0","keywords":["image","resize","jpeg","png","webp"],"author":{"url":"https://github.com/dhemeira","name":"dhemeira"},"license":"MIT","_id":"@dhemeira/convert-image@1.3.0","maintainers":[{"name":"dhemeira","email":"peterlakics2@gmail.com"}],"homepage":"https://github.com/dhemeira/convert-image#readme","bugs":{"url":"https://github.com/dhemeira/convert-image/issues"},"bin":{"convert-image":"index.js"},"dist":{"shasum":"2624db70b8661a46dd3e058ff4ff619d40ae3773","tarball":"https://registry.npmjs.org/@dhemeira/convert-image/-/convert-image-1.3.0.tgz","fileCount":13,"integrity":"sha512-O6qvgw4IJo7NftR9K0t6tHbz4HFPuVwrpk9ByEfkepT1MqWrdCRJyEASYAwl2zi2EU9NbTFx0K2gtA09UdpcCQ==","signatures":[{"sig":"MEUCIQDpHJJmr4kFRLlkP6salpY/ylLz89t+lzWlNrZ1naPTkwIgC5KdkUHvPMeAMYclJ2gBRgGKC5pfTlyMiL7mHs9Bwec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25440},"main":"index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"d25e05e71be7c4b6d0a537bf22fce41c1cd04731","scripts":{"test":"jest","commit":"run-s test commit-only","format":"prettier --write .","commit-only":"cz"},"_npmUser":{"name":"dhemeira","email":"peterlakics2@gmail.com"},"repository":{"url":"git+https://github.com/dhemeira/convert-image.git","type":"git"},"_npmVersion":"8.19.4","description":"An npm package to mass convert .jpg and .png files to .webp or resize them.","directories":{},"_nodeVersion":"16.20.1","dependencies":{"chalk":"^4.1.2","sharp":"^0.32.4","commander":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"del":"^5.1.0","jest":"^29.6.2","uuid":"^9.0.0","canvas":"^2.11.2","mkdirp":"^3.0.1","prettier":"^3.0.1","commitizen":"^4.3.0","image-size":"^1.0.2","npm-run-all":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/convert-image_1.3.0_1692102649848_0.37015098049664874","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@dhemeira/convert-image","version":"1.3.1","keywords":["image","resize","jpeg","png","webp"],"author":{"url":"https://github.com/dhemeira","name":"dhemeira"},"license":"MIT","_id":"@dhemeira/convert-image@1.3.1","maintainers":[{"name":"dhemeira","email":"peterlakics2@gmail.com"}],"homepage":"https://github.com/dhemeira/convert-image#readme","bugs":{"url":"https://github.com/dhemeira/convert-image/issues"},"bin":{"convert-image":"index.js"},"dist":{"shasum":"a3a3334443969850ae4050af4a1f265099b1abf9","tarball":"https://registry.npmjs.org/@dhemeira/convert-image/-/convert-image-1.3.1.tgz","fileCount":13,"integrity":"sha512-ClWD6IqUsQbHsLU5n3TCY9HEFRwUGA48t7LNisuXwaS0e362fv1Bd3RRadBR+IPxHBR6wKo1Ci3Cd5gPG0/jnQ==","signatures":[{"sig":"MEUCIB0Vn2UN4ztgYph2bui75Yhhn/7IMeIpSr2RT1wl20XkAiEAyRfIlZYyu/BUw8mTTTxDMdmE1YpI2kDEmhR6ideBsug=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26324},"main":"index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"5fd697c6202e13a99fa14a8d04ff564aabc13306","scripts":{"test":"jest","commit":"run-s test commit-only","format":"prettier --write .","commit-only":"cz"},"_npmUser":{"name":"dhemeira","email":"peterlakics2@gmail.com"},"repository":{"url":"git+https://github.com/dhemeira/convert-image.git","type":"git"},"_npmVersion":"8.19.4","description":"An npm package to mass convert .jpg and .png files to .webp or resize them.","directories":{},"_nodeVersion":"16.20.1","dependencies":{"chalk":"^4.1.2","sharp":"^0.32.4","commander":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"del":"^5.1.0","jest":"^29.6.2","uuid":"^9.0.0","canvas":"^2.11.2","mkdirp":"^3.0.1","prettier":"^3.0.1","commitizen":"^4.3.0","image-size":"^1.0.2","npm-run-all":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/convert-image_1.3.1_1692171231406_0.5668327267100817","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@dhemeira/convert-image","version":"1.4.0","keywords":["image","resize","jpeg","png","webp"],"author":{"url":"https://github.com/dhemeira","name":"dhemeira"},"license":"MIT","_id":"@dhemeira/convert-image@1.4.0","maintainers":[{"name":"dhemeira","email":"peterlakics2@gmail.com"}],"homepage":"https://github.com/dhemeira/convert-image#readme","bugs":{"url":"https://github.com/dhemeira/convert-image/issues"},"bin":{"convert-image":"index.js"},"dist":{"shasum":"f51be9dc73f5259a7136925ad69a512605d53a26","tarball":"https://registry.npmjs.org/@dhemeira/convert-image/-/convert-image-1.4.0.tgz","fileCount":17,"integrity":"sha512-uQe2c0T0eZR1DB0rc6gG7DXtjZdG+5U00uruLw49PCwJNQiifcTbovMQixaflRil/+DSyJa+Rc2TjBxftOdNAg==","signatures":[{"sig":"MEQCIDuzqC+08VXpy/4fUFs1RamwaeCTUpAMbaM8kel8YWqQAiBzD6HZ1AAMmx/B6N4W4afn2UkGs6AOR27i93cGIcvegQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32057},"main":"index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"c5e60c6cf6aa2245a0265c9ce601f4b051c45935","scripts":{"test":"jest","commit":"run-s format test commit-only","format":"prettier --write .","commit-only":"cz"},"_npmUser":{"name":"dhemeira","email":"peterlakics2@gmail.com"},"repository":{"url":"git+https://github.com/dhemeira/convert-image.git","type":"git"},"_npmVersion":"8.19.4","description":"An npm package to mass convert .jpg and .png files to .webp or resize them.","directories":{},"_nodeVersion":"16.20.1","dependencies":{"chalk":"^4.1.2","sharp":"^0.32.4","commander":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"del":"^5.1.0","jest":"^29.6.2","uuid":"^9.0.0","canvas":"^2.11.2","mkdirp":"^3.0.1","prettier":"^3.0.1","commitizen":"^4.3.0","image-size":"^1.0.2","npm-run-all":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/convert-image_1.4.0_1692191890601_0.36291700114061265","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"@dhemeira/convert-image","version":"1.5.0","keywords":["image","resize","jpeg","png","webp"],"author":{"url":"https://github.com/dhemeira","name":"dhemeira"},"license":"MIT","_id":"@dhemeira/convert-image@1.5.0","maintainers":[{"name":"dhemeira","email":"peterlakics2@gmail.com"}],"homepage":"https://github.com/dhemeira/convert-image#readme","bugs":{"url":"https://github.com/dhemeira/convert-image/issues"},"bin":{"convert-image":"index.js"},"dist":{"shasum":"bda670aea700ab93217f7681f8e3ca917c68b786","tarball":"https://registry.npmjs.org/@dhemeira/convert-image/-/convert-image-1.5.0.tgz","fileCount":29,"integrity":"sha512-JBDJ9NtJ5UNU3uVoKcc6oKUe8r/cpiy6GsAxk1pB1ZFLVxyAzhtYDvMgpEUH8b9Eb0gogyLzXfQshNWoBYRpjA==","signatures":[{"sig":"MEUCIQDBD9D0pTDYI1uhxSxsIpleQBR5v4Jce6VZgS7STdx4awIgFrw8nxYjBSLMTWYZb0lOQ449zLwlUek4oi4jzAUOgQY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91875},"main":"index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"d42d4f4e622daab9ae08e14f7aa35957c2e1d731","scripts":{"test":"jest","commit":"run-s format test commit-only","format":"prettier --write .","commit-only":"cz"},"_npmUser":{"name":"dhemeira","email":"peterlakics2@gmail.com"},"repository":{"url":"git+https://github.com/dhemeira/convert-image.git","type":"git"},"_npmVersion":"8.19.4","description":"An npm package to mass convert image files to .webp or resize them.","directories":{},"_nodeVersion":"16.20.1","dependencies":{"chalk":"^4.1.2","sharp":"^0.32.4","commander":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"del":"^5.1.0","jest":"^29.6.2","uuid":"^9.0.0","canvas":"^2.11.2","mkdirp":"^3.0.1","prettier":"^3.0.1","commitizen":"^4.3.0","image-size":"^1.0.2","npm-run-all":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/convert-image_1.5.0_1692277681402_0.3921334906255953","host":"s3://npm-registry-packages"}},"1.5.3":{"name":"@dhemeira/convert-image","version":"1.5.3","keywords":["image","resize","jpeg","png","webp"],"author":{"url":"https://github.com/dhemeira","name":"dhemeira"},"license":"MIT","_id":"@dhemeira/convert-image@1.5.3","maintainers":[{"name":"dhemeira","email":"peterlakics2@gmail.com"}],"homepage":"https://github.com/dhemeira/convert-image#readme","bugs":{"url":"https://github.com/dhemeira/convert-image/issues"},"bin":{"convert-image":"index.js"},"dist":{"shasum":"7ce9b8f33fd5bdec2c773078011d7d1ddef7131c","tarball":"https://registry.npmjs.org/@dhemeira/convert-image/-/convert-image-1.5.3.tgz","fileCount":30,"integrity":"sha512-5boJCMukkFK3I+jdP0PpyQXS356sHUklCR9+Q6oWw85/n43CKwxu29DOQHcH7OCRetanOQSurRbWn0ps5grYgw==","signatures":[{"sig":"MEQCIDsysFEn8q2wwe6pPE5rbAlCE+Bvz3Ayh+YGYPHN1WvHAiA+bAgvpgJ0RUjimTS8waIWcw9CJwB7absW25GlwcbdVA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92164},"main":"index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"203c9f80c350febf678d0df167ee3999081802c5","scripts":{"test":"jest","commit":"run-s format test commit-only","format":"prettier --write .","commit-only":"cz"},"_npmUser":{"name":"dhemeira","email":"peterlakics2@gmail.com"},"repository":{"url":"git+https://github.com/dhemeira/convert-image.git","type":"git"},"_npmVersion":"10.7.0","description":"An npm package to mass convert image files to .webp or resize them.","directories":{},"_nodeVersion":"20.14.0","dependencies":{"chalk":"^4.1.2","sharp":"^0.32.4","commander":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"del":"^5.1.0","jest":"^29.6.2","uuid":"^9.0.0","canvas":"^2.11.2","mkdirp":"^3.0.1","prettier":"^3.0.1","commitizen":"^4.3.0","image-size":"^1.0.2","npm-run-all":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/convert-image_1.5.3_1717759613243_0.9533771357189245","host":"s3://npm-registry-packages"}},"1.5.5":{"name":"@dhemeira/convert-image","version":"1.5.5","description":"An npm package to mass convert image files to .webp or resize them.","main":"index.js","scripts":{"test":"jest","format":"prettier --write .","commit-only":"cz","commit":"run-s format test commit-only"},"bin":{"convert-image":"index.js"},"keywords":["image","resize","jpeg","png","webp"],"author":{"name":"dhemeira","url":"https://github.com/dhemeira"},"license":"MIT","dependencies":{"chalk":"^4.1.2","commander":"^11.0.0","sharp":"^0.32.4"},"devDependencies":{"npm-run-all":"^4.1.5","del":"^5.1.0","image-size":"^1.0.2","mkdirp":"^3.0.1","uuid":"^9.0.0","canvas":"^2.11.2","commitizen":"^4.3.0","jest":"^29.6.2","prettier":"^3.0.1"},"repository":{"type":"git","url":"git+https://github.com/dhemeira/convert-image.git"},"bugs":{"url":"https://github.com/dhemeira/convert-image/issues"},"homepage":"https://github.com/dhemeira/convert-image#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"_id":"@dhemeira/convert-image@1.5.5","gitHead":"2b6cb5767fd90f1ff1c3e388f451656a50f84e38","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-BNNo+rn/8AK2tXt5A9gVj/LmLQVWevY/MeQSCyt4DEMVyLjHSs5isB3LY8dPj8/zNbLuAoPYdwJo2zo+jCH3Qg==","shasum":"7fc6196ffc62fee16a7c7e021e856a4d257cd769","tarball":"https://registry.npmjs.org/@dhemeira/convert-image/-/convert-image-1.5.5.tgz","fileCount":29,"unpackedSize":91508,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFPeNGY0dfqTDDjbjnK9wNH1y+KQAaP6r4ySDsSYwaSsAiEA9ryKkJGbfRJSD1rr33/WzSXoi5u8tBySHJ7ymnfa6EQ="}]},"_npmUser":{"name":"dhemeira","email":"peterlakics2@gmail.com"},"directories":{},"maintainers":[{"name":"dhemeira","email":"peterlakics2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/convert-image_1.5.5_1717760859887_0.9760853193399088"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-14T13:14:00.717Z","modified":"2024-06-07T11:47:40.210Z","1.2.1":"2023-08-14T13:14:00.968Z","1.2.2":"2023-08-14T13:20:07.953Z","1.2.3":"2023-08-15T07:39:03.130Z","1.2.4":"2023-08-15T11:47:14.512Z","1.3.0":"2023-08-15T12:30:50.047Z","1.3.1":"2023-08-16T07:33:51.552Z","1.4.0":"2023-08-16T13:18:10.817Z","1.5.0":"2023-08-17T13:08:01.612Z","1.5.3":"2024-06-07T11:26:53.407Z","1.5.5":"2024-06-07T11:47:40.024Z"},"maintainers":[{"name":"dhemeira","email":"peterlakics2@gmail.com"}],"author":{"name":"dhemeira","url":"https://github.com/dhemeira"},"repository":{"type":"git","url":"git+https://github.com/dhemeira/convert-image.git"},"keywords":["image","resize","jpeg","png","webp"],"license":"MIT","homepage":"https://github.com/dhemeira/convert-image#readme","bugs":{"url":"https://github.com/dhemeira/convert-image/issues"},"readme":"# convert-image\n\nThis is a package for converting image files to `.webp` and/or to resize them to a given width and/or height.\nThe results are placed inside the specified folder.\n\n[![npm](https://img.shields.io/npm/dw/%40dhemeira/convert-image?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@dhemeira/convert-image)\n[![GitHub Repo stars](https://img.shields.io/github/stars/dhemeira/convert-image?style=for-the-badge&logo=github&color=yellow)](https://github.com/dhemeira/convert-image/stargazers)\n[![GitHub package.json version (subfolder of monorepo)](https://img.shields.io/github/package-json/v/dhemeira/convert-image?style=for-the-badge&logo=github&label=latest%20release)](https://github.com/dhemeira/convert-image/releases/latest)\n[![npm (scoped)](https://img.shields.io/npm/v/%40dhemeira/convert-image?style=for-the-badge&logo=npm&label=npm%20version&color=red)](https://www.npmjs.com/package/@dhemeira/convert-image?activeTab=versions)\n\n## Usage:\n\nChoose one of the following 3:\n\n### Install and use globally:\n\n```bash\nnpm i @dhemeira/convert-image -g\n```\n\nAfter that, use this command to convert images:\n\n```bash\nconvert-image\n```\n\n---\n\n### Use with npx:\n\nUse this command to convert images:\n\n```bash\nnpx @dhemeira/convert-image\n```\n\n---\n\n### Install and use in your project:\n\n```bash\nnpm i @dhemeira/convert-image\n```\n\nAdd it to your `package.json` scripts:\n\n```json\n\"scripts\": {\n  \"convert-image\": \"convert-image\",\n  ...\n}\n```\n\nAfter that, use this command to convert images:\n\n```bash\nnpm run convert-image\n```\n\n## Examples\n\n### Get command manual:\n\n```bash\nconvert-image --help\n```\n\nOutput:\n\n```\nUsage: convert-image [options] <input_directory>\n\nConverts image files to .webp or resizes them and puts them into the specified output folder. Supported formats: .jpg, .png, .svg, .tiff, .gif and .webp\n\nArguments:\n  input_directory    the input directory\n\nOptions:\n  --output [output]  the output directory. If not specified, it will be input_directory\\converted.\n  --width [width]    resize the image to this width. If not specificed, the width will be the original width.\n  --height [height]  resize the image to this height. If not specificed, the height will be the original height.\n  --only [files...]  convert only these files.\n  --fit [fit]        how the image should be resized/cropped to fit the target dimension(s), one of cover, contain or fill.\n  -w, --webp         convert the image to .webp extension.\n  -h, --help         display help for command\n```\n\n### Converting example_input folder's content into `.webp` files and placing them into the default output folder\n\n```bash\nconvert-image example_input --webp\n```\n\n### Specify output to example_output folder\n\n```bash\nconvert-image example_input --webp --output example_output\n```\n\n### Resize the images to width 500px and keep aspect ratio\n\n```bash\nconvert-image example_input --width 500\n```\n\n### Resize the images to height 700px and keep aspect ratio\n\n```bash\nconvert-image example_input --height 700\n```\n\n### Resize the images to width 500px and height 700px. The resizing method is `cover`\n\n```bash\nconvert-image example_input --width 500 --height 700\n```\n\n### Resize image, convert it to `.webp` and save to example_output folder\n\n```bash\nconvert-image example_input --width 500 --height 700 --webp --output example_output\n```\n\n### Run the previous example only on file1.jpg and file2.png\n\n```bash\nconvert-image example_input --width 500 --height 700 --webp --output example_output --only file1.jpg file2.png\n```\n","readmeFilename":"README.md"}