SyntaxFix
Write A Post
Hire A Developer
Questions
the data object is a buffer of bytes. Simply call .toString() to get human-readable code:
.toString()
console.log( data.toString() );
reference: Node.js buffers