exposed the function inside package library that accepts file buffers from the pipe function
added packages needed in package.json