{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["string","str","strip","trim","indent","indentation","add","reindent","normalize","remove","whitespace","space"],"dist-tags":{"latest":"2.0.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"description":"Strip redundant indentation and indent the string","readme":"# redent [![Build Status](https://travis-ci.org/sindresorhus/redent.svg?branch=master)](https://travis-ci.org/sindresorhus/redent)\n\n> [Strip redundant indentation](https://github.com/sindresorhus/strip-indent) and [indent the string](https://github.com/sindresorhus/indent-string)\n\n\n## Install\n\n```\n$ npm install --save redent\n```\n\n\n## Usage\n\n```js\nconst redent = require('redent');\n\nredent('\\n  foo\\n    bar\\n', 1);\n//=> '\\n foo\\n   bar\\n'\n```\n\n\n## API\n\n### redent(input, [count], [indent])\n\n#### input\n\nType: `string`\n\n#### count\n\nType: `number`<br>\nDefault: `0`\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## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/redent.git"},"bugs":{"url":"https://github.com/sindresorhus/redent/issues"},"license":"MIT","versions":{"1.0.0":{"name":"redent","version":"1.0.0","description":"Strip redundant indentation and indent the string","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/redent"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["string","str","strip","trim","indent","indentation","add","reindent","normalize","remove","whitespace","space"],"dependencies":{"indent-string":"^2.1.0","strip-indent":"^1.0.1"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"97d9db1dbd5894fe1b14e01040da283b8d53409d","bugs":{"url":"https://github.com/sindresorhus/redent/issues"},"homepage":"https://github.com/sindresorhus/redent","_id":"redent@1.0.0","_shasum":"cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/redent/-/redent-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"redent","version":"2.0.0","description":"Strip redundant indentation and indent the string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/redent.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["string","str","strip","trim","indent","indentation","add","reindent","normalize","remove","whitespace","space"],"dependencies":{"indent-string":"^3.0.0","strip-indent":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"90d90c6fe45eb7d5fa317c50af03ebac1b7b281f","bugs":{"url":"https://github.com/sindresorhus/redent/issues"},"homepage":"https://github.com/sindresorhus/redent#readme","_id":"redent@2.0.0","_shasum":"c1b2007b42d57eb1389079b3c8333639d5e1ccaa","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c1b2007b42d57eb1389079b3c8333639d5e1ccaa","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/redent/-/redent-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/redent-2.0.0.tgz_1468188510556_0.9630645732395351"},"directories":{}}},"name":"redent","time":{"modified":"2016-07-10T22:08:32.052Z","created":"2015-09-29T10:54:47.673Z","1.0.0":"2015-09-29T10:54:47.673Z","2.0.0":"2016-07-10T22:08:32.052Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/redent#readme"}