Indent Indents a string. Install npm install indent Usage var ident = require('indent') indent('hello\nworld') // => ' hello\n world' // specify amount indent('hello\nworld', ' ') // => ' hello\n world'