Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webpconvert

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpconvert

CLI Converter from png/jpg images to webp

  • 3.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
71
decreased by-1.39%
Maintainers
1
Weekly downloads
 
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

  1. Install webpconvert
    npm install -g webpconvert
    
  2. 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

  1. Fork this repo
  2. Develop
  3. Create pull request
  4. Tag @rizqirizqi for review
  5. Merge~~

Start

yarn start [source] [target] [options]

Test

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

Lint

yarn lint

License

MIT

Keywords

FAQs

Package last updated on 18 Jun 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc