Import third party lib in datasource plugin development

Hi,
I am developing a custom datasource where in I need to import socket.io-client library. I am doing npm install --save socket.io-cilent in my plugin and using import statement to import io object. However system js is not able to find the library and get the following error:

SimpleJson plugin failed
Error: Fetch error: 404 Not Found Instantiating http://ha1-vm.interactcrm.com/grafana/public/socket.io-client Loading http://ha1-vm.interactcrm.com/grafana/public/plugins/grafana-simple-json-datasource/datasource.js Loading plugins/grafana-simple-json-datasource/module