New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@growdashtech/webpconvert

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@growdashtech/webpconvert

CLI Converter from png/jpg images to webp

latest
Source
npmnpm
Version
3.0.6
Version published
Maintainers
2
Created
Source

WebpConvert

CLI Converter from png/jpg images to webp

Build Status version downloads MIT License

contributions welcome Watch on GitHub Star on GitHub Tweet

Usage

  • Install webpconvert
    npm install -g webpconvert
    
  • Run this command
    webpconvert [source] [target] [options]
    
    # Example
    webpconvert
    webpconvert sample-images
    webpconvert sample-images -q 50
    webpconvert sample-images output
    webpconvert sample-images -m
    webpconvert sample-images/KittenJPG.jpg
    

Help

webpconvert --help

Use npx for one time usage

npx webpconvert [source] [target] [options]

Options

OptionOption aliasDescriptionTypeDefault
-p--prefixSpecify the prefix of output filename.string""
-s--suffixSpecify the suffix of output filename.string""
-q--qualitySpecify the quality of webp image. Lower values yield better compression but the least image quality.number80
-r--recursiveInclude files in sub-folders. Will be ignored if the [source] is a file.boolean
-m--muteDisable output messages.boolean
-h--helpShow help.boolean
-v--versionShow version number.boolean

Contributing

  • Fork this repo
  • Develop
  • Create pull request
  • Tag @rizqirizqi for review
  • Merge~~

Start

yarn start [source] [target] [options]

Test

# Run test:
yarn test
# Update snapshot files:
yarn test -u

Lint

yarn lint

License

MIT

Keywords

cli

FAQs

Package last updated on 05 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts