UNPKG

@mongez/gnz

Version:

Generator Z, the next generation of scaffolding tools.

21 lines (20 loc) 530 B
import*as os from'os';/** * Generate new line before and after the text * Use proper line separator for the current OS */ const lineSeparator = (text) => { return `${os.EOL}${text}${os.EOL}`; }; /** * Generate only line before the text */ const lineBefore = (text) => { return `${os.EOL}${text}`; }; /** * Generate only line after the text */ const lineAfter = (text) => { return `${text}${os.EOL}`; }; const newLine = os.EOL;export{lineAfter,lineBefore,lineSeparator,newLine};//# sourceMappingURL=lines.js.map