{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["indent","string","str","pad","align","line","text"],"dist-tags":{"latest":"3.1.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"description":"Indent each line in a string","readme":"# indent-string [![Build Status](https://travis-ci.org/sindresorhus/indent-string.svg?branch=master)](https://travis-ci.org/sindresorhus/indent-string)\n\n> Indent each line in a string\n\n\n## Install\n\n```\n$ npm install --save indent-string\n```\n\n\n## Usage\n\n```js\nconst indentString = require('indent-string');\n\nindentString('Unicorns\\nRainbows', 4);\n//=> '    Unicorns'\n//=> '    Rainbows'\n\nindentString('Unicorns\\nRainbows', 4, '♥');\n//=> '♥♥♥♥Unicorns'\n//=> '♥♥♥♥Rainbows'\n```\n\n\n## API\n\n### indentString(input, [count], [indent])\n\n#### input\n\nType: `string`\n\nString you want to indent.\n\n#### count\n\nType: `number`<br>\nDefault: `1`\n\nHow many times you want `indent` repeated.\n\n#### indent\n\nType: `string`<br>\nDefault: `' '`\n\nString to use for the indent.\n\n\n## Related\n\n- [indent-string-cli](https://github.com/sindresorhus/indent-string-cli) - CLI for this module\n- [strip-indent](https://github.com/sindresorhus/strip-indent) - Strip leading whitespace from every line in a string\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/indent-string.git"},"users":{"tunnckocore":true,"guiambros":true,"jakedetels":true},"bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"license":"MIT","versions":{"0.1.0":{"name":"indent-string","version":"0.1.0","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/indent-string"},"bin":{"indent-string":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","indent","string","str","pad","line"],"dependencies":{"get-stdin":"^0.1.0","minimist":"^0.1.0","repeat-string":"^0.1.2"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string","_id":"indent-string@0.1.0","_shasum":"96aa451da9ca664dea4dd039165eb72833b38542","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"96aa451da9ca664dea4dd039165eb72833b38542","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-0.1.0.tgz"},"directories":{}},"0.1.1":{"name":"indent-string","version":"0.1.1","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/indent-string"},"bin":{"indent-string":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","indent","string","str","pad","line"],"dependencies":{"get-stdin":"^0.1.0","minimist":"^0.1.0","repeat-string":"^0.1.2"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string","_id":"indent-string@0.1.1","_shasum":"875e858ca925d1ac66be89dff9619c81f93503e7","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"875e858ca925d1ac66be89dff9619c81f93503e7","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-0.1.1.tgz"},"directories":{}},"0.1.2":{"name":"indent-string","version":"0.1.2","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/indent-string"},"bin":{"indent-string":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","indent","string","str","pad","line"],"dependencies":{"get-stdin":"^0.1.0","minimist":"^0.1.0","repeat-string":"^0.1.2"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string","_id":"indent-string@0.1.2","_shasum":"cecfceba741dce491996e8c7002f46524d550585","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"cecfceba741dce491996e8c7002f46524d550585","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-0.1.2.tgz"},"directories":{}},"0.1.3":{"name":"indent-string","version":"0.1.3","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/indent-string"},"bin":{"indent-string":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","indent","string","str","pad","line"],"dependencies":{"get-stdin":"^0.1.0","minimist":"^0.1.0","repeat-string":"^0.1.2"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string","_id":"indent-string@0.1.3","_shasum":"39f058d423e0ab401ef3701bdca02496be298091","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"39f058d423e0ab401ef3701bdca02496be298091","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-0.1.3.tgz"},"directories":{}},"1.0.0":{"name":"indent-string","version":"1.0.0","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/indent-string"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"indent-string":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","indent","string","str","pad","line"],"dependencies":{"get-stdin":"^3.0.0","minimist":"^1.1.0","repeat-string":"^0.1.2"},"devDependencies":{"mocha":"*"},"gitHead":"5e00a9bc88b5994fd4767d29fb497121722cd570","bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string","_id":"indent-string@1.0.0","_shasum":"184c42e1d1d0c1cb00c6bdb2b424fd9a431fddc4","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"184c42e1d1d0c1cb00c6bdb2b424fd9a431fddc4","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-1.0.0.tgz"},"directories":{}},"1.1.0":{"name":"indent-string","version":"1.1.0","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/indent-string"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"indent-string":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","indent","string","str","pad","line"],"dependencies":{"get-stdin":"^3.0.0","minimist":"^1.1.0","repeat-string":"^0.1.2"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string","_id":"indent-string@1.1.0","_shasum":"c9bc3ea8b667511fae43152ba1a57bcd39ec192b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"c9bc3ea8b667511fae43152ba1a57bcd39ec192b","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-1.1.0.tgz"},"directories":{}},"1.2.0":{"name":"indent-string","version":"1.2.0","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/indent-string"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"indent-string":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","indent","string","str","pad","line"],"dependencies":{"get-stdin":"^3.0.0","minimist":"^1.1.0","repeating":"^1.1.0"},"devDependencies":{"mocha":"*"},"gitHead":"9d94356703126044b7d0cb80fddaedd35d987f54","bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string","_id":"indent-string@1.2.0","_shasum":"4d747797d66745bd54c6a289f5ce19f51750a4b9","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"4d747797d66745bd54c6a289f5ce19f51750a4b9","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-1.2.0.tgz"},"directories":{}},"1.2.1":{"name":"indent-string","version":"1.2.1","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/indent-string"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"indent-string":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","indent","string","str","pad","line"],"dependencies":{"get-stdin":"^4.0.1","minimist":"^1.1.0","repeating":"^1.1.0"},"devDependencies":{"mocha":"*"},"gitHead":"5f98faa592524fd18ff9e4cc70a700ccc92cf751","bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string","_id":"indent-string@1.2.1","_shasum":"294c5930792f8bb5b14462a4aa425b94f07d3a56","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"294c5930792f8bb5b14462a4aa425b94f07d3a56","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-1.2.1.tgz"},"directories":{}},"1.2.2":{"name":"indent-string","version":"1.2.2","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/indent-string"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"indent-string":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli-app","cli","bin","indent","string","str","pad","line"],"dependencies":{"get-stdin":"^4.0.1","minimist":"^1.1.0","repeating":"^1.1.0"},"devDependencies":{"mocha":"*"},"gitHead":"ce73faa67c3573fa81bf88796b8f4915ba09593e","bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string","_id":"indent-string@1.2.2","_shasum":"db99bcc583eb6abbb1e48dcbb1999a986041cb6b","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"db99bcc583eb6abbb1e48dcbb1999a986041cb6b","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-1.2.2.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"indent-string","version":"2.0.0","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/indent-string"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["indent","string","str","pad","align","line","text"],"dependencies":{"repeating":"^1.1.0"},"devDependencies":{"mocha":"*"},"gitHead":"3a0a1bf61d9cdbfa8599192b9e806bf9da83adc4","bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string","_id":"indent-string@2.0.0","_shasum":"af509d6b6456f9ffc3aecd3ad52a15906bbb5826","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"af509d6b6456f9ffc3aecd3ad52a15906bbb5826","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.1.0":{"name":"indent-string","version":"2.1.0","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/indent-string.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["indent","string","str","pad","align","line","text"],"dependencies":{"repeating":"^2.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"649f7560df23a8fd8ea330bead5d7d0058efc6b6","bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string#readme","_id":"indent-string@2.1.0","_shasum":"8e2d48348742121b4a8218b7a137e9a52049dc80","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"8e2d48348742121b4a8218b7a137e9a52049dc80","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"3.0.0":{"name":"indent-string","version":"3.0.0","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/indent-string.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["indent","string","str","pad","align","line","text"],"dependencies":{"repeating":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"0d6eb0109ffcb578aaa6e5e72f81eeea6fa48fcf","bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string#readme","_id":"indent-string@3.0.0","_shasum":"ddab23d32113ef04b67ab4cf4a0951c1a85fd60c","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ddab23d32113ef04b67ab4cf4a0951c1a85fd60c","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/indent-string-3.0.0.tgz_1466711668282_0.4365430613979697"},"directories":{}},"3.1.0":{"name":"indent-string","version":"3.1.0","description":"Indent each line in a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/indent-string.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["indent","string","str","pad","align","line","text"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"1abb8d3dd950a6fed2008cb960d7f8466cce4cb4","bugs":{"url":"https://github.com/sindresorhus/indent-string/issues"},"homepage":"https://github.com/sindresorhus/indent-string#readme","_id":"indent-string@3.1.0","_shasum":"08ff4334603388399b329e6b9538dc7a3cf5de7d","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"08ff4334603388399b329e6b9538dc7a3cf5de7d","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/indent-string/-/indent-string-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/indent-string-3.1.0.tgz_1485362603670_0.8533929402474314"},"directories":{}}},"name":"indent-string","time":{"modified":"2017-01-25T16:43:23.903Z","created":"2014-06-06T20:22:18.494Z","0.1.0":"2014-06-06T20:22:18.494Z","0.1.1":"2014-06-06T20:44:24.620Z","0.1.2":"2014-06-07T18:52:31.553Z","0.1.3":"2014-06-07T23:10:57.436Z","1.0.0":"2014-08-17T23:44:34.011Z","1.1.0":"2014-09-03T23:06:53.992Z","1.2.0":"2014-10-22T23:03:25.576Z","1.2.1":"2015-02-16T17:55:58.704Z","1.2.2":"2015-07-20T00:39:38.599Z","2.0.0":"2015-07-25T19:26:18.217Z","2.1.0":"2015-08-21T12:35:12.837Z","3.0.0":"2016-06-23T19:54:30.821Z","3.1.0":"2017-01-25T16:43:23.903Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/indent-string#readme"}