{"name":"lpad","version":"2.0.0","description":"Left pad each line in a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/lpad.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["pad","indent","format","string","str"],"devDependencies":{"mocha":"*"},"gitHead":"8e52e736d17953cce96572208322b62d0f4dbdc2","bugs":{"url":"https://github.com/sindresorhus/lpad/issues"},"homepage":"https://github.com/sindresorhus/lpad#readme","_id":"lpad@2.0.0","_shasum":"651a0247560a1b22bd4015bf7df944c0f207689c","_from":".","_npmVersion":"2.8.4","_nodeVersion":"0.12.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"651a0247560a1b22bd4015bf7df944c0f207689c","tarball":"http://registry-npm.ywwl.com/lpad/download/lpad-2.0.0.tgz","integrity":"sha512-ktlWhQDhHVkEaQrGF3L/jxL8gGV/3TH8PP9mN9xwOcTNz4ixP1oN/gGvBs+2kyUOWlZOrPNjYv3COAdPuC/t7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+7jjkLDFhbQo4RB6K96HtagVNgWbXm+EF46BULwRcPQIhAIBhwFuMaYLLKaU2rvkhMZaQprhgMmGMiwlX+W1GxwVo"}],"size":1458,"noattachment":false,"key":"/lpad/-/lpad-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# lpad\n\n> Left-pad each line in a string\n\n![](screenshot.png)\n\n## Install\n\n```\n$ npm install lpad\n```\n\n## Usage\n\n```js\nimport leftPad from 'lpad';\n\nconst string = 'foo\\nbar';\n/*\nfoo\nbar\n*/\n\nlpad(string, '    ');\n/*\n    foo\n    bar\n*/\n```\n\n## API\n\n### lpad(string, padString)\n\nPads each line in a string with the supplied string.\n\n#### string\n\nType: `string`\n\nString that will be padded.\n\n#### padString\n\nType: `string`\n\nString that will be prepended to each line.\n","publish_time":1430335626737,"_cnpm_publish_time":1430335626737,"dist-tags":{"latest":"3.0.0"}}