Closed jgradim closed 1 year ago
This repo isn't actively maintained anymore, but I just updated it to modernise it a bit (https://github.com/unitedwardrobe/imgproxy-node/commit/d3bbd168b763dfa7de29784c848785723a8cdbc6). I'm not a maintainer of the NPM repository, but I've asked for it to be deployed. This would include this change as well.
@remq looks great, thank you!
Currently,
setOption
can't be used as an alternative for missing options in theBuilder
class due to not returning any value. By returningthis
, we can usesetOption
in the same way asformat
,resize
, etc, and keep the API consistent and predictable.Before
After