intrinsic-scale (npm): Replicate background-size: cover/contain (scale+crop) for canvas/CSS/Node/… on any type of media.
Keywords: background-size|browser|canvas|contain|cover|crop|css|image|intrinsic|media|object-fit|scale|video|webcam