photo-watermark-cli
Version:
A modern TypeScript CLI tool to add timestamp watermarks to photos with intelligent size scaling
88 lines (87 loc) • 2.39 kB
JSON
{
"name": "photo-watermark-cli",
"version": "1.0.6",
"description": "A modern TypeScript CLI tool to add timestamp watermarks to photos with intelligent size scaling",
"main": "dist/lib/watermark.js",
"types": "dist/lib/watermark.d.ts",
"bin": {
"photo-watermark": "./dist/bin/watermark.js",
"watermark": "./dist/bin/watermark.js"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"files": [
"dist/",
"README.md"
],
"scripts": {
"build": "tsc",
"dev": "tsx src/bin/watermark.ts add",
"start": "npm run build && node dist/bin/watermark.js add",
"test": "npm run build && node dist/test.js",
"demo": "npm run build && node dist/bin/watermark.js add",
"config": "npm run build && node dist/bin/watermark.js config",
"help": "npm run build && node dist/bin/watermark.js --help",
"version": "npm run build && node dist/bin/watermark.js --version",
"prepare": "npm run build",
"clean": "rm -rf dist"
},
"keywords": [
"watermark",
"photo",
"image",
"timestamp",
"cli",
"exif",
"batch-processing",
"photography",
"metadata",
"sharp",
"nodejs"
],
"author": {
"name": "Tao Siqi",
"email": "taosiqi@outlook.com"
},
"license": "MIT",
"homepage": "https://github.com/taosiqi/photo-watermark-cli#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/taosiqi/photo-watermark-cli.git"
},
"bugs": {
"url": "https://github.com/taosiqi/photo-watermark-cli/issues"
},
"dependencies": {
"chalk": "^5.3.0",
"commander": "^12.1.0",
"exif-reader": "^2.0.1",
"glob": "^11.0.0",
"inquirer": "^8.2.6",
"moment": "^2.30.1",
"ora": "^8.1.0",
"sharp": "^0.33.5"
},
"devDependencies": {
"@types/inquirer": "^8.2.10",
"@types/node": "^22.8.7",
"tsx": "^4.19.2",
"typescript": "^5.6.3"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64"
],
"funding": {
"type": "github",
"url": "https://github.com/sponsors/taosiqi"
},
"preferGlobal": true
}