resize-with-sharp-or-jimp
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -10,4 +10,4 @@ /*try { | ||
const file = await Jimp.read(fromFileName); | ||
await file.resize(width, Jimp.AUTO).write(toFileName); | ||
await file.resize(width, Jimp.AUTO).writeAsync(toFileName); | ||
}; | ||
//} |
{ | ||
"name": "resize-with-sharp-or-jimp", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Resize images with sharp. Switch to the slower jimp if sharp cannot be installed", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
2009