@imageengine/imageengine-helpers
Advanced tools
+6
-0
@@ -9,6 +9,10 @@ "use strict"; | ||
| height: "h", | ||
| autoWidthWithFallback: "w_auto", | ||
| auto_width_fallback: "w_auto", | ||
| scaleToScreenWidth: "pc", | ||
| scale_to_screen_width: "pc", | ||
| crop: "cr", | ||
| outputFormat: "f", | ||
| format: "f", | ||
| fitMethod: "m", | ||
| fit: "m", | ||
@@ -19,3 +23,5 @@ compression: "cmpr", | ||
| inline: "in", | ||
| keepMeta: "meta", | ||
| keep_meta: "meta", | ||
| noOptimization: "pass", | ||
| no_optimization: "pass" | ||
@@ -22,0 +28,0 @@ }; |
+6
-0
@@ -7,6 +7,10 @@ export declare type IEFormat = "png" | "gif" | "jpg" | "bmp" | "webp" | "jp2" | "svg" | "mp4" | "jxr" | "avif"; | ||
| auto_width_fallback?: number; | ||
| autoWidthWithFallback?: number; | ||
| scale_to_screen_width?: number; | ||
| scaleToScreenWidth?: number; | ||
| crop?: [number, number, number, number]; | ||
| format?: IEFormat; | ||
| outputFormat?: IEFormat; | ||
| fit?: IEFit; | ||
| fitMethod?: IEFit; | ||
| compression?: number; | ||
@@ -17,3 +21,5 @@ sharpness?: number; | ||
| keep_meta?: true; | ||
| keepMeta?: true; | ||
| no_optimization?: true; | ||
| noOptimization?: true; | ||
| } |
+1
-1
| { | ||
| "name": "@imageengine/imageengine-helpers", | ||
| "version": "0.0.4", | ||
| "version": "0.0.5", | ||
| "description": "A set of helper functions to generate ImageEngine custom urls with valid directives", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/imgeng/imageengine-helpers", |
8102
4.23%125
10.62%