> The problem with using npm is that some javascript helpers will have python
> code that goes with it.  The Python side of things has the logic for
> building the JSON representations, etc.

You will probably have Js only plugin. 
Anyway I'll make that on my todo list to look at.