UNPKG

@the-node-forge/image-resizer-cli

Version:

A fast and lightweight CLI tool for resizing, compressing, and converting images in multiple formats (JPEG, PNG, WebP, etc.). Supports batch processing, custom dimensions, and high-quality optimization using Sharp. Ideal for developers, designers, and aut

95 lines (94 loc) 2.75 kB
{ "name": "@the-node-forge/image-resizer-cli", "version": "1.1.0", "description": "A fast and lightweight CLI tool for resizing, compressing, and converting images in multiple formats (JPEG, PNG, WebP, etc.). Supports batch processing, custom dimensions, and high-quality optimization using Sharp. Ideal for developers, designers, and automation scripts.", "main": "dist/bin/cli.js", "bin": { "img-resizer": "dist/bin/cli.js" }, "types": "dist/index.d.ts", "scripts": { "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "format": "prettier --write .", "format:check": "prettier --check .", "lint": "eslint . --ignore-pattern dist/", "lint:fix": "eslint . --fix --ignore-pattern dist/", "prepublishOnly": "npm run build", "build": "tsc", "start": "node dist/bin/cli.js", "docs:generate": "typedoc --plugin typedoc-plugin-markdown --out docs/api src/index.ts", "docs:build": "npm run docs:generate && cd docs && npm run build", "docs:start": "npm run docs:generate && cd docs && npm start", "docs:clean": "rm -rf docs/build && npm run docs:generate && npm run docs:build", "docs:deploy": "cd docs && npm run deploy" }, "repository": { "type": "git", "url": "https://github.com/The-Node-Forge/image-resizer-cli" }, "keywords": [ "image", "image-resizer", "resize", "cli", "sharp", "image-processing", "typescript", "javascript", "node-cli", "batch-resize", "image-tools", "jpeg", "png", "webp", "photo", "image-compression", "the-node-forge", "thumbnail", "image-converter", "compress", "image-optimizer", "image-scaler", "photo-resizer", "media-processing", "graphics", "photo-editor", "node-image-tool" ], "author": { "name": "Lanny MacMillan", "url": "https://github.com/Lanny-MacMillan" }, "license": "MIT", "files": [ "dist", "README.md" ], "devDependencies": { "@eslint/compat": "^1.2.5", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.19.0", "@types/jest": "^29.5.14", "@typescript-eslint/eslint-plugin": "^8.22.0", "@typescript-eslint/parser": "^8.22.0", "eslint": "^9.19.0", "eslint-config-prettier": "^10.0.1", "eslint-import-resolver-typescript": "^3.7.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.3", "globals": "^15.14.0", "jest": "^29.7.0", "prettier": "^3.4.2", "ts-jest": "^29.2.5", "typedoc": "^0.27.6", "typedoc-plugin-markdown": "^4.4.1", "typescript": "^5.7.3" }, "dependencies": { "chalk": "^4.1.2", "commander": "^13.1.0", "sharp": "^0.33.5" } }