In enterprise, I would never ever trust npm/yarn and all those projects downloading unknown libraries.
In enterprise I believe the less you use JavaScript the better it is. Maybe you might want to use only jQuery but you should maybe stay on Vanilla JS.