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

avif

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avif - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

4

lib/cli.js

@@ -12,4 +12,4 @@ const yargs = require("yargs");

type: "string",
default: process.cwd(),
description: "Output directory",
default: "",
description: "Output directory, default is same directory as input",
})

@@ -16,0 +16,0 @@ .option("quality", {

{
"name": "avif",
"version": "0.0.4",
"version": "0.1.0",
"description": "Command line utility to convert images to AVIF",

@@ -27,9 +27,9 @@ "author": "Lovell Fuller <npm@lovell.info>",

"dependencies": {
"glob": "^7.1.7",
"sharp": "^0.29.0",
"yargs": "^17.1.1"
"glob": "^7.2.0",
"sharp": "^0.29.3",
"yargs": "^17.3.0"
},
"devDependencies": {
"prettier": "^2.3.2"
"prettier": "^2.5.1"
}
}
# avif-cli
Command line utility to convert images to AVIF, requires Node.js 10+
Command line utility to convert images to AVIF, requires Node.js 12.13.0+

@@ -18,15 +18,18 @@ ## Usage

```
--input Input file name(s), supports globs/wildcards
--input Input file name(s), supports globs/wildcards
[string] [default: "*.{jpg,jpeg,tif,tiff,webp,png,gif,svg}"]
--output Output directory [string] [default: "/home/user"]
--quality Quality vs file size, 1 (lowest/smallest) to 100
(highest/largest) [number] [default: 50]
--speed CPU effort vs file size, 0 (slowest/smallest) to 8
(fastest/largest) [number] [default: 5]
--lossless Use lossless compression [boolean] [default: false]
--overwrite Allow existing output files to be overwritten
--output Output directory
[string] [default: "/home/user"]
--quality Quality vs file size, 1 (lowest/smallest) to 100
(highest/largest) [number] [default: 50]
--speed CPU effort vs file size, 0 (slowest/smallest) to 8
(fastest/largest) [number] [default: 5]
--lossless Use lossless compression [boolean] [default: false]
--chromaSubsampling Set to '4:2:0' to use chroma subsampling
[string] [default: "4:4:4"]
--overwrite Allow existing output files to be overwritten
[boolean] [default: false]
--verbose Write progress to stdout [boolean] [default: false]
-h, --help Show help [boolean]
--version Show version number [boolean]
--verbose Write progress to stdout [boolean] [default: false]
-h, --help Show help [boolean]
--version Show version number [boolean]
```

@@ -33,0 +36,0 @@

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