slurp


function slurp(path:String) -> Buffer

Read the whole contents of a file into a buffer.

  • path Path of the file.

Returns the contents.