Node module that takes a string and an optional parameter and returns a string with a new line appended or prepended to it