ESM
Since this version, crop-node
is using ESM module declaration. This means you either have to use node@^13.7.0 or esm
.
The detect-only
options is deprecated in favor of the package detect-edges
.
The input can now be a either a path to an image (old behavior) or a tainted canvas.