1 # indent-string [![Build Status](https://travis-ci.org/sindresorhus/indent-string.svg?branch=master)](https://travis-ci.org/sindresorhus/indent-string)
3 > Indent each line in a string
9 $ npm install indent-string
16 const indentString = require('indent-string');
18 indentString('Unicorns\nRainbows', 4);
22 indentString('Unicorns\nRainbows', 4, {indent: '♥'});
30 ### indentString(input, [count], [options])
36 String you want to indent.
43 How many times you want `indent` repeated.
54 String to use for the indent.
56 ##### includeEmptyLines
61 Also indent empty lines.
66 - [indent-string-cli](https://github.com/sindresorhus/indent-string-cli) - CLI for this module
67 - [strip-indent](https://github.com/sindresorhus/strip-indent) - Strip leading whitespace from every line in a string
72 MIT © [Sindre Sorhus](https://sindresorhus.com)