tinypng
tinypng in node.js
Installation
$ npm install tinypng2
Example
const tinypng = key: '-- YOUR LICENSE KEY HERE --'; async { const output = await ; console; await output; // resize - fit const fit = await output; await fit; };
CLI Usage
~$ tinypng input.png output.png
Contributing
- Fork this Repo first
- Clone your Repo
- Install dependencies by
$ npm install
- Checkout a feature branch
- Feel free to add your features
- Make sure your features are fully tested
- Publish your local branch, Open a pull request
- Enjoy hacking <3
MIT
This work is licensed under the MIT license.