aspect-ratio 0.0.2

Scale a 2D rect to fit or cover one or more bounds, optionally preserving aspect-ratio
Documentation