You might want to check out RequireJS or Ender .
[Refresh]
Today, March 31, 2017, there are many different package managers and / or tools that you could use to manage external libraries (npm, bower, rollup, etc.), but currently I have found Yarn and Webpack 2 most interesting.
source share