How i can add a external package for my panel?

I want install with npm a package and use this package for example in the module.js.