This is simple MutationObserver api experiment. Example code allows to explore mutation object passed into mutation observer callback while adding and removing elements into observed element.
npm i
Note live-server
is only a convinience dependency.
There are no external external code dependencies.
Start as regular node app.
npm start
Open the console, press buttons and explore.