{"_id":"lpad-align","_rev":"16-074d567ae3f98d3e099724ecd30be7de","name":"lpad-align","description":"Left pad a string to align with the longest string in an array","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"lpad-align","version":"1.0.0","description":"Left pad a string to align with the longest string in an array","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/lpad-align"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":[],"dependencies":{"lpad":"^1.0.0","max-component":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"bc54927a3ee68ef06370b45322d94c8035ee01f7","bugs":{"url":"https://github.com/kevva/lpad-align/issues"},"homepage":"https://github.com/kevva/lpad-align","_id":"lpad-align@1.0.0","_shasum":"89dfcaa2b6e534e266df5d3f4f6eb4a2bdab084a","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"dist":{"shasum":"89dfcaa2b6e534e266df5d3f4f6eb4a2bdab084a","tarball":"https://registry.npmjs.org/lpad-align/-/lpad-align-1.0.0.tgz","integrity":"sha512-SDLOf85VBIVvl3Ogd5v2o8M63hR+1J2XDPcR7B7Xzt575IAhrRYrreSDQfdsq8I0zsP91kGK2MpSLlIBiN0kcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY3j4MuIytseoaFEo5ijp+rkXs+lyQU2E1y9toAdYFJwIgSf88rs+XlJeTTh+HuU+oLUACJ5SXRYyjgKj+KrScszg="}]},"directories":{}},"1.0.1":{"name":"lpad-align","version":"1.0.1","description":"Left pad a string to align with the longest string in an array","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/lpad-align"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["align","indent","lpad"],"dependencies":{"longest":"^0.2.1","lpad":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"0dcd336a8f04ed2b015d1f008ebe55cf0ad42cbb","bugs":{"url":"https://github.com/kevva/lpad-align/issues"},"homepage":"https://github.com/kevva/lpad-align","_id":"lpad-align@1.0.1","_shasum":"87d749f58a902f8e903fec6e0cb237ca57a36fb0","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"dist":{"shasum":"87d749f58a902f8e903fec6e0cb237ca57a36fb0","tarball":"https://registry.npmjs.org/lpad-align/-/lpad-align-1.0.1.tgz","integrity":"sha512-ISxGWaeeHncCcBPojgIbMN0abGofwbp1FM2mMksontBJOG2QYDASHtd7FozTHdHbgYi5KXpLrcZDpWzZd3soqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4LJmQo3Jgjd5Bq7N1/JzXMUMoRtTbcCQUPCVPu/tXmQIhAN/BW1t5icL5Z4qnZg21gWOjpvSctxPR7maelY9D4hbL"}]},"directories":{}},"1.0.2":{"name":"lpad-align","version":"1.0.2","description":"Left pad a string to align with the longest string in an array","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/lpad-align"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["align","indent","lpad"],"dependencies":{"longest":"^0.2.1","lpad":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"57836e8b5541a12bb18ed9db13caaf2eb6d7bb77","bugs":{"url":"https://github.com/kevva/lpad-align/issues"},"homepage":"https://github.com/kevva/lpad-align","_id":"lpad-align@1.0.2","_shasum":"4414640c6fb45ffaf36b74d5741101077cd74328","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"dist":{"shasum":"4414640c6fb45ffaf36b74d5741101077cd74328","tarball":"https://registry.npmjs.org/lpad-align/-/lpad-align-1.0.2.tgz","integrity":"sha512-CzayG3qCdIU/2uoDVa/9FPI3yOOCgDyKT09Wx9uE/e6BsN8umP0pfD0ydyaMmBFEa1XOa/OX5ZA88ydxP/Gy7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGNkjm03u1ymD56C/C+m1PJo+mHxPuMvdWiGUrpCXpVGAiBTFwFIFP9Q78mEZr/sJHw5nxcj6SwAApgWJA9S3yMpAw=="}]},"directories":{}},"1.0.3":{"name":"lpad-align","version":"1.0.3","description":"Left pad a string to align with the longest string in an array","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/lpad-align"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["align","indent","lpad"],"dependencies":{"longest":"^1.0.0","lpad":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"d754be1b8727d5b39798afe7c4c8d3c1debe7792","bugs":{"url":"https://github.com/kevva/lpad-align/issues"},"homepage":"https://github.com/kevva/lpad-align","_id":"lpad-align@1.0.3","_shasum":"33a8d0bf721ab2a6abd172237167b6b578bbc39d","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.3.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"dist":{"shasum":"33a8d0bf721ab2a6abd172237167b6b578bbc39d","tarball":"https://registry.npmjs.org/lpad-align/-/lpad-align-1.0.3.tgz","integrity":"sha512-6jvpiObSisdnIhYzezBhO6o6tBMtSvXNNyaBH8YuFXa5wYMncm3wxlF5xXf5UXkEn96T7DKA1LfEyZPpbalEqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAjLXfD1LYe2irezF2Jyjn2Q0v9eUxVqlaCc0efUxeFwIhAJoTJAnMvsBXGrR/YVB4EQL4Pq4TS5P+TUNzf3GcfFY5"}]},"directories":{}},"1.1.0":{"name":"lpad-align","version":"1.1.0","description":"Left pad a string to align with the longest string in an array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/lpad-align.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"lpad-align":"cli.js"},"scripts":{"test":"node test.js"},"files":["cli.js","index.js"],"keywords":["align","indent","lpad"],"dependencies":{"get-stdin":"^4.0.1","longest":"^1.0.0","lpad":"^2.0.1","meow":"^3.3.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"eaaed9ec8ffcbcca1a280e28fed7a17336bdbed7","bugs":{"url":"https://github.com/kevva/lpad-align/issues"},"homepage":"https://github.com/kevva/lpad-align#readme","_id":"lpad-align@1.1.0","_shasum":"27fa786bcb695fc434ea1500723eb8d0bdc82bf4","_from":".","_npmVersion":"3.1.2","_nodeVersion":"2.3.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"dist":{"shasum":"27fa786bcb695fc434ea1500723eb8d0bdc82bf4","tarball":"https://registry.npmjs.org/lpad-align/-/lpad-align-1.1.0.tgz","integrity":"sha512-0ahI3HLfYWInGcRl5JBq+Z5Urifuwn4uaQ1ScMugt0KdVzbqlJhYtFBbcdbcMwXQi6PgBrHchVLZHRys4ikdqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDH25SG5WPMM6Oqv0f9tcF/WXcI9B2v7zDdHYcNs6VFPAiA7vbA5fOr/v8NpjM4FolqNJ+tYbiSjDRf3m5dZVlka+A=="}]},"directories":{}},"1.1.1":{"name":"lpad-align","version":"1.1.1","description":"Left pad a string to align with the longest string in an array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/lpad-align.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"bin":{"lpad-align":"cli.js"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["cli.js","index.js"],"keywords":["align","indent","lpad"],"dependencies":{"get-stdin":"^5.0.1","indent-string":"^3.0.0","longest":"^2.0.0","lpad":"^2.0.1","meow":"^3.3.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"76d2ec12eddf6f9c6a0b01c7bf30f2718802fbeb","bugs":{"url":"https://github.com/kevva/lpad-align/issues"},"homepage":"https://github.com/kevva/lpad-align#readme","_id":"lpad-align@1.1.1","_shasum":"a179e190eeee2b86460f822566f4f3548a31625f","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.8.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"a179e190eeee2b86460f822566f4f3548a31625f","tarball":"https://registry.npmjs.org/lpad-align/-/lpad-align-1.1.1.tgz","integrity":"sha512-4CaC1DI2bb5NmHkuG+TPJPfbvd7OPq+PJrRWAiP764cCEbvJgnwSSaGbj8UnafZlQ4H5O1I7N5T1buhMH/eQVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFuiz8A5/teygkUj/QBAf2U7prSalJHyHiq0mmTQ8hTUAiBxYqC8W3h8/FIypLRrfB/kop8haGPIooM0KMpa0qDJOQ=="}]},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lpad-align-1.1.1.tgz_1495398361058_0.6756020104512572"},"directories":{}},"1.1.2":{"name":"lpad-align","version":"1.1.2","description":"Left pad a string to align with the longest string in an array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/lpad-align.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"bin":{"lpad-align":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["cli.js","index.js"],"keywords":["align","indent","lpad"],"dependencies":{"get-stdin":"^4.0.1","indent-string":"^2.1.0","longest":"^1.0.0","meow":"^3.3.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"65df480e63cc05701501ec634bef0ff3b87a2411","bugs":{"url":"https://github.com/kevva/lpad-align/issues"},"homepage":"https://github.com/kevva/lpad-align#readme","_id":"lpad-align@1.1.2","_shasum":"21f600ac1c3095c3c6e497ee67271ee08481fe9e","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.10.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"21f600ac1c3095c3c6e497ee67271ee08481fe9e","tarball":"https://registry.npmjs.org/lpad-align/-/lpad-align-1.1.2.tgz","integrity":"sha512-MMIcFmmR9zlGZtBcFOows6c2COMekHCIFJz3ew/rRpKZ1wR4mXDPzvcVqLarux8M33X4TPSq2Jdw8WJj0q0KbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB1QCOqy4bIETrgZO7azKVvg2S5AnqkbEb0wK5t7Kw93AiEAy7CF4ci5cKtqn+Gi/namox9LV2YeWGXUkJ8uFKfvIkI="}]},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lpad-align-1.1.2.tgz_1495467851702_0.1335487177129835"},"directories":{}},"2.0.0":{"name":"lpad-align","version":"2.0.0","description":"Left pad a string to align with the longest string in an array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/lpad-align.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"bin":{"lpad-align":"cli.js"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["cli.js","index.js"],"keywords":["align","indent","lpad"],"dependencies":{"get-stdin":"^5.0.1","indent-string":"^3.0.0","longest":"^2.0.0","meow":"^3.3.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"50e3d0c4e1fef2dc5aeac43492926b473de57370","bugs":{"url":"https://github.com/kevva/lpad-align/issues"},"homepage":"https://github.com/kevva/lpad-align#readme","_id":"lpad-align@2.0.0","_shasum":"ce013b8693370ac72b64bae04d522540dda0619c","_from":".","_npmVersion":"4.6.1","_nodeVersion":"7.8.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"ce013b8693370ac72b64bae04d522540dda0619c","tarball":"https://registry.npmjs.org/lpad-align/-/lpad-align-2.0.0.tgz","integrity":"sha512-wPcmGAMDhfFGCcA0t6TiH3IrjRV7n0ZHqckl/EdDw78WXLUYR/B9E+0fmyEQ9CiQvgrLfHdIR204MdyyCtgl3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGFIAwFzsqI3p8q7kqtWY4l9kU+gHwWhXdXo1xQDJcOQIhAILB2yDd18xl4ot0fknSOsSKLROO0NX7QPRfVKoy47Yn"}]},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lpad-align-2.0.0.tgz_1495468267227_0.20346979005262256"},"directories":{}},"3.0.0":{"name":"lpad-align","version":"3.0.0","description":"Left pad a string to align with the longest string in an array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/lpad-align.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"bin":{"lpad-align":"cli.js"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"keywords":["align","indent","lpad"],"dependencies":{"get-stdin":"^5.0.1","indent-string":"^3.0.0","longest":"^2.0.0","meow":"^9.0.0"},"devDependencies":{"ava":"*","xo":"^0.39.1"},"gitHead":"467a1b7668e3d3586651fde11d0362e07fb40aff","bugs":{"url":"https://github.com/kevva/lpad-align/issues"},"homepage":"https://github.com/kevva/lpad-align#readme","_id":"lpad-align@3.0.0","_nodeVersion":"16.4.0","_npmVersion":"7.16.0","dist":{"integrity":"sha512-pFfd7OXy555HQ5plHIxTStc5jD0r6vCdw+36Ym/cHLBOm7MslQ1uVY3i1VyfogaURuZ6YP+lOZkq4UZeu60NJQ==","shasum":"2f970e68de09cabf496b2f94461633295bdaf6b0","tarball":"https://registry.npmjs.org/lpad-align/-/lpad-align-3.0.0.tgz","fileCount":5,"unpackedSize":3689,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4r4iCRA9TVsSAnZWagAAZ1gP/0LmiudcMNpFy9ztausR\nL41nV+aBgAyw2Lftg3JJ1/u6u9b98wTenw0M9S+szKUNyhRDjh01QyhlmToT\ng2tDWQ1FCtcYdSL1y2AuKoF/NobY3YZum7TMOZvbDm9mopSk/6hVM/nDDtho\nCDAG91NdyI/C8NdMs6Dt5b//QwuPPFqLYDYCDV+3MClK99VHy3ZpxZ5JoTHW\n0nGn13+Fo7kLx71XsJSUusYCkaF2X16PKww6j0zatLLEb+1NMetj9VAlGjTM\nM9ZDIBiu051OKf1laFIRAWCu/M5u4oGU96uUudca+XS+U1K8ARdoPX7hZ20f\njtfHk8KIY21hLc0Sa19ffDW7F80m+jRaCHrpfjZ/7U+CtHOh9jdjC/ft2xpR\nLVlZGLx5oJeVvGsbDFF8pABczAHi7OloqJUIaynN6yts8eBr+jgvkldZHpjA\ntIHm4yd/vCkAdiSW7F/9W5bH1ATxjlB/4pzRd5cz08/LGU6+5st5Vz8Okv5V\n9VzsyDjuK3eh7w2Jaktlgjy2pk8Zgho85BLbFWcwXF5gcFbTMtGaoSU78GtE\nl6mkgHybCXRTwBRqisqOKQiVdBGMNfbzmYzXRZgbXES+qfHK2CIK+upKNPAN\nLjiYP4hDLjfu+CYJgD2z9f0TtNYKtxfYUBJ1TSYJoA5+Q2eSWxAl+xvJYWgj\nICd8\r\n=TvWj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEnnSFDvjtm/zJk0rZUF7nQRbxovvpFzaJLYWvLNx+RWAiEAl8CtPV18HukErJdSRd51okhayPpi8mSNUdWqDkA2q8c="}]},"_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"directories":{},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lpad-align_3.0.0_1625472546409_0.9041358984737782"},"_hasShrinkwrap":false}},"readme":"# lpad-align [![Build Status](https://travis-ci.org/kevva/lpad-align.svg?branch=master)](https://travis-ci.org/kevva/lpad-align)\n\n> Left pad a string to align with the longest string in an array\n\n## Install\n\n```\n$ npm install lpad-align\n```\n\n## Usage\n\n```js\nconst lpadAlign = require('lpad-align');\n\nconst words = [\n\t'foo',\n\t'foobar',\n\t'foobarcat'\n];\n\nfor (const x of words) {\n\tconsole.log(lpadAlign(x, words, 4));\n}\n\n/*\n\t\t  foo\n\t   foobar\n\tfoobarcat\n */\n```\n\n## API\n\n### lpadAlign(string, array, indent)\n\n#### string\n\nType: `string`\n\nString that will be padded.\n\n#### array\n\nType: `Array`\n\nArray to align against.\n\n#### indent\n\nType: `number`\\\nDefault: `4`\n\nIndentation to prepend the string with.\n\n## CLI\n\n```\n$ npm install --global lpad-align\n```\n\n```\n  Usage\n    $ cat <file> | lpad-align\n\n  Example\n    $ cat unicorn.txt | lpad-align\n          foo\n       foobar\n    foobarcat\n```\n","maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"time":{"modified":"2022-06-19T14:27:04.626Z","created":"2014-10-15T12:00:24.499Z","1.0.0":"2014-10-15T12:00:24.499Z","1.0.1":"2014-10-23T05:51:02.357Z","1.0.2":"2014-10-24T13:50:19.669Z","1.0.3":"2015-02-26T12:30:02.534Z","1.1.0":"2015-07-18T19:12:10.424Z","1.1.1":"2017-05-21T20:26:02.023Z","1.1.2":"2017-05-22T15:44:12.665Z","2.0.0":"2017-05-22T15:51:08.182Z","3.0.0":"2021-07-05T08:09:06.540Z"},"homepage":"https://github.com/kevva/lpad-align#readme","keywords":["align","indent","lpad"],"repository":{"type":"git","url":"git+https://github.com/kevva/lpad-align.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"bugs":{"url":"https://github.com/kevva/lpad-align/issues"},"license":"MIT","readmeFilename":"readme.md"}