@crazyfactory/webp-converter-cli
a cli tool to convert images to webp format.
Last updated 10 months ago by z3niths .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @crazyfactory/webp-converter-cli 
SYNC missed versions from official npm registry.

webp-converter-cli

npm Build Status dependencies Status devDependencies Status semantic-release Greenkeeper badge

Based on hoipo/webp-converter-cli

The CommandLine tool for converting jpg or png files to webp, recursively.

Awsome featurn ✧٩(ˊωˋ*)و✧

This tool would search the jpg or png files by the head infomation with the files, so even the files without the ext name,they also would be found and be converted.

so enjoy it !

Installation

$ npm i -g @crazyfactory/webp-converter-cli

Usage

webp-converter-cli allow you to convert your images within the current directory, recursively or not.

After installation, just run command webpc in ternimal.

To convert all images within the current directory and subdirectoies, use the -r flag

$ webpc -r

To convert the specific image files (assets/img.jpg in this example), you may run the following command.

$ webpc -f assets/img.jpg

or

$ webpc -f assets/img1.jpg,assets/img2.png

for more help infomation, you could run the -h flag to check it out.

$ webpc -h

License

Copyright (c) 2016 Hoipo Cheung

Licensed under the MIT license.

See LICENSE for more info.

Current Tags

  • 1.4.0                                ...           latest (10 months ago)

6 Versions

  • 1.4.0                                ...           10 months ago
  • 1.3.0                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
Downloads
Today 0
This Week 9
This Month 9
Last Day 1
Last Week 0
Last Month 8
Dependencies (8)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |