Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imagemin/imagemin-micro
Microservice for Imagemin
https://github.com/imagemin/imagemin-micro
Last synced: 3 months ago
JSON representation
Microservice for Imagemin
- Host: GitHub
- URL: https://github.com/imagemin/imagemin-micro
- Owner: imagemin
- License: mit
- Created: 2015-02-22T12:47:51.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2021-05-29T13:39:24.000Z (over 3 years ago)
- Last Synced: 2024-11-02T12:35:03.762Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 61
- Watchers: 8
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome-micro - imagemin-micro - Minify images (Built with Micro / Utilities)
README
# imagemin-micro [![Build Status](https://travis-ci.org/imagemin/imagemin-micro.svg?branch=master)](https://travis-ci.org/imagemin/imagemin-micro)
> Microservice for Imagemin
## Install
```
$ npm install --global imagemin-micro
```## Usage
```
$ imagemin-micro
``````
$ curl -X POST http://localhost:3000?url=http://foo.bar/unicorn.png > minified-unicorn.png
$ cat unicorn.png | curl -X POST --data-binary @- http://localhost:3000 > minified-unicorn.png
```## License
MIT © [imagemin](https://github.com/imagemin)