Use pnpm!
That's no longer necessary for security; npm doesn't run install scripts by default anymore.
Every node package manager disables preinstall scripts by default now!
That's no longer necessary for security; npm doesn't run install scripts by default anymore.