{"_id":"lpad","_rev":"16-dc09413ef378867ae418dfdc14d5cf83","name":"lpad","description":"Left-pad each line in a string","dist-tags":{"latest":"3.0.0"},"versions":{"0.1.0":{"name":"lpad","version":"0.1.0","description":"Left pad each line in a string or stdout/stderr","keywords":["pad","indent","cli","format","string"],"homepage":"https://github.com/sindresorhus/lpad","bugs":"https://github.com/sindresorhus/lpad/issues","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"main":"lpad.js","repository":{"type":"git","url":"git://github.com/sindresorhus/lpad.git"},"scripts":{"test":"mocha test-*.js"},"devDependencies":{"mocha":"~1.8.2"},"engines":{"node":">=0.8.0"},"licenses":[{"type":"MIT"}],"_id":"lpad@0.1.0","dist":{"shasum":"e4c60c29139321c5970de493b496ae0d774cd2a7","tarball":"https://registry.npmjs.org/lpad/-/lpad-0.1.0.tgz","integrity":"sha512-Iuj1jLmrxOseShxLayj8ODB1rmAncUDwR1KCgOMGLpAxC0a3qqEo/xDeJclC7Gzi34pZUYGBLFJ4zTNjV7WWYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOXgnzb5zNCHiNHBl6+QAMwOU7O0d2e/qtSXCiUdETfQIhAJUOyibW41i5bP0Mycw88FgHUVdqPqrfRfLU/RXnG/WZ"}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.2.0":{"name":"lpad","version":"0.2.0","description":"Left pad each line in a string","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/lpad"},"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":"*"},"bugs":{"url":"https://github.com/sindresorhus/lpad/issues"},"homepage":"https://github.com/sindresorhus/lpad","_id":"lpad@0.2.0","dist":{"shasum":"c997d0eed3df5517b928949b7bcb51be6ee67dca","tarball":"https://registry.npmjs.org/lpad/-/lpad-0.2.0.tgz","integrity":"sha512-igiqS5dO3FPmaw7Hjh+LieGYvi5zsRmzRTfJwEf8XTabE+Kgtwdc9cXIkTX8gaOfsmvY5NxHDMLfANX/AzDwAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7MiDq7SdNep9kSCTu7fP5o2A9btdWVGOIqgmJVxWi7wIgVYQh+rvuEtmlf3DoyRiEQy8MQCIBtTaZLlZlp8g7aGc="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.2.1":{"name":"lpad","version":"0.2.1","description":"Left pad each line in a string","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/lpad"},"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":"*"},"bugs":{"url":"https://github.com/sindresorhus/lpad/issues"},"homepage":"https://github.com/sindresorhus/lpad","_id":"lpad@0.2.1","dist":{"shasum":"110587a55818485ad6a019625e3927ca4c52c3ee","tarball":"https://registry.npmjs.org/lpad/-/lpad-0.2.1.tgz","integrity":"sha512-BHrgJbEHulCNbkoO1h+Pq1ZxwuKiq4uK3qvJn8WqTdleSQnT60vkxPU2sJc73YhODY/O84gdxqshmHm0Qrv0Kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyt8fs2jkdVdi3J3wpH/v0Ak3PSfioSkpHMfB1h37JYAIhALPzDbPjSCF6OBuwQyC58/nMHDTQiBhhtYQb//5xwcRm"}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"1.0.0":{"name":"lpad","version":"1.0.0","description":"Left pad each line in a string","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/lpad"},"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":"aab258d73dd0a810acba97a8667d163fa6191a62","bugs":{"url":"https://github.com/sindresorhus/lpad/issues"},"homepage":"https://github.com/sindresorhus/lpad","_id":"lpad@1.0.0","_shasum":"a231dd2c129a4eebc7335b324c147ede3abfb6da","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"a231dd2c129a4eebc7335b324c147ede3abfb6da","tarball":"https://registry.npmjs.org/lpad/-/lpad-1.0.0.tgz","integrity":"sha512-g5YIAkT1BD0SVx88e2oJkGXrg90r7RqA/zLwH6KfwF6qOw77NSBUpYfE7HIlr5tKyhz8Kmm9A8nRNesCGjFICw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbiFgQ+i2+gkcl3aaugS+lzY4WlPGtsWtHQ405Wj2QEQIhALNlF4jYeXG2ztTBmzJoohUf/rAS2uXzNLYvb80AyAbQ"}]},"directories":{}},"2.0.0":{"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":"https://registry.npmjs.org/lpad/-/lpad-2.0.0.tgz","integrity":"sha512-ktlWhQDhHVkEaQrGF3L/jxL8gGV/3TH8PP9mN9xwOcTNz4ixP1oN/gGvBs+2kyUOWlZOrPNjYv3COAdPuC/t7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+7jjkLDFhbQo4RB6K96HtagVNgWbXm+EF46BULwRcPQIhAIBhwFuMaYLLKaU2rvkhMZaQprhgMmGMiwlX+W1GxwVo"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.1":{"name":"lpad","version":"2.0.1","description":"Left pad each line in a string","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/lpad"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["pad","indent","format","string","str"],"devDependencies":{"mocha":"*"},"gitHead":"5e7281893989cb00f3dbab162ca00a1a0ec7f742","bugs":{"url":"https://github.com/sindresorhus/lpad/issues"},"homepage":"https://github.com/sindresorhus/lpad","_id":"lpad@2.0.1","_shasum":"28316b4e7b2015f511f6591459afc0e5944008ad","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"28316b4e7b2015f511f6591459afc0e5944008ad","tarball":"https://registry.npmjs.org/lpad/-/lpad-2.0.1.tgz","integrity":"sha512-ljBHxlzjB2oXVfInRhzPrCTzK9tfAAruEZFi1MZ0Ar+rsb3G9PMAZ1gv+2e91Z5+zayboMSS4m6omc+JNM/p5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBBuunTHbeyRLVtrgiq6bT2tSsY3ogshXuR9aq19xTetAiEA23m3SFmP4Hy0KZ5Dod2lYg7rp1Cm+X940SYKEwxpK7w="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"3.0.0":{"name":"lpad","version":"3.0.0","description":"Left-pad each line in a string","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/lpad.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["pad","indent","format","string","padding"],"dependencies":{"split-lines":"^3.0.0"},"devDependencies":{"ava":"3.15.0","xo":"0.38.2"},"gitHead":"533ff4d70ea491ae72bfd508df109613297dedab","bugs":{"url":"https://github.com/sindresorhus/lpad/issues"},"homepage":"https://github.com/sindresorhus/lpad#readme","_id":"lpad@3.0.0","_nodeVersion":"15.12.0","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-ulUfEpEhubXMdOSH+l4/aZssH8EKmGaGmJ4b6sBj2PnEcPxWhWraV0vXZR8OOdoZmn1BS7s4/Xt5YW4Xn0ktPA==","shasum":"d100262a970106a9c3679c6508535856c327abb7","tarball":"https://registry.npmjs.org/lpad/-/lpad-3.0.0.tgz","fileCount":4,"unpackedSize":2575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgb0RpCRA9TVsSAnZWagAA/SsP/2nN5I7+BMPZRpnzRjF0\nGRXs8EnEa2BflJLxxzlpJBK0JDi1XF+a7R7X5KeeiFHcjFmsdJP1+e3BizRK\nmA2DZTeE+V7sUsnUF08t5PZixouOk4OJ6eCK6nlu4kDOh0EFu26tIAvitf17\nHRb9aWV0747w7n92C7R/ryyG/frOxT8C0tJU1OG6pFuBelysZha+NgM1oktJ\ncNjZTJVbftF2cjtGOetPpCrbfTfOZtJNADUROreywhxfjQuwX2lm9AwJRoSG\nCy6vqMB1WHVNoe8S49J4N/s/Ox2/SMxV8erBfev8lVY6j5o0kYCf/T9dsgel\nFbUHq8G9mQw+hvS2L+0LJUM5mBFeol8EAa0yEHivmU3KLcwJ317ni7gmCvS6\n2bdZ4FEnHJo9IllLw/iFWJnGaffgKXcouWuiXyPVz+zD6cdCVfBtPStzxj4j\nojoiNWPNSpvvhV4k3qiJ1uUS1i8GMiPEZuI3CLDgMwkJ5hGUzigSXyqLehUD\njpAdC8u9CEPpTVJGJPoTvUJ7Wgdi5LUH71M87s6Wup4xr1WUMdEqr1Szs0Qa\n9to3uerIEJCb+K9bFYfaZKSNkuU6UoLWQTmsCtPIyNNZKC3VAcQQfZT5VDgo\n7Eu++lbw38ZBJgW5HfXBFUDxGm8rjdlMEBuIloriQfXgpddjRsfjHxJ1TOYB\nJQGC\r\n=dtes\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChFPd8J58YLm9hs/4mVcQ/4PCQy/TN5NnouMcoqehpLAIgLqnAdZA+ngUVnnfB1hk0SX8ktQb//Ambd2X9eJahsG8="}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lpad_3.0.0_1617904745451_0.7374215342050279"},"_hasShrinkwrap":false}},"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","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2022-06-19T14:27:03.621Z","created":"2013-04-06T17:45:35.748Z","0.1.0":"2013-04-06T17:45:38.766Z","0.2.0":"2014-03-06T23:26:22.172Z","0.2.1":"2014-03-06T23:30:12.024Z","1.0.0":"2014-08-13T10:11:06.424Z","2.0.0":"2015-04-29T19:27:06.737Z","2.0.1":"2015-06-15T09:44:01.592Z","3.0.0":"2021-04-08T17:59:05.558Z"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/lpad.git"},"users":{"passy":true},"homepage":"https://github.com/sindresorhus/lpad#readme","keywords":["pad","indent","format","string","padding"],"bugs":{"url":"https://github.com/sindresorhus/lpad/issues"},"license":"MIT","readmeFilename":"readme.md"}