@imageengine/imageengine-helpers
Advanced tools
+1
-1
| { | ||
| "name": "@imageengine/imageengine-helpers", | ||
| "version": "0.1.0", | ||
| "version": "0.1.1", | ||
| "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", |
+9
-6
@@ -31,3 +31,4 @@ A tiny set of helpers and TS types for building [ImageEngine](https://imageengine.io) query URLs for your distribution. | ||
| "letterbox" | | ||
| "cropbox" ; | ||
| "cropbox" | | ||
| "outside" ; | ||
@@ -54,2 +55,3 @@ | ||
| no_optimization?: true; // don't apply IE optimizations | ||
| force_download?: true; | ||
| }; | ||
@@ -66,6 +68,7 @@ ``` | ||
| height: 200, | ||
| fit: "cropbox", | ||
| fit: "cropbox", | ||
| compression: 10, | ||
| inline: true, | ||
| format: "png" | ||
| format: "png", | ||
| force_download: true | ||
| }; | ||
@@ -78,3 +81,3 @@ | ||
| /* | ||
| "https://my_ie_distribution.imgeng.io/path/to_asset1.jpg?imgeng=/w_400/h_200/m_cropbox/cmpr_10/in_true/f_png" | ||
| "https://my_ie_distribution.imgeng.io/path/to_asset1.jpg?imgeng=/w_400/h_200/m_cropbox/cmpr_10/in_true/f_png/dl_true" | ||
| */ | ||
@@ -85,3 +88,3 @@ | ||
| /* | ||
| "/w_400/h_200/m_cropbox/cmpr_10/in_true/f_png" | ||
| "/w_400/h_200/m_cropbox/cmpr_10/in_true/f_png/dl_true" | ||
| */ | ||
@@ -92,4 +95,4 @@ | ||
| /* | ||
| "?imgeng=/w_400/h_200/m_cropbox/cmpr_10/in_true/f_png" | ||
| "?imgeng=/w_400/h_200/m_cropbox/cmpr_10/in_true/f_png/dl_true" | ||
| */ | ||
| ``` |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8272
1.17%93
3.33%0
-100%