Node.js OpenCV: Converting an image to grey scale

How to convert an image to grey scale using OpenCV and Node.js