color-extraction
Advanced tools
Comparing version 0.3.2 to 0.3.3
{ | ||
"name": "color-extraction", | ||
"version": "0.3.2", | ||
"description": "从图像中获取主色或调色板。", | ||
"version": "0.3.3", | ||
"description": "Gets the dominant color or color palette in the image and the color name in English and Chinese.", | ||
"main": "dist/color-extraction.umd.js", | ||
"module": "dist/color-extraction.mjs", | ||
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "vite build" | ||
"build": "vite build && tsc" | ||
}, | ||
@@ -14,4 +15,18 @@ "files": [ | ||
], | ||
"author": "lostElk", | ||
"license": "ISC", | ||
"author": { | ||
"name": "LostElk", | ||
"email": "lostelk.email@gmail.com", | ||
"url": "https://lostelk.cn" | ||
}, | ||
"keywords": [ | ||
"color", | ||
"palette", | ||
"sampling", | ||
"extraction", | ||
"image", | ||
"picture", | ||
"photo", | ||
"canvas" | ||
], | ||
"license": "MIT", | ||
"dependencies": { | ||
@@ -24,4 +39,5 @@ "colord": "^2.9.3", | ||
"@types/node": "^20.8.3", | ||
"rollup-plugin-visualizer": "^5.9.2", | ||
"vite": "^4.4.11" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1121544
27
34856
3
3