I don’t think this makes any sense to put into the main project—these should just be developed as plugins.
require npms in your project does not work? I wonder.
I think I agree that they should be plugins. Then you could argue that all language support should be in the form of a plugin.