{"_id":"right-pad-values","_rev":"10-f40893c988e9de147755a5f19ff68afc","name":"right-pad-values","description":"Right pad the values of a given property for each object in an array. Useful for creating text columns or tables.","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.2":{"name":"right-pad-values","description":"Right pad the values of a given property for each object in an array. Useful for creating text columns or tables.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/right-pad-values","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/right-pad-values.git"},"bugs":{"url":"https://github.com/jonschlinkert/right-pad-values/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/right-pad-values/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"longest-value":"^0.1.0","pad-right":"^0.1.1"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["align","column","longest","object","pad","right","table","value","values"],"_id":"right-pad-values@0.1.2","_shasum":"5eadceff521556d8f283f3685accf4ffc09ea8ad","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"5eadceff521556d8f283f3685accf4ffc09ea8ad","tarball":"https://registry.npmjs.org/right-pad-values/-/right-pad-values-0.1.2.tgz","integrity":"sha512-BTnrtTiOZych43fBXfF0kR//Mi0NpyNdsXAXlKRzeq9gVrYsY4HyDjmfKeysmX2e5X9sPMoFQojdk5y0xMCm9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrJxYOaUEk84XiInD9b8BcIetit29B0yOaKHWrN8cbhwIhALwfJRk0b8eGVUqz4vyGBMgf8C5qMO340WNcR68eqcnS"}]}},"0.1.3":{"name":"right-pad-values","description":"Right pad the values of a given property for each object in an array. Useful for creating text columns or tables.","version":"0.1.3","homepage":"https://github.com/jonschlinkert/right-pad-values","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/right-pad-values.git"},"bugs":{"url":"https://github.com/jonschlinkert/right-pad-values/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/right-pad-values/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"longest-value":"^0.1.0","pad-right":"^0.1.1"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["align","column","longest","object","pad","right","table","value","values"],"gitHead":"b32798b6ba7f712fe9d52a9fb3fd9fc8f29261c0","_id":"right-pad-values@0.1.3","_shasum":"77e928f0844b46b79d16a25e66c540427c1a9c7b","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"77e928f0844b46b79d16a25e66c540427c1a9c7b","tarball":"https://registry.npmjs.org/right-pad-values/-/right-pad-values-0.1.3.tgz","integrity":"sha512-1fVBHk3Wxxz9pQ2nJR47sh88q2BUbN1M4NqfVstNjZvZz1YTsatSAbWlsQTqMfCE+/srNrWKsAJcHSpQDdh5Fw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAzJP44lMB3tdPTwzGW0E7us5PWdwz3r5+sa+YiZp4cHAiBLmAOIH4BTtBXEqlz8OncOi5fUN7YoU3RAlGO1XGkh+Q=="}]}},"0.2.0":{"name":"right-pad-values","description":"Right pad the values of a given property for each object in an array. Useful for creating text columns or tables.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/right-pad-values","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/right-pad-values.git"},"bugs":{"url":"https://github.com/jonschlinkert/right-pad-values/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"longest-value":"^0.2.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["align","column","longest","object","pad","right","table","value","values"],"verb":{"related":{"list":["right-align-values","longest","longest-value","repeat-element","repeat-string","pad-left","pad-right"]}},"gitHead":"0071166ae8dccbc85640d5dbc766de03b7521fe5","_id":"right-pad-values@0.2.0","_shasum":"942585e843756925f47ddb1c5748bdfc90c21a67","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"942585e843756925f47ddb1c5748bdfc90c21a67","tarball":"https://registry.npmjs.org/right-pad-values/-/right-pad-values-0.2.0.tgz","integrity":"sha512-w+UgM4/Fpjpo8SiNmrama5oWVKfI3zXJAz87S8zZLiGiQojAW5B8Slsz1SQ16ojJJqIAzQqdBTaUkt7Cyg58Gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA29PLs+GlvX8IiERCt6zlUfiLZQxK7tQUuiuyCU14veAiEAuEjkWoLMIBH/hmphqjl0dt9Z0mD5kyLW0zTz7Pvgxqg="}]}},"0.2.1":{"name":"right-pad-values","description":"Right pad the values of a given property for each object in an array. Useful for creating text columns or tables.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/right-pad-values","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/right-pad-values.git"},"bugs":{"url":"https://github.com/jonschlinkert/right-pad-values/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"longest-value":"^0.2.0","pad-right":"^0.2.1"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["align","column","longest","object","pad","right","table","value","values"],"verb":{"related":{"list":["right-align-values","longest","longest-value","repeat-element","repeat-string","pad-left","pad-right"]}},"gitHead":"db148f0ee166818d7cc2c942a0b4ba19ed075cbb","_id":"right-pad-values@0.2.1","_shasum":"5f4e2647b38ba8165d6debe985577423d92c9149","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"5f4e2647b38ba8165d6debe985577423d92c9149","tarball":"https://registry.npmjs.org/right-pad-values/-/right-pad-values-0.2.1.tgz","integrity":"sha512-Hkwqc2h5hciPDndCpBeOo56czKBuRjw0OYZYikfcz7fidqj0Q+mjHESUyIeD4XvhqNOYZxE+XodmTkfHVX09+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVZJAW9X5HTYob8jMXutBt6EjnEGq0UdG6L73i37MnNAiEAqeS1TCvBT1txygT+aDB/fWmhUxbScLakWR3mZNljzg0="}]}},"0.3.0":{"name":"right-pad-values","description":"Right pad the values of a given property for each object in an array. Useful for creating text columns or tables.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/right-pad-values","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/right-pad-values.git"},"bugs":{"url":"https://github.com/jonschlinkert/right-pad-values/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^2.0.0","longest-value":"^0.2.0","pad-right":"^0.2.2"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["align","column","longest","object","pad","right","table","value","values"],"verb":{"related":{"list":["longest","longest-value","pad-left","pad-right","repeat-element","repeat-string","right-align-values"]},"layout":"default","plugins":["gulp-format-md"]},"gitHead":"a1e6045a1dbb6eceab9bb87ecd872fed45e9214f","_id":"right-pad-values@0.3.0","_shasum":"932bc45a652c12b39c2dbc236b9bf888bb6a689b","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"932bc45a652c12b39c2dbc236b9bf888bb6a689b","tarball":"https://registry.npmjs.org/right-pad-values/-/right-pad-values-0.3.0.tgz","integrity":"sha512-s+FCK6fh0zGgjIVf2CC+AT8mDRWASLH57bVEcaTZTFmyJMrlI9YB+SC9C1+PHKAfdWiPbd6wJk+dIjSsnyPoDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHz/6uOmfEc+Tp87paz0V4Fr7KFoDWWLkCt4+xrGucbDAiAkXkzdMpZ9ZAbGzOi4EkPeAdSyxo0VsMt+GvVWBoouUw=="}]}},"0.3.1":{"name":"right-pad-values","description":"Right pad the values of a given property for each object in an array. Useful for creating text columns or tables.","version":"0.3.1","homepage":"https://github.com/jonschlinkert/right-pad-values","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/right-pad-values.git"},"bugs":{"url":"https://github.com/jonschlinkert/right-pad-values/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^2.0.0","longest-value":"^0.2.0","pad-right":"^0.2.2"},"devDependencies":{"mocha":"*"},"keywords":["align","column","longest","object","pad","right","table","value","values"],"verb":{"related":{"list":["longest","longest-value","pad-left","pad-right","repeat-element","repeat-string","right-align-values"]},"layout":"default","plugins":["gulp-format-md"]},"gitHead":"3c7f5a1d5aa6c8255615e53782e1f778a097cfff","_id":"right-pad-values@0.3.1","_shasum":"e7f47b50bc32e14dc49fd6acd73052253e7ef8a4","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"},{"name":"doowb","email":"brian.woodward@gmail.com"}],"dist":{"shasum":"e7f47b50bc32e14dc49fd6acd73052253e7ef8a4","tarball":"https://registry.npmjs.org/right-pad-values/-/right-pad-values-0.3.1.tgz","integrity":"sha512-kYr3w9aY03TodvdSatc6wld34Ab2yRfHwZwzh2/yNZTMPlJZUy0GJhovE9WADofxjjwJODl9P1SeU92cUXE3JQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIElaMmM5eNR9ibnx7XzrdrVzoCxj8tWHQfN9k3tTau8pAiBJzQwiNt2h/r76nR6hQa/JCanJgHTGzgmYS2GaA9zpBQ=="}]}}},"readme":"# right-pad-values [![NPM version](https://img.shields.io/npm/v/right-pad-values.svg)](https://www.npmjs.com/package/right-pad-values) [![Build Status](https://img.shields.io/travis/jonschlinkert/right-pad-values.svg)](https://travis-ci.org/jonschlinkert/right-pad-values)\n\n> Right pad the values of a given property for each object in an array. Useful for creating text columns or tables.\n\n- [Install](#install)\n- [Usage](#usage)\n- [API](#api)\n- [Related projects](#related-projects)\n- [Running tests](#running-tests)\n- [Contributing](#contributing)\n- [Author](#author)\n- [License](#license)\n\n_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm i right-pad-values --save\n```\n\n## Usage\n\n**object**\n\n```js\npad({\n  a: 'b', \n  c: 'dddddd', \n  e: 'fff', \n  g: 'hhhhh'\n});\n```\n\nResults in:\n\n```js\n{\n  a: 'b     ',\n  c: 'dddddd',\n  e: 'fff   ',\n  g: 'hhhhh ',\n};\n```\n\n**Specific property in object of objects**\n\n```js\npad('foo', {\n  a: {\n    foo: 'a',\n    bar: 'z'\n  },\n  b: {\n    foo: 'aaaaaaa',\n    bar: 'z'\n  },\n  c: {\n    foo: 'aaa',\n    bar: 'z'\n  }\n});\n```\n\nResults in:\n\n```js\n{ a: { foo: 'a      ', bar: 'z' },\n  b: { foo: 'aaaaaaa', bar: 'z' },\n  c: { foo: 'aaa    ', bar: 'z' } }\n```\n\n**array of objects**\n\nPass an array and specify the property with the value to pad:\n\n```js\nvar pad = require('right-pad-values');\n\nvar arr = [{a: 'b'}, {a: 'bb'}, {a: 'bbbb'}, {a: 'bbb'}, {a: 'bb'}];\npad(arr, 'a');\n```\n\nResults in:\n\n```js\n[\n  {a: 'b   '},\n  {a: 'bb  '},\n  {a: 'bbbb'},\n  {a: 'bbb '},\n  {a: 'bb  '}\n];\n```\n\n## Related projects\n\n* [longest](https://www.npmjs.com/package/longest): Get the longest item in an array. | [homepage](https://github.com/jonschlinkert/longest)\n* [longest-value](https://www.npmjs.com/package/longest-value): Get the longest value for the given property from an array of objects, or the… [more](https://www.npmjs.com/package/longest-value) | [homepage](https://github.com/jonschlinkert/longest-value)\n* [pad-left](https://www.npmjs.com/package/pad-left): Left pad a string with zeros or a specified string. Fastest implementation. | [homepage](https://github.com/jonschlinkert/pad-left)\n* [pad-right](https://www.npmjs.com/package/pad-right): Right pad a string with zeros or a specified string. Fastest implementation. | [homepage](https://github.com/jonschlinkert/pad-right)\n* [repeat-element](https://www.npmjs.com/package/repeat-element): Create an array by repeating the given value n times. | [homepage](https://github.com/jonschlinkert/repeat-element)\n* [repeat-string](https://www.npmjs.com/package/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string. | [homepage](https://github.com/jonschlinkert/repeat-string)\n* [right-align-values](https://www.npmjs.com/package/right-align-values): Right align the values of a given property for each object in an array. Useful… [more](https://www.npmjs.com/package/right-align-values) | [homepage](https://github.com/jonschlinkert/right-align-values)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/right-pad-values/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 [Jon Schlinkert](https://github.com/jonschlinkert)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb) on December 27, 2015._","maintainers":[{"email":"brian.woodward@gmail.com","name":"doowb"},{"email":"github@sellside.com","name":"jonschlinkert"}],"time":{"modified":"2022-06-26T13:16:39.504Z","created":"2015-03-31T11:14:29.864Z","0.1.2":"2015-03-31T11:14:29.864Z","0.1.3":"2015-03-31T11:35:27.202Z","0.2.0":"2015-08-07T21:03:44.128Z","0.2.1":"2015-08-15T12:34:19.028Z","0.3.0":"2015-12-28T03:11:42.190Z","0.3.1":"2015-12-28T03:15:28.037Z"},"homepage":"https://github.com/jonschlinkert/right-pad-values","keywords":["align","column","longest","object","pad","right","table","value","values"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/right-pad-values.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/right-pad-values/issues"},"license":"MIT","readmeFilename":"readme.md"}