{"library":"gzip-cli","type":"library","category":null,"description":"gzip-cli is a command-line interface (CLI) and Node.js module designed for compressing files using both Gzip and Brotli algorithms. It provides robust functionality for specifying glob patterns to target files, defining custom output directories, and applying multiple compression extensions (e.g., .gz and .br) in a single command or programmatic call. The package supports ignoring specific file patterns and preserves the original directory structure when outputting compressed files. The current stable version, 1.2.0, was released in December 2020. The project does not adhere to a fixed release cadence. Its key differentiators include comprehensive support for both Gzip and Brotli, dual interfaces for CLI and programmatic usage, and integrated TypeScript types, enhancing developer experience in TypeScript-based projects. It is primarily used in Node.js environments for optimizing static assets during build processes.","language":"javascript","status":"abandoned","version":"1.2.0","tags":["javascript","gzip-cli","gzip","brotli-cli","brotli","glob","cli","zip","zlip","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install gzip-cli","imports":["import { gzip } from 'gzip-cli';","const { gzip } = require('gzip-cli');","gzip dist/**/*.js --extension=gz --extension=br"]},{"cmd":"yarn add gzip-cli","imports":[]},{"cmd":"pnpm add gzip-cli","imports":[]}],"homepage":null,"github":"https://github.com/pakhuta/gzip-cli","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gzip-cli","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/gzip-cli/compatibility"}}