https://github.com/catdad-experiments/pngmin-cli
🗜 a piping cli for optimizing png images
https://github.com/catdad-experiments/pngmin-cli
cli imagemin pipe png pngquant
Last synced: 10 months ago
JSON representation
🗜 a piping cli for optimizing png images
- Host: GitHub
- URL: https://github.com/catdad-experiments/pngmin-cli
- Owner: catdad-experiments
- Created: 2020-02-14T01:19:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-14T04:01:34.000Z (over 6 years ago)
- Last Synced: 2025-07-10T18:29:36.149Z (11 months ago)
- Topics: cli, imagemin, pipe, png, pngquant
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pngmin-cli
> A piping CLI for optimizing PNG images
[![travis][travis.svg]][travis.link]
[![npm-downloads][npm-downloads.svg]][npm.link]
[![npm-version][npm-version.svg]][npm.link]
[travis.svg]: https://travis-ci.com/catdad-experiments/pngmin-cli.svg?branch=master
[travis.link]: https://travis-ci.com/catdad-experiments/pngmin-cli
[npm-downloads.svg]: https://img.shields.io/npm/dm/pngmin-cli.svg
[npm.link]: https://www.npmjs.com/package/pngmin-cli
[npm-version.svg]: https://img.shields.io/npm/v/pngmin-cli.svg
You put a PNG in and get a smaller PNG out. It's that simple.
```bash
npx pngmin-cli < original.png > optimized.png
```
This is a wrapper around the wonderful [`imagemin`](https://github.com/imagemin/imagemin) using `pngquant`. If you are already using those tools, this CLI will not give you better output. If you like dealing with images but hate dealing with files, this CLI is for you.