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

check-images

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-images - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

index.js

@@ -54,2 +54,5 @@ /**

.save(filePath + '/' + filename);
console.log(filename + '已被拉伸1像素');
}

@@ -56,0 +59,0 @@ else {

5

package.json
{
"name": "check-images",
"version": "1.0.0",
"dependencies": {
"images": "^3.0.0"
},
"version": "1.0.1",
"description": "Check whether the height of the picture is in line with the specification",

@@ -5,0 +8,0 @@ "main": "index.js",

# check-images
简单的切图自动化工具,用来检测sprite中的图片是否符合规范(高度必须为偶数),防止合成单倍精灵图时position出错
简单的切图自动化工具,用来检测sprite中的图片是否符合规范(高度必须为偶数),防止合成单倍精灵图时position出错,
如遇到不符合规范的图片,则会自动拉伸1像素

@@ -6,0 +7,0 @@ ## Installation

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