{"_id":"2webp","_rev":"7-e4cb4d17e6c3cdf132a423f872db9c0b","name":"2webp","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"2webp","version":"0.1.0","author":{"url":"https://coreydemarse.com","name":"coreydemarse"},"license":"MIT","_id":"2webp@0.1.0","maintainers":[{"name":"crdnpm","email":"coreydemarse@protonmail.ch"}],"homepage":"https://github.com/coreydemarse/2webp","dist":{"shasum":"ab148023120dca8afe083fa18420e1366198097d","tarball":"https://registry.npmjs.org/2webp/-/2webp-0.1.0.tgz","fileCount":5,"integrity":"sha512-lEfSRlB1yMisYxuICYx0PjdP+6Uk1g1o5Xd+ctAnpRkSXomGNRiNVwonqYduac3lvrM2zuS7Zvrru69dtQXiwQ==","signatures":[{"sig":"MEYCIQCzkcq283nd/gCOB9hXzJJEiEfwAeUKoWKk+ru7UocrcwIhAO3G26mm/R+GtN4bEblAPcJed2ZY2X+8ktbkxzyFI2Wm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16049},"type":"module","module":"index.ts","gitHead":"8bd8285cb4378f28ab1846767ad1cb542d0dca30","private":false,"_npmUser":{"name":"crdnpm","email":"coreydemarse@protonmail.ch"},"_npmVersion":"10.9.2","description":"A simple image converter for web developers.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"sharp":"^0.34.1","fs-extra":"^11.3.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/2webp_0.1.0_1744477529129_0.09955430485222161","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"2webp","version":"0.1.1","author":{"url":"https://coreydemarse.com","name":"coreydemarse"},"license":"MIT","_id":"2webp@0.1.1","maintainers":[{"name":"crdnpm","email":"coreydemarse@protonmail.ch"}],"homepage":"https://github.com/coreydemarse/2webp","bin":{"2webp":"index.ts"},"dist":{"shasum":"0769ff7e5079b69689187d750d7fb4962829dcab","tarball":"https://registry.npmjs.org/2webp/-/2webp-0.1.1.tgz","fileCount":5,"integrity":"sha512-yP9M0S2Sil3Bag3/BEuRL3Zo5XiudBGWHbWLKLg4Vts6IQTe8MiMSkBIzhGAyF1qC4aeVVqCEpNDBWy/sz+Ikg==","signatures":[{"sig":"MEUCIQCMpHK22fOnM7k79s8ozZUXbJeZvxPvYnAqnehd2D73HwIgN0Np3u13tbDsGzMPtltBNoCGAMNS3obyXCUbyqx5SuM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16091},"type":"module","module":"index.ts","gitHead":"0fa6e6d020550ea529fc90f7cd16ff613eb9e7ca","private":false,"_npmUser":{"name":"crdnpm","email":"coreydemarse@protonmail.ch"},"_npmVersion":"10.9.2","description":"A simple image converter for web developers.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"sharp":"^0.34.1","fs-extra":"^11.3.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/2webp_0.1.1_1744477882840_0.07937634414232586","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"2webp","version":"0.1.2","author":{"url":"https://coreydemarse.com","name":"coreydemarse"},"license":"MIT","_id":"2webp@0.1.2","maintainers":[{"name":"crdnpm","email":"coreydemarse@protonmail.ch"}],"homepage":"https://github.com/coreydemarse/2webp","bin":{"2webp":"index.ts"},"dist":{"shasum":"642de3a4a01f974a0c4cddc84a6e7e7e01e914d3","tarball":"https://registry.npmjs.org/2webp/-/2webp-0.1.2.tgz","fileCount":5,"integrity":"sha512-m86kpVAVC2ZuzH79+UK2leCb2IfpsvMp2KDds7C7VMfXscPdzTb4Ha5K+4BtOd0oNCQ0y5lfdDsHwpOy4fkPdw==","signatures":[{"sig":"MEUCIQCmIWizYkRgeQ9yzKr3MaSMZQ1rk5xqCdLJ861xIZaJSQIgKTlAbXtnAT74VKgbWrCq5p+NR9Zjh4kMbKxGXgcow4Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16111},"type":"module","module":"index.ts","gitHead":"81679f5e12766a5922147dd01ea90b518602ba70","private":false,"_npmUser":{"name":"crdnpm","email":"coreydemarse@protonmail.ch"},"_npmVersion":"10.9.2","description":"A simple image converter for web developers.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"sharp":"^0.34.1","fs-extra":"^11.3.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/2webp_0.1.2_1744478116332_0.6635219981814742","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"2webp","version":"0.1.3","author":{"url":"https://coreydemarse.com","name":"coreydemarse"},"license":"MIT","_id":"2webp@0.1.3","maintainers":[{"name":"crdnpm","email":"coreydemarse@protonmail.ch"}],"homepage":"https://github.com/coreydemarse/2webp","bin":{"2webp":"index.ts"},"dist":{"shasum":"2b7f483c2276d2bbaec10b2c04e27f0a1cc217b2","tarball":"https://registry.npmjs.org/2webp/-/2webp-0.1.3.tgz","fileCount":5,"integrity":"sha512-TCyUPeXppekmvs+RSHulKm7zunKYjukSu76Ye77HSO3mtkRmBrE8u5hc+8XXzdp0WfKCvQkTyTbe/lULn5wbaQ==","signatures":[{"sig":"MEQCIH5GZONjR1z4DYYptoEfAIUKWehrTvihCO3iVuWzCrOQAiBTim7FKgT08s0NycGGVH5AdZKrcgYiRrI9Xt35jIcCmg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16103},"type":"module","module":"index.ts","gitHead":"daa759751451d0398960fb141ea86b33e1c64da8","private":false,"_npmUser":{"name":"crdnpm","email":"coreydemarse@protonmail.ch"},"_npmVersion":"10.9.2","description":"A simple image converter for web developers.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"bun":"^0.1.2","sharp":"^0.34.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/2webp_0.1.3_1744479102607_0.4731445299912507","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"2webp","version":"0.1.4","author":{"url":"https://coreydemarse.com","name":"coreydemarse"},"license":"MIT","_id":"2webp@0.1.4","maintainers":[{"name":"crdnpm","email":"coreydemarse@protonmail.ch"}],"homepage":"https://github.com/coreydemarse/2webp","bin":{"2webp":"index.ts"},"dist":{"shasum":"50ea45993dadfd080fae9cd87b73869eb3fe102a","tarball":"https://registry.npmjs.org/2webp/-/2webp-0.1.4.tgz","fileCount":5,"integrity":"sha512-3pd6zIF2XeFy6ADdJUVJcNXRBVGFyd0Cmh6sWNWz1gDLAN/MN8gi2FTMNDYZnpRnG8n86TANVsE3iwFu+wQDhA==","signatures":[{"sig":"MEUCIQDn8ihgxVg2nkTPQ/gBQTuwazy7Y7SVeIygg+JekvLXsAIgcShVNwvQjL+ICUvoU8DwHXlFM+tyOkAiqLf4lQu3W0k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16103},"type":"module","module":"index.ts","gitHead":"b734069b303671872534b0f1944cbac43fb2705c","private":false,"_npmUser":{"name":"crdnpm","email":"coreydemarse@protonmail.ch"},"_npmVersion":"10.9.2","description":"A simple image converter for web developers.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"bun":"^1.2.9","sharp":"^0.34.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/2webp_0.1.4_1744479208842_0.37308260176264874","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"2webp","version":"0.1.5","author":{"url":"https://coreydemarse.com","name":"coreydemarse"},"license":"MIT","_id":"2webp@0.1.5","maintainers":[{"name":"crdnpm","email":"coreydemarse@protonmail.ch"}],"homepage":"https://github.com/coreydemarse/2webp","bin":{"2webp":"index.ts"},"dist":{"shasum":"cdb78085bff188b19153b23554ef3b0b26c507aa","tarball":"https://registry.npmjs.org/2webp/-/2webp-0.1.5.tgz","fileCount":5,"integrity":"sha512-Zm52pmS3J4DQXKi81PVu4rt/Y8uedcmOGHgGV9yz3okge6U2cmBUqnZ42jcQ6G++XQDBBIGVwMOtfzmXlf1NKA==","signatures":[{"sig":"MEUCIQCXeq/F+BPlf0fX2LrTl6YPqi39RgArosaIOFoZeE/hfAIgef6euY12/MT+cnkAWyJm3+YBDaqWbcGWrdsc/Bf0TDg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16388},"type":"module","module":"index.ts","gitHead":"7fbf5dde23efc086870d3503d6cb882ba96e64fe","private":false,"_npmUser":{"name":"crdnpm","email":"coreydemarse@protonmail.ch"},"_npmVersion":"10.9.2","description":"A simple image converter for web developers.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"bun":"^1.2.9","sharp":"^0.34.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/2webp_0.1.5_1744495492792_0.99117637713305","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"2webp","version":"0.1.6","homepage":"https://github.com/coreydemarse/2webp","license":"MIT","author":{"name":"coreydemarse","url":"https://coreydemarse.com"},"module":"index.ts","type":"module","bin":{"2webp":"index.ts"},"private":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"dependencies":{"sharp":"^0.34.1"},"_id":"2webp@0.1.6","gitHead":"398d52ff76caaa7d4f37341854d4b33dd9158acc","description":"A simple image converter for web developers.","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-b2nBgQqV+V+lkf7nyiAUrnH8ePtQYCxh8xW9pp/ZoI07W52eKAHOdywMR7VeYz+jcCNZqvBVrKaG3I0A6Ijvzw==","shasum":"943db2820558679c043e6ab4828587c48ee4433d","tarball":"https://registry.npmjs.org/2webp/-/2webp-0.1.6.tgz","fileCount":5,"unpackedSize":16516,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIQCwuF/72mD8H7Z1xbbhfb6CySNBih7x3SgEwk6AQp39vAIfGhc0HGDDtUKwOvt8tTY4PHGpVKvfekkSOaT2RM2Hkg=="}]},"_npmUser":{"name":"crdnpm","email":"coreydemarse@protonmail.ch"},"directories":{},"maintainers":[{"name":"crdnpm","email":"coreydemarse@protonmail.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/2webp_0.1.6_1744496046900_0.44810827379207274"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-12T17:05:29.128Z","modified":"2025-04-12T22:14:07.284Z","0.1.0":"2025-04-12T17:05:29.325Z","0.1.1":"2025-04-12T17:11:23.058Z","0.1.2":"2025-04-12T17:15:16.532Z","0.1.3":"2025-04-12T17:31:42.866Z","0.1.4":"2025-04-12T17:33:29.001Z","0.1.5":"2025-04-12T22:04:52.972Z","0.1.6":"2025-04-12T22:14:07.084Z"},"author":{"name":"coreydemarse","url":"https://coreydemarse.com"},"license":"MIT","homepage":"https://github.com/coreydemarse/2webp","description":"A simple image converter for web developers.","maintainers":[{"name":"crdnpm","email":"coreydemarse@protonmail.ch"}],"readme":"# 2webp\n\nA simple image converter for web developers.\n\nConvert images asyncronously in bulk using Bun/Sharp.\n\n\n## Install (global)\n\nInstall 2webp globally using NPM\n```bash\nbun add -g 2webp\n```\n\nOn Linux - make sure you have libvips\n```bash\nsudo apt-get install libvips-dev\n```\n\n## How to Use\n\nWhen converting images 2webp will automatically batch and convert images asyncrounously.\nYou can convert large folders of images safely with 2webp.\n\n### Syntax\n\n```bash\n2webp {dir/file} {--output=/example} {--format=png/jpeg/gif/tiff/webp}\n```\n\n### Examples\n\nTo convert all the images in the current directory to webp\n\nThe output is in current directory\n\n```bash\n2webp .\n```\n\nSpecify output directory, convert all images in current dir\n```bash\n2webp . --output=./output\n```\n\nConvert all images in current dir to png\n```bash\n2webp . --format=png\n```\n\n## Development\n\nTo install dependencies:\n\n```bash\nbun install\n```\n\nTo run:\n\n```bash\nbun run index.ts\n```\n\n#\n\nThis project was created using Bun.\n\n[Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.\n","readmeFilename":"README.md"}