How to use Stream Pipe and Transform in Node.js

Example use of stream pipe and transform in Node.js. Useful for processing large data and passing it through another process.