title: Passing numpy arrays from python to javascript
body: <p>I have a written a source program in python that calculates and returns a numpy array of 3 numbers. Now ,i am trying to pass this array to a javascript front end program to display.
  So far , i have tried using a child process in js invoking the python program, but i am stuck in the array transfer part. 
  I have also looked at python-shell npm package , but have no idea how to work with it.
  How do i proceed? 
  Is it better if i convert the array to a json file and send the json to the js program?</p>