{"_id":"pad-stream","_rev":"10-be9c6e3614a5024c35226c606a30d81f","name":"pad-stream","description":"Pad each line in a stream","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"pad-stream","version":"1.0.0","description":"Pad each line in a stream","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/pad-stream"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"pad":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js","cli.js"],"keywords":["cli-app","cli","bin","pad","lpad","padding","indent","string","str","stream","streaming","line","lines"],"dependencies":{"meow":"^3.0.0","pumpify":"^1.3.3","repeating":"^1.1.1","split2":"^0.2.1","through2":"^0.6.3"},"devDependencies":{"ava":"0.0.4","concat-stream":"^1.4.7","string-to-stream":"^1.0.0"},"gitHead":"63230175b9011a9afbfd471f854297ad31bf74bc","bugs":{"url":"https://github.com/sindresorhus/pad-stream/issues"},"homepage":"https://github.com/sindresorhus/pad-stream","_id":"pad-stream@1.0.0","_shasum":"70a7fa167eef9937a108f561bf7c6d9a72b5bffb","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"70a7fa167eef9937a108f561bf7c6d9a72b5bffb","tarball":"https://registry.npmjs.org/pad-stream/-/pad-stream-1.0.0.tgz","integrity":"sha512-CNgO/tx06ea8aDrUNu2AelJR4kF4TAsSOouNb1x4f15NhodaC0OtMDr0vMgpeJhfsVVoqhCH3agN4Bdtt61sJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDioaqFPd9VkxOwBc33s/YBlTWjMyopjTOHXqUtR/reqwIgOk+GyC8djOWlCjsa99K16mxqxX5D9fQEeDsdY7tb760="}]},"directories":{}},"1.1.0":{"name":"pad-stream","version":"1.1.0","description":"Pad each line in a stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pad-stream.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"pad":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js","cli.js"],"keywords":["cli-app","cli","bin","pad","lpad","padding","indent","string","str","stream","streaming","line","lines"],"dependencies":{"meow":"^3.0.0","pumpify":"^1.3.3","repeating":"^1.1.1","split2":"^1.0.0","through2":"^2.0.0"},"devDependencies":{"ava":"0.0.4","concat-stream":"^1.4.7","string-to-stream":"^1.0.0"},"gitHead":"ac58fa661f35b3bb145b6ade7317b3a3f7bbb726","bugs":{"url":"https://github.com/sindresorhus/pad-stream/issues"},"homepage":"https://github.com/sindresorhus/pad-stream#readme","_id":"pad-stream@1.1.0","_shasum":"9fe4d3ce0374a0de2875edbdfa70c7254df67c7c","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"9fe4d3ce0374a0de2875edbdfa70c7254df67c7c","tarball":"https://registry.npmjs.org/pad-stream/-/pad-stream-1.1.0.tgz","integrity":"sha512-lvgAKPChG2q8eeV2ams251oY0Qg+2iRR4QdSAtfIGkrUqByxCWzv+yYZDvmZLiGuE00ra9OxzpdNpc6veOciGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB329LTurNYCMtQ4/qTJS7EPW4BdtiCDTjVrhH69Tx/yAiBdfm074zgY8IZ6EEgg5slY5IDvtOEGlPNBX+i/fZ+HGg=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"1.2.0":{"name":"pad-stream","version":"1.2.0","description":"Pad each line in a stream","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/pad-stream"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"pad":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"ava"},"files":["index.js","cli.js"],"keywords":["cli-app","cli","bin","pad","lpad","padding","indent","string","str","stream","streaming","line","lines"],"dependencies":{"meow":"^3.0.0","pumpify":"^1.3.3","repeating":"^2.0.0","split2":"^1.0.0","through2":"^2.0.0"},"devDependencies":{"ava":"*","concat-stream":"^1.4.7","string-to-stream":"^1.0.0"},"gitHead":"af2d68e37584aa9ed7c820d5a85995e5424ec399","bugs":{"url":"https://github.com/sindresorhus/pad-stream/issues"},"homepage":"https://github.com/sindresorhus/pad-stream","_id":"pad-stream@1.2.0","_shasum":"631dcc9f79810b705965e89dedea6cff0fc1dfc9","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"631dcc9f79810b705965e89dedea6cff0fc1dfc9","tarball":"https://registry.npmjs.org/pad-stream/-/pad-stream-1.2.0.tgz","integrity":"sha512-2SSTZIZSdYL+kV4LMKocpynfDGRsW7a9WmdmGYZm6kHhNduSortn3DGCSAEZ3J3XkWu9ZrKWXAdSrUqFmY9WgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICY4LI5NA4SEqVhB8YsRL9U1cRjE1cvOfSz3jcvYaQZ8AiEA4A6n4m/6JSe4EdgHNmhFdMUNEQzVSCu09wob/HfGWVY="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"pad-stream","version":"2.0.0","description":"Pad each line in a stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pad-stream.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["pad","lpad","padding","indent","left","left-pad","string","str","stream","streaming","line","lines"],"dependencies":{"pumpify":"^1.3.3","split2":"^2.1.1","through2":"^2.0.0"},"devDependencies":{"ava":"*","get-stream":"^3.0.0","into-stream":"^3.1.0","xo":"*"},"gitHead":"73308004d6c81cb992d58913a975ab8d5126cef9","bugs":{"url":"https://github.com/sindresorhus/pad-stream/issues"},"homepage":"https://github.com/sindresorhus/pad-stream#readme","_id":"pad-stream@2.0.0","_shasum":"3bebf34cda49597212a669f2fe417d646a7cba56","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"3bebf34cda49597212a669f2fe417d646a7cba56","tarball":"https://registry.npmjs.org/pad-stream/-/pad-stream-2.0.0.tgz","integrity":"sha512-3QeQw19K48BQzUGZ9dEf/slX5Jbfy5ZeBTma2XICketO7kFNK7omF00riVcecOKN+DSiJZcK2em1eYKaVOeXKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHBNVq7WoxtKfWxKAibGZh2KXxMX2BcdLD3usqjrcxUZAiEA2E/VkfRfFlqWo8hUjajApgbxJKcACLLZGPqcODXuy38="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pad-stream-2.0.0.tgz_1485362357541_0.34440904669463634"},"directories":{}},"3.0.0":{"name":"pad-stream","version":"3.0.0","description":"Pad each line in a stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pad-stream.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","lpad","padding","indent","left","left-pad","string","str","stream","streaming","line","lines"],"dependencies":{"pumpify":"^2.0.1","split2":"^3.2.2","through2":"^4.0.2"},"devDependencies":{"ava":"^3.15.0","get-stream":"^6.0.0","into-stream":"^6.0.0","xo":"^0.38.2"},"gitHead":"4cab78d0f9c4ffb09a91986e2cac6ab5fc7a3b5b","bugs":{"url":"https://github.com/sindresorhus/pad-stream/issues"},"homepage":"https://github.com/sindresorhus/pad-stream#readme","_id":"pad-stream@3.0.0","_nodeVersion":"15.12.0","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-0e5pdhw8BXDMsILVCSb3QOdRxChU/R/mJZ/G0E4trSQn6nGBdEMcMIFm+nwx2j+wD295H1UxFx+r4BYZ8ryOgg==","shasum":"5143c0ada1ab10179ecad2d8da9695b1787a7c94","tarball":"https://registry.npmjs.org/pad-stream/-/pad-stream-3.0.0.tgz","fileCount":4,"unpackedSize":3194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcAh5CRA9TVsSAnZWagAAuvwP/iddpL4gWWXsqgyH5lzr\nRUbTRnD27XlpZnKJ3s/SlNh2espiwBBmhnkjREOg5s+9omHq0nA0haL0LCr5\nultgrHqtycEbmGd57vwDS+HAmOVc0XWz+YPlst+nKnHjOTPcA1sHqEK766bs\n1LFTw34lzBW9wkYXoPZALcKxqE+BnbrZNtnK6JmubCQr26/xoOkCPPOnkK/S\nge9LYMq8QWTCNiFpdY3lbxJ89adiyqBa1nW4LFaAXcHJ0Z+GF0Pf8mFjvbC3\nomxiTiAdprYhtWCXqoP/yipDWGe3Jhu5CQv3E1r57OWDVMEMN8dsBFo8kWqr\nAjfbF/nmwkLV00uOwAW5BvGrO8h/xtkHixA39xDwjxvQpe9tUto4dG438jfn\nLKwjTIegfrFrNri+HoHwb7fNRLMxk//nMeVK7Fn+90Yl8jsuV2/z34uAcN91\nEnaSqqa0326jU4u4jv1MuA9uq1vaoORwsjxEOWNblv2wOqcuH6ml9jPShFmc\n9VxJfuOYPdq2z6/s5uvRruibbJC8wklx7YPXYWOz3+UL5DLvDjSK8giqJtxo\nokYq4TUJ7cnOpshQoydwjmMUtTbEjwuCzM3nSWARRXqNDv3J/FKeKgGG6Khf\nBjrhUYUSj6Z9mGFlunC42S2z3Limb4cMW2MCURaRFjq4v52iDCJQcv/PU3eb\nY4IA\r\n=5sp2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2zJwhZ2zhfIlaSGMPLRPx+1PjZMY1899yAGO1eWQFsAIge8tUIwJQc4dUWAcz27BjoQXB3FKSfgPVWr6eEpNMbDw="}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pad-stream_3.0.0_1617954937094_0.12646311704855284"},"_hasShrinkwrap":false},"4.0.0":{"name":"pad-stream","version":"4.0.0","description":"Pad each line in a stream","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pad-stream.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":">=14.16"},"scripts":{"test":"xo && ava"},"keywords":["pad","lpad","padding","indent","left","left-pad","string","stream","streaming","line","lines"],"dependencies":{"easy-transform-stream":"^1.0.0","pumpify":"^2.0.1","split2":"^4.1.0"},"devDependencies":{"ava":"^4.3.1","get-stream":"^6.0.1","into-stream":"^7.0.0","xo":"^0.51.0"},"gitHead":"685baf08399479aebbc19de0f019c94db136ea20","bugs":{"url":"https://github.com/sindresorhus/pad-stream/issues"},"homepage":"https://github.com/sindresorhus/pad-stream#readme","_id":"pad-stream@4.0.0","_nodeVersion":"14.19.3","_npmVersion":"8.3.2","dist":{"integrity":"sha512-0X318PPv9ZnXRVN6y+eQ/KHiXtBk9FINU95usY50yPN9GPV9n0Kia0hcRc2w8a6OpXr+7P2aTG20uDJ9lWGrjA==","shasum":"f214c96a27d5654012c68a92fd4ceb32b4f95949","tarball":"https://registry.npmjs.org/pad-stream/-/pad-stream-4.0.0.tgz","fileCount":4,"unpackedSize":3206,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICuvwMx2v5rv2ArSqNIbIz43WBWViIsjXytEDhdNhHtMAiEA6T4qTOfRdgRgFy7X0gI1dqbhxxu1akgN19QCpwA5XCM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi39szACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqxRQ//ccnk1fuPhhw6mEffV4nqvPZAAKIVuOJg8OhvobJ+hOUcqiPy\r\nVfuGUJk4bEyJJ6CT5KDZMo2NKP7smeebRAdDT4Jxz7dOXuaESFDV9opv/rSp\r\nPkXTnXeLSOlftj2dgkPMS+zL29xu9c53YANoL98ikNMRtDDoiPrSQ6wSOhgx\r\nv8PfXPRqPAO5R2AN1vaKggjMk1uSsd17uhg/tHpsVIBzsfiB6TxA102TgUXE\r\nv5EMpZ3cYT5rs0azwFgXfsVthwl0XXbyGHJgb2Ql6chzNzCmXJsX7dq/XDNO\r\ne7iLYj3JoaTU3Mnsu5qv/Rri0Zh1beSj238CqEZCO3ckZMVR1lgqbXsYxpHS\r\nVCui/pF1cbtmLOHK1djj0BrWSFbjDEJ5OzIpgqhupKiqk7QTE9sOdpzrgqsl\r\npwUWoyZ544/aYj9ldg2gl+ksXgTxtRsNqpG45ZL88vPzTh60aSCJWeDKHxhw\r\no0D1OUu5K0B4HALvLToxlWSyJfwS77bu8Z3OOsAvIQo7L8bsi8cS2Phu+ExB\r\nm1ZtAb4o1BmS/w3hJR5vWNIr5RFc1ZVKHMacLNV22P3kHtszQscjb+3LTRXI\r\nTpYMHFX4Z092ats8Ljsgoq8xC3Kpo7e2vBxbilS8Y0+cm+xj0ocmAYnAg0q1\r\ndpg3b0hQY522sttV/ILz8Y/zewczmP2HHYE=\r\n=U5Pa\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pad-stream_4.0.0_1658837810928_0.17355281011954804"},"_hasShrinkwrap":false}},"readme":"# pad-stream\n\n> Pad each line in a stream\n\n## Install\n\n```sh\nnpm install pad-stream\n```\n\n## Usage\n\n```js\n// pad.js\nimport padStream from 'pad-stream';\n\nprocess.stdin.pipe(padStream(2, '>')).pipe(process.stdout);\n```\n\n```\n$ echo 'foo\\nbar' | node pad.js\n>>foo\n>>bar\n```\n\n## API\n\n### padStream(count, indent?)\n\nReturns a [transform stream](https://nodejs.org/api/stream.html#stream_duplex_and_transform_streams).\n\n#### count\n\nType: `number` *(integer)*\n\nThe number of times to repeat `indent`.\n\n#### indent\n\nType: `string`\\\nDefault: `' '`\n\nThe string to use as indent.\n\n## Related\n\n- [indent-string](https://github.com/sindresorhus/indent-string) - Indent each line in a string\n- [indent-string-cli](https://github.com/sindresorhus/indent-string-cli) - Indent each line in some text or stdin\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2022-07-26T12:16:51.273Z","created":"2015-01-25T10:09:31.674Z","1.0.0":"2015-01-25T10:09:31.674Z","1.1.0":"2015-08-20T10:00:49.409Z","1.2.0":"2015-10-15T18:31:37.709Z","2.0.0":"2017-01-25T16:39:17.768Z","3.0.0":"2021-04-09T07:55:37.228Z","4.0.0":"2022-07-26T12:16:51.152Z"},"homepage":"https://github.com/sindresorhus/pad-stream#readme","keywords":["pad","lpad","padding","indent","left","left-pad","string","stream","streaming","line","lines"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/pad-stream.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/pad-stream/issues"},"license":"MIT","readmeFilename":"readme.md"}