Type definitions and low level interface implementations for the W3C Resize Observer specification.
spago install web-resize-observer
Module documentation is published on Pursuit.
You can see a simple example here (source). Or, to build it yourself, just run npm run-script example
.