{"_id":"@dhananjay_verma9546/pixora-compress","_rev":"7-cba3b50519cffbac0a58c02196d16636","name":"@dhananjay_verma9546/pixora-compress","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"@dhananjay_verma9546/pixora-compress","version":"1.0.0","keywords":["image","compression","cli","sharp","webp","avif","optimize","resize","convert","png","jpeg","batch","asset-optimization"],"author":"","license":"MIT","_id":"@dhananjay_verma9546/pixora-compress@1.0.0","maintainers":[{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"}],"bin":{"img-compress":"dist/cli.js"},"dist":{"shasum":"e0e73831355f21704b5111f746d455c63d827eab","tarball":"https://registry.npmjs.org/@dhananjay_verma9546/pixora-compress/-/pixora-compress-1.0.0.tgz","fileCount":11,"integrity":"sha512-Q6VbwljSG98LNpA6qcjtHnOIKaXjsGKUP+UnYwcRl/d6AU2wIWpnhDiSalGG7/t33yRxdMMB9JB6WiF8BnczsQ==","signatures":[{"sig":"MEUCIF9bNebNFMbLD7PQMiuutyaXTMrTGPZndvfUtD3ZECj0AiEA6Fcilb9f21upGvA81eTB3t9H1OatzGW38UKDAyiMAns=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":291421},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"4c8300d8ac3ef227bbd596e49bbc68595cefbe02","scripts":{"dev":"tsx src/cli.ts","lint":"eslint src/ tests/","test":"vitest run","build":"tsup","clean":"rm -rf dist coverage","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","prepublishOnly":"npm run build"},"_npmUser":{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"11.11.0","description":"Fast, cross-platform, zero-config image compression CLI. Compress, resize, and convert images to WebP/AVIF with parallel processing, smart quality, and watch mode.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ora":"^9.4.1","zod":"^4.4.3","chalk":"^5.6.2","sharp":"^0.35.3","fs-extra":"^11.3.6","commander":"^15.0.0","fast-glob":"^3.3.3","cosmiconfig":"^9.0.2","cli-progress":"^3.12.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","tsup":"^8.5.1","eslint":"^10.6.0","vitest":"^4.1.9","prettier":"^3.9.4","typescript":"^6.0.3","@types/node":"^26.1.0","@types/fs-extra":"^11.0.4","@types/cli-progress":"^3.11.6"},"_npmOperationalInternal":{"tmp":"tmp/pixora-compress_1.0.0_1783075947507_0.9073398505595351","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@dhananjay_verma9546/pixora-compress","version":"1.0.1","keywords":["image","compression","cli","sharp","webp","avif","optimize","resize","convert","png","jpeg","batch","asset-optimization"],"author":"","license":"MIT","_id":"@dhananjay_verma9546/pixora-compress@1.0.1","maintainers":[{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"}],"bin":{"img-compress":"dist/cli.js"},"dist":{"shasum":"e7104f1613657934103fda8a68e655c4115c419c","tarball":"https://registry.npmjs.org/@dhananjay_verma9546/pixora-compress/-/pixora-compress-1.0.1.tgz","fileCount":11,"integrity":"sha512-+XCq7Lz8Tg4KccKQBC1DOODecrz57nb7gShlyCVRanczYspcLTL6UD7l2qqzzx2iG9NykTdl0ZyBeYaux/Yw0Q==","signatures":[{"sig":"MEQCIGO2UIrNa2sj8Ru9bcOIBGPhhx6hX17IS2x11yZXwkO8AiBECUnLQBogidOjZHEbcOAgFGEdhCv0a1+Qd7wY2yBf4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":291579},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"b3681b4d265491961d46246f223685302babc0e1","scripts":{"dev":"tsx src/cli.ts","lint":"eslint src/ tests/","test":"vitest run","build":"tsup","clean":"rm -rf dist coverage","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","prepublishOnly":"npm run build"},"_npmUser":{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"11.11.0","description":"Fast, cross-platform, zero-config image compression CLI. Compress, resize, and convert images to WebP/AVIF with parallel processing, smart quality, and watch mode.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ora":"^9.4.1","zod":"^4.4.3","chalk":"^5.6.2","sharp":"^0.35.3","fs-extra":"^11.3.6","commander":"^15.0.0","fast-glob":"^3.3.3","cosmiconfig":"^9.0.2","cli-progress":"^3.12.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","tsup":"^8.5.1","eslint":"^10.6.0","vitest":"^4.1.9","prettier":"^3.9.4","typescript":"^6.0.3","@types/node":"^26.1.0","@types/fs-extra":"^11.0.4","@types/cli-progress":"^3.11.6"},"_npmOperationalInternal":{"tmp":"tmp/pixora-compress_1.0.1_1783076477222_0.1267283799941452","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@dhananjay_verma9546/pixora-compress","version":"1.0.2","keywords":["image","compression","cli","sharp","webp","avif","optimize","resize","convert","png","jpeg","batch","asset-optimization"],"author":{"name":"Dhananjay Verma"},"license":"MIT","_id":"@dhananjay_verma9546/pixora-compress@1.0.2","maintainers":[{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"}],"homepage":"https://github.com/dhananjayverma/img-compress-cli#readme","bugs":{"url":"https://github.com/dhananjayverma/img-compress-cli/issues"},"bin":{"img-compress":"dist/cli.js"},"dist":{"shasum":"e18475e705977d9127ad6c3259b2b85808b54282","tarball":"https://registry.npmjs.org/@dhananjay_verma9546/pixora-compress/-/pixora-compress-1.0.2.tgz","fileCount":11,"integrity":"sha512-3zCtTUMiq8wxTSdPBuHJUA5dzAFPzz8ZRGj1ajim+llkRoDMN/DWa1HTWgBV1Qkfo/PuRzO2K5wtVuT20TBhjA==","signatures":[{"sig":"MEQCIBxHO+VuywnuX+WX93t0zWE3zLOWOHEcUbiJX3a0xRrIAiB0VsehZTd1GOdW2l7vj5QNG92sYxqCdDkU7CsbK1Mw4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":291960},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"c0417a0c933f9e46ab0c946acb8718809cc1fea3","scripts":{"dev":"tsx src/cli.ts","lint":"eslint src/ tests/","test":"vitest run","build":"tsup","clean":"rm -rf dist coverage","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","prepublishOnly":"npm run build"},"_npmUser":{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"},"repository":{"url":"git+https://github.com/dhananjayverma/img-compress-cli.git","type":"git"},"_npmVersion":"11.11.0","description":"Fast, cross-platform, zero-config image compression CLI. Compress, resize, and convert images to WebP/AVIF with parallel processing, smart quality, and watch mode.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ora":"^9.4.1","zod":"^4.4.3","chalk":"^5.6.2","sharp":"^0.35.3","fs-extra":"^11.3.6","commander":"^15.0.0","fast-glob":"^3.3.3","cosmiconfig":"^9.0.2","cli-progress":"^3.12.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","tsup":"^8.5.1","eslint":"^10.6.0","vitest":"^4.1.9","prettier":"^3.9.4","typescript":"^6.0.3","@types/node":"^26.1.0","@types/fs-extra":"^11.0.4","@types/cli-progress":"^3.11.6"},"_npmOperationalInternal":{"tmp":"tmp/pixora-compress_1.0.2_1783078918946_0.6637596495375422","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@dhananjay_verma9546/pixora-compress","version":"1.1.0","keywords":["pixora","image","compression","cli","sharp","webp","avif","optimize","resize","convert","png","jpeg","batch","blurhash","lqip","responsive-images","sprite","svgo","audit","benchmark","asset-optimization"],"author":{"name":"Dhananjay Verma"},"license":"MIT","_id":"@dhananjay_verma9546/pixora-compress@1.1.0","maintainers":[{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"}],"homepage":"https://github.com/dhananjayverma/img-compress-cli#readme","bugs":{"url":"https://github.com/dhananjayverma/img-compress-cli/issues"},"bin":{"pixora":"dist/cli.js"},"dist":{"shasum":"80145ac510b70bed9e54f14a0d54ccf211205d35","tarball":"https://registry.npmjs.org/@dhananjay_verma9546/pixora-compress/-/pixora-compress-1.1.0.tgz","fileCount":11,"integrity":"sha512-JzbTXTy5xEd+GA/wT0iv17BPAfS0CyNDmtoMUoBEIvNuksfHbEp1cG8qjmijCD7nwB3cYkFgAFbAy1GI7DWbJQ==","signatures":[{"sig":"MEUCIQD5Q+cA9B5rDienSNdXVieATwHFFcl8BvMVTWqPA9ILNAIgSoBon3bSyrUmZuRTrVArH1c7t1WnHCw6RrxRUT3Uhy0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":881862},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"dc178ae03305cd74cc1a01b55cffcb3fa8388f79","scripts":{"dev":"tsx src/cli.ts","lint":"eslint src/ tests/","test":"vitest run","build":"tsup","clean":"rm -rf dist coverage","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","prepublishOnly":"npm run build"},"_npmUser":{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"},"repository":{"url":"git+https://github.com/dhananjayverma/img-compress-cli.git","type":"git"},"_npmVersion":"11.11.0","description":"Pixora — Industry-grade asset optimization toolkit. Compress, convert, audit, generate responsive images, BlurHash, LQIP, dominant colors, sprite sheets, SVG optimization, and more.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ora":"^9.4.1","zod":"^4.4.3","svgo":"^4.0.1","chalk":"^5.6.2","exifr":"^7.1.3","sharp":"^0.35.3","cheerio":"^1.2.0","consola":"^3.4.2","ssim.js":"^3.5.0","blurhash":"^2.0.5","fs-extra":"^11.3.6","inquirer":"^14.0.2","commander":"^15.0.0","fast-glob":"^3.3.3","cli-table3":"^0.6.5","cosmiconfig":"^9.0.2","cli-progress":"^3.12.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","tsup":"^8.5.1","eslint":"^10.6.0","vitest":"^4.1.9","prettier":"^3.9.4","typescript":"^6.0.3","@types/node":"^26.1.0","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.10","@types/cli-progress":"^3.11.6"},"_npmOperationalInternal":{"tmp":"tmp/pixora-compress_1.1.0_1783577440870_0.04759802275384373","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@dhananjay_verma9546/pixora-compress","version":"1.1.1","keywords":["pixora","image","compression","cli","sharp","webp","avif","optimize","resize","convert","png","jpeg","batch","blurhash","lqip","responsive-images","sprite","svgo","audit","benchmark","asset-optimization"],"author":{"name":"Dhananjay Verma"},"license":"MIT","_id":"@dhananjay_verma9546/pixora-compress@1.1.1","maintainers":[{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"}],"homepage":"https://github.com/dhananjayverma/img-compress-cli#readme","bugs":{"url":"https://github.com/dhananjayverma/img-compress-cli/issues"},"bin":{"pixora":"dist/cli.js"},"dist":{"shasum":"fb5a339cbd2e2f354c0527653fb03c51b7a94c97","tarball":"https://registry.npmjs.org/@dhananjay_verma9546/pixora-compress/-/pixora-compress-1.1.1.tgz","fileCount":11,"integrity":"sha512-lPcN9RFBRQsa1HRV4kGaYQFtIYCU1+mSnLnSL3PZVjxDhSD2UDB276Q7eYFHPYrZW19RTGp4PUtgf/pLkW55Vg==","signatures":[{"sig":"MEYCIQCK9Yyl3YWUXBUvNgohk/oBvTlxQ5DApRhgerUp76fD2QIhAKCAEEIsOwtPndd3phLLXvSf5FbkZZFFTuP4RETrjWlw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":917597},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"a0672ef6566598c26e5dfe4b52c58d010e73d19a","scripts":{"dev":"tsx src/cli.ts","lint":"eslint src/ tests/","test":"vitest run","build":"tsup","clean":"rm -rf dist coverage","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","prepublishOnly":"npm run build"},"_npmUser":{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"},"repository":{"url":"git+https://github.com/dhananjayverma/img-compress-cli.git","type":"git"},"_npmVersion":"11.11.0","description":"Pixora — Automated Asset Pipeline for Modern Web Apps & Developer Asset Optimization Platform.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ora":"^9.4.1","zod":"^4.4.3","svgo":"^4.0.1","chalk":"^5.6.2","exifr":"^7.1.3","sharp":"^0.35.3","cheerio":"^1.2.0","consola":"^3.4.2","ssim.js":"^3.5.0","blurhash":"^2.0.5","fs-extra":"^11.3.6","inquirer":"^14.0.2","commander":"^15.0.0","fast-glob":"^3.3.3","cli-table3":"^0.6.5","cosmiconfig":"^9.0.2","cli-progress":"^3.12.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","tsup":"^8.5.1","eslint":"^10.6.0","vitest":"^4.1.9","prettier":"^3.9.4","typescript":"^6.0.3","@types/node":"^26.1.0","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.10","@types/cli-progress":"^3.11.6"},"_npmOperationalInternal":{"tmp":"tmp/pixora-compress_1.1.1_1783587655248_0.1364764590981622","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@dhananjay_verma9546/pixora-compress","version":"1.1.2","keywords":["pixora","image","compression","cli","sharp","webp","avif","optimize","resize","convert","png","jpeg","batch","blurhash","lqip","responsive-images","sprite","svgo","audit","benchmark","asset-optimization"],"author":{"name":"Dhananjay Verma"},"license":"MIT","_id":"@dhananjay_verma9546/pixora-compress@1.1.2","maintainers":[{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"}],"homepage":"https://github.com/dhananjayverma/img-compress-cli#readme","bugs":{"url":"https://github.com/dhananjayverma/img-compress-cli/issues"},"bin":{"pixora":"dist/cli.js"},"dist":{"shasum":"126218c407c0b9b40f799cef08ecd78ca4bf2470","tarball":"https://registry.npmjs.org/@dhananjay_verma9546/pixora-compress/-/pixora-compress-1.1.2.tgz","fileCount":11,"integrity":"sha512-NHZxbfyQ//aqyFRNYW32nSjTGBezuQ8vFuqSpCIIwMkz2wGP3VjD2BYgD7TKvHhcctoLGYy9sbwn3XbcqhYBtQ==","signatures":[{"sig":"MEYCIQCqDuJUIrfiJ32g/T/BmhrFs8276T8B6nowHG+05O+C8wIhALSaWdyH4KXeSYBBwNYwBe0/3yFsFuLuL/6ZQJpJbDzh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":923943},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"765d3e96d0c0aa341b9e9a01b0ae56c4673f4466","scripts":{"dev":"tsx src/cli.ts","lint":"eslint src/ tests/","test":"vitest run","build":"tsup","clean":"rm -rf dist coverage","format":"prettier --write .","typecheck":"tsc --noEmit","test:watch":"vitest","format:check":"prettier --check .","prepublishOnly":"npm run build"},"_npmUser":{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"},"repository":{"url":"git+https://github.com/dhananjayverma/img-compress-cli.git","type":"git"},"_npmVersion":"11.11.0","description":"Pixora — Automated Asset Pipeline for Modern Web Apps & Developer Asset Optimization Platform.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"ora":"^9.4.1","zod":"^4.4.3","svgo":"^4.0.1","chalk":"^5.6.2","exifr":"^7.1.3","sharp":"^0.35.3","cheerio":"^1.2.0","consola":"^3.4.2","ssim.js":"^3.5.0","blurhash":"^2.0.5","fs-extra":"^11.3.6","inquirer":"^14.0.2","commander":"^15.0.0","fast-glob":"^3.3.3","cli-table3":"^0.6.5","cosmiconfig":"^9.0.2","cli-progress":"^3.12.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","tsup":"^8.5.1","eslint":"^10.6.0","vitest":"^4.1.9","prettier":"^3.9.4","typescript":"^6.0.3","@types/node":"^26.1.0","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.10","@types/cli-progress":"^3.11.6"},"_npmOperationalInternal":{"tmp":"tmp/pixora-compress_1.1.2_1783593493180_0.546802328325354","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@dhananjay_verma9546/pixora-compress","version":"1.1.3","description":"Pixora — Automated Asset Pipeline for Modern Web Apps & Developer Asset Optimization Platform.","type":"module","bin":{"pixora":"dist/cli.js"},"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"engines":{"node":">=20"},"scripts":{"build":"tsup","dev":"tsx src/cli.ts","test":"vitest run","test:watch":"vitest","lint":"eslint src/ tests/","format":"prettier --write .","format:check":"prettier --check .","typecheck":"tsc --noEmit","prepublishOnly":"npm run build","clean":"rm -rf dist coverage"},"keywords":["pixora","image","compression","cli","sharp","webp","avif","optimize","resize","convert","png","jpeg","batch","blurhash","lqip","responsive-images","sprite","svgo","audit","benchmark","asset-optimization"],"author":{"name":"Dhananjay Verma"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dhananjayverma/pixora.git"},"bugs":{"url":"https://github.com/dhananjayverma/pixora/issues"},"homepage":"https://github.com/dhananjayverma/pixora#readme","dependencies":{"blurhash":"^2.0.5","chalk":"^5.6.2","cheerio":"^1.2.0","cli-progress":"^3.12.0","cli-table3":"^0.6.5","commander":"^15.0.0","consola":"^3.4.2","cosmiconfig":"^9.0.2","exifr":"^7.1.3","fast-glob":"^3.3.3","fs-extra":"^11.3.6","inquirer":"^14.0.2","ora":"^9.4.1","sharp":"^0.35.3","ssim.js":"^3.5.0","svgo":"^4.0.1","zod":"^4.4.3"},"devDependencies":{"@types/cli-progress":"^3.11.6","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.10","@types/node":"^26.1.0","eslint":"^10.6.0","prettier":"^3.9.4","tsup":"^8.5.1","tsx":"^4.20.3","typescript":"^6.0.3","vitest":"^4.1.9"},"gitHead":"e02c9ac860c04477a6cd8c492a04b88dfb9fbcf1","_id":"@dhananjay_verma9546/pixora-compress@1.1.3","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-QQB5gaaBkpyOWDTaNTnha64xnyhmxk/juJAOFkb1zp6+/C+yoYM65ACuTCoqM9fTUkNE93lEqROczvIjxriuCg==","shasum":"94a9b869063bf5fd82b933c5dd5aa66e9ca6dfbb","tarball":"https://registry.npmjs.org/@dhananjay_verma9546/pixora-compress/-/pixora-compress-1.1.3.tgz","fileCount":11,"unpackedSize":923989,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCMLuDxOoj3KA+U5nMUw212X0KBN7bbirlsK5BiUG4/NgIhAOs+NRzBtpRgGeHbpcmbLdZTeumR6u7p/3OLBKsKM1yA"}]},"_npmUser":{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"},"directories":{},"maintainers":[{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pixora-compress_1.1.3_1783595804739_0.202394560086693"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-03T10:52:27.305Z","modified":"2026-07-09T11:16:45.043Z","1.0.0":"2026-07-03T10:52:27.639Z","1.0.1":"2026-07-03T11:01:17.369Z","1.0.2":"2026-07-03T11:41:59.108Z","1.1.0":"2026-07-09T06:10:41.068Z","1.1.1":"2026-07-09T09:00:55.472Z","1.1.2":"2026-07-09T10:38:13.338Z","1.1.3":"2026-07-09T11:16:44.945Z"},"bugs":{"url":"https://github.com/dhananjayverma/pixora/issues"},"author":{"name":"Dhananjay Verma"},"license":"MIT","homepage":"https://github.com/dhananjayverma/pixora#readme","keywords":["pixora","image","compression","cli","sharp","webp","avif","optimize","resize","convert","png","jpeg","batch","blurhash","lqip","responsive-images","sprite","svgo","audit","benchmark","asset-optimization"],"repository":{"type":"git","url":"git+https://github.com/dhananjayverma/pixora.git"},"description":"Pixora — Automated Asset Pipeline for Modern Web Apps & Developer Asset Optimization Platform.","maintainers":[{"name":"dhananjay_verma9546","email":"dhananjaykumarverma088@gmail.com"}],"readme":"# ⚡ Pixora — Developer Asset Optimization Platform\n\n> Fast, automated, cross-platform Automated Asset Pipeline for Modern Web Apps built on [sharp](https://sharp.pixelplumbing.com/).\n\n[![npm version](https://img.shields.io/npm/v/@dhananjay_verma9546/pixora-compress.svg?style=flat-square&color=7C3AED)](https://www.npmjs.com/package/@dhananjay_verma9546/pixora-compress)\n[![license](https://img.shields.io/npm/l/@dhananjay_verma9546/pixora-compress.svg?style=flat-square)](LICENSE)\n[![node](https://img.shields.io/node/v/@dhananjay_verma9546/pixora-compress.svg?style=flat-square)](package.json)\n\nPixora is an Automated Asset Pipeline for Modern Web Apps. Compress, convert, audit, generate responsive image sets, extract color palettes, bundle sprite sheets, detect subjects using lightweight heuristics, simulate CDNs, run visual diffs, and configure custom workflow engines.\n\n---\n\n## 🔄 Pixora Automation Workflow\n\nHere is how Pixora automates your development pipeline:\n\n```mermaid\ngraph TD\n    A[Staged Images / Assets Folder] --> B[pixora git-hook / pixora scan]\n    B --> C{Rules Engine matched?}\n    C -- Yes --> D[Apply custom actions: resize, convert, lossless]\n    C -- No --> E[Run standard Build Pipeline]\n    \n    E --> E1[1. Smart Quality Compression]\n    E --> E2[2. Convert to WebP + AVIF]\n    E --> E3[3. Generate Responsive Widths]\n    E --> E4[4. Generate BlurHash + LQIP]\n    E --> E5[5. Optimize SVGs via SVGO]\n    \n    E1 & E2 & E3 & E4 & E5 --> F[Generate manifest.json]\n    F --> G[Auto-update HTML/React Image components]\n    G --> H[CDN Upload Simulator / Deployment]\n    H --> I[HTML / JSON / CSV Report & Analytics]\n```\n\n---\n\n## ✨ Features & Capabilities\n\n### 🚀 1. Core Optimization & Compression\n* **In-Place Compression**: Run standard optimizations on existing JPEGs, PNGs, and GIFs using `pixora compress`.\n* **Format Conversion**: Convert files dynamically into modern formats (WebP, AVIF, JPEG, PNG, TIFF) using `pixora convert --to <format>`.\n* **Smart Width Resizing**: Scale images to a specific width without enlargement or aspect ratio distortion.\n* **Target Size Budgeting**: Target a specific file size (e.g. `--max-size 300kb`), dynamically computing the optimal quality parameters.\n* **Smart Quality Rules**: Auto-detects optimal compression quality limits per image type (e.g., Photos compress lower, logos/screenshots keep higher density).\n* **Metadata Stripping**: Preserve or remove EXIF/IPTC/XMP metadata during compression.\n\n### 🌐 2. Generation & Layout Assets\n* **BlurHash Placeholders**: Extracts beautiful CSS-friendly BlurHash strings for instant skeleton loader previews.\n* **LQIP (Low Quality Image Placeholders)**: Generates base64 embedded preview buffers for smooth blur-in loading states.\n* **Responsive Responsive Widths**: Outputs resized versions of an image (320w, 640w, 768w, 1024w, 1440w, 1920w) instantly.\n* **Sprite Sheet Compiler**: Bundles directories of icons into single CSS-mapped sprite sheets.\n* **SVG Optimizer**: Minimizes SVG vectors via built-in SVGO configurations.\n* **App Icon Generator**: Generates full icon assets for iOS, Android, PWAs, Favicons, and Apple Touch previews from a single PNG file.\n* **Open Graph social previews**: Smart Attention-cropping for social network dimensions (Facebook, Twitter Cards, Discord, WhatsApp).\n\n### 📊 3. Analysis, Auditing & Scanners\n* **Project Scanner (`pixora scan`)**: Crawls code directories (`.html`, `.jsx`, `.tsx`, etc.) to find broken image links, missing `loading=\"lazy\"` tags, unused media, and duplicate visual assets.\n* **Heuristic Subject Detection**: Detects layout structures (portrait, landscape, square), text-density layout blocks, and counts faces via skin-tone heuristics.\n* **Visual Diff Metric Comparison**: Computes SSIM (Structural Similarity Index), PSNR, and MSE to analyze image degradation.\n* **Visual Diff Heatmaps**: Outputs a visual blue-to-red diff overlay image highlighting exact pixel alterations.\n* **Interactive Performance Scorer**: Rates folders 0–100 on modern layout choices, metadata footprint, and format optimization.\n\n### ⚙️ 4. Automation & Integration\n* **Workflow Engine (`pixora workflow`)**: Chain scan, build, report, API, and analytics steps using custom YAML/JSON step files.\n* **Rules Engine (`pixora rules`)**: Apply custom conditionals to folders (e.g., `if: size > 2MB → action: [compress, resize:1920]`).\n* **Git Commit hook**: Pre-commit hook optimizing newly added staged images automatically during every `git commit`.\n* **Framework Recipes**: Special templates for `nextjs`, `react`, `vite`, and `astro` projects.\n* **Dev Server & CDN Simulator**: Run a local dev server simulating on-the-fly transformations (e.g. `?w=300&format=webp`).\n* **Interactive Web Dashboard**: Graphical charts showing savings, format distributions, and CDN statistics served at `/__dashboard`.\n* **VS Code Extension**: Optimize assets and run audits directly from your editor.\n\n---\n\n## 📥 Installation\n\n```bash\n# Install globally for CLI usage\nnpm install -g @dhananjay_verma9546/pixora-compress\n\n# Or add locally to your project's devDependencies\nnpm install --save-dev @dhananjay_verma9546/pixora-compress\n\n# Or run instantly without installation\nnpx @dhananjay_verma9546/pixora-compress build ./assets\n```\n\n---\n\n## 🚀 CLI Commands Reference\n\n### 1. Build Pipeline\nOptimizes all images, generates responsive sets, optimizes SVGs, and outputs a `manifest.json`:\n```bash\npixora build ./src/assets -o ./dist/public -q 80\n```\n\n### 2. Project Scanner\nScan code files and folder structures for broken paths, missing formats, duplicates, and missing `loading=\"lazy\"` tags:\n```bash\n# Scan and print issues\npixora scan ./src\n\n# Scan and automatically resolve duplicates, compress large images, and generate formats\npixora scan ./src --fix\n```\n\n### 3. Image Analysis & Performance Score\n```bash\n# Analyze layout type, transparent channels, and details\npixora analyze ./assets/hero.png\n\n# Grade folder layout, sizing, and formats from 0-100\npixora score ./assets\n```\n\n### 4. Extract Palette\nExtracts a 5-color semantic brand palette and formats for CSS variables or Tailwind configs:\n```bash\npixora palette logo.png --tailwind\n```\n\n### 5. App Icons & Social Open Graph Assets\n```bash\npixora icons icon.png -o ./public/icons\npixora og image.png -o ./public/og\n```\n\n### 6. Difference Heatmaps\nGenerate structural diff heatmaps comparing original and optimized files:\n```bash\npixora compare original.jpg compressed.webp --heatmap\n```\n\n### 7. CDN Dev Server & Web Dashboard\n```bash\n# Start local server on port 4000 and open live dashboard\npixora dashboard ./assets -p 4000\n```\n\n---\n\n## ⚙️ Rules & Workflows\n\n### Rules Config (`rules.json`)\n```json\n{\n  \"rules\": [\n    {\n      \"if\": \"size > 2MB\",\n      \"action\": [\"compress\", \"resize:1920\"]\n    },\n    {\n      \"if\": \"extension == png\",\n      \"action\": [\"convert:webp\"]\n    }\n  ]\n}\n```\nRun rules:\n```bash\npixora rules ./assets -c ./rules.json\n```\n\n### Workflow Config (`workflow.json`)\n```json\n{\n  \"name\": \"Production Optimization\",\n  \"steps\": [\n    \"scan\",\n    \"build\",\n    \"report\"\n  ]\n}\n```\nRun workflow:\n```bash\npixora workflow ./workflow.json ./assets\n```\n\n---\n\n## 💎 Framework Recipes\n\nRun specialized integration recipes for your chosen framework workspace:\n```bash\n# Automatically optimize and wire assets in React, Next.js, Vite, or Astro\npixora recipe nextjs ./my-next-app\npixora recipe react ./my-react-app\npixora recipe astro ./my-astro-app\n```\n\n---\n\n## ⚓ Git Integration\n\nInstall the automatic pre-commit hook:\n```bash\npixora git-hook ./\n```\nEvery `git commit` will automatically detect, optimize, and replace staged images.\n\n## 🔌 Integrations & Ecosystem\n\nPixora provides a full developer asset optimization ecosystem with various integrations:\n\n### 1. VS Code Extension\nLocated in [vscode-extension/](file:///Users/laptopbazaar/Desktop/image/vscode-extension), this extension lets you optimize and audit assets directly within your editor.\n* **Right-Click Compression**: Right-click any image in the explorer sidebar and select **Pixora: Compress Image** to optimize it in-place.\n* **Workspace Auditing**: Command **Pixora: Audit Workspace for Unoptimized Assets** highlights which files are missing modern formats or need optimization.\n* For more details, see the [vscode-extension/README.md](file:///Users/laptopbazaar/Desktop/image/vscode-extension/README.md).\n\n### 2. Vite Plugin\nRuns as a build-time step during `vite build` to optimize and convert assets automatically in the output bundle.\n```typescript\nimport { pixoraPlugin } from '@dhananjay_verma9546/pixora-compress/plugins/vite';\n\nexport default {\n  plugins: [\n    pixoraPlugin({\n      quality: 80,\n      formats: ['webp', 'avif']\n    })\n  ]\n}\n```\n\n### 3. Next.js Plugin\nAutomatically optimizes your `public/` directory assets during Next.js production builds.\n```javascript\nconst { withPixora } = require('@dhananjay_verma9546/pixora-compress/plugins/next');\n\nmodule.exports = withPixora({\n  // Your nextConfig\n}, {\n  quality: 80,\n  formats: ['webp']\n});\n```\n\n### 4. GitHub Action\nIntegrate Pixora directly into your CI/CD pipelines to validate, optimize, and automatically commit compressed assets.\n```yaml\n- name: Pixora Asset Optimizer\n  uses: ./ # References the root action.yml\n  with:\n    input: './public/images'\n    quality: '85'\n    formats: 'webp,avif'\n    commit-changes: 'true'\n```\n\n### 5. Docker Support\nPixora can run in a sandboxed Docker container, preconfigured to host the Local REST API server.\n```bash\n# Build the image\ndocker build -t pixora-platform .\n\n# Run the REST API server on port 3333\ndocker run -p 3333:3333 pixora-platform\n```\n\n### 6. Local REST API Mode\nStart a dedicated asset optimization and analytics microservice locally:\n```bash\npixora api --port 3333\n```\n* **POST `/compress`**: Compresses an image file on disk or accepts raw binary / multipart uploads.\n* **POST `/analyze`**: Analyzes the layout type, transparent channels, and details.\n* **POST `/palette`**: Extracts a semantic color palette.\n* **POST `/score`**: Grades project assets folder layout, sizing, and formats.\n* **POST `/meta`**: Extracts file metadata.\n\n---\n\n## 📦 Programmatic API\n\nYou can also import Pixora directly in your Node.js scripts and build files:\n\n```typescript\nimport { compress } from '@dhananjay_verma9546/pixora-compress';\n\nconst result = await compress('./images/hero.png', {\n  output: './dist',\n  formats: ['webp', 'avif'],\n  width: 1200,\n  quality: 80\n});\n\nconsole.log(`Saved ${result.summary.savedPercent}%`);\n```\n\n---\n\n## 🛡️ License & Privacy\n\n* **License**: MIT License. Copyright (c) 2026.\n* **Privacy Policy**: Pixora is a local-first application. It does not collect or transmit any personal data or assets. See [PRIVACY.md](file:///Users/laptopbazaar/Desktop/image/PRIVACY.md) for full details.\n","readmeFilename":"README.md"}