Fair point, but there are standard ways to package npm deps in Debian: https://packages.debian.org/buster-backports/npm2deb
For restricted environments limited to things you can get from standard repos this is the only way to get NPM deps.
For restricted environments limited to things you can get from standard repos this is the only way to get NPM deps.