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 --save indent-string
16 var indentString = require('indent-string');
18 indentString('Unicorns\nRainbows', '♥', 4);
26 ### indentString(string, indent, count)
33 The string you want to indent.
40 The string to use for the indent.
47 How many times you want `indent` repeated.
52 - [indent-string-cli](https://github.com/sindresorhus/indent-string-cli) - CLI for this module
53 - [strip-indent](https://github.com/sindresorhus/strip-indent) - Strip leading whitespace from every line in a string
58 MIT © [Sindre Sorhus](http://sindresorhus.com)