{"_id":"pad-right","_rev":"108944","name":"pad-right","description":"Right pad a string with zeros or a specified string. Fastest implementation.","dist-tags":{"latest":"0.2.2"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:40:30.000Z","created":"2014-11-30T19:31:28.681Z","0.2.2":"2015-08-15T12:26:19.746Z","0.2.1":"2015-08-15T12:18:36.218Z","0.2.0":"2015-08-12T19:20:44.222Z","0.1.1":"2014-11-30T19:31:28.681Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/pad-right.git"},"versions":{"0.2.2":{"name":"pad-right","description":"Right pad a string with zeros or a specified string. Fastest implementation.","version":"0.2.2","homepage":"https://github.com/jonschlinkert/pad-right","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/pad-right.git"},"bugs":{"url":"https://github.com/jonschlinkert/pad-right/issues"},"license":"MIT","main":"index.js","files":["index.js"],"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"repeat-string":"^1.5.2"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["align","alignment","fill","left","pad","pad-left","pad-right","padded","padding","right","right-pad","spaces","string","zero","zero-fill","zeros"],"verb":{"related":{"list":["align-text","center-align","justified","pad-left","repeat-string","right-align","right-align-keys","right-align-values","right-pad-keys","right-pad-values","word-wrap"]}},"gitHead":"ddc7a2a332e3c740351f017c51569ed1a09340e4","_id":"pad-right@0.2.2","_shasum":"6fbc924045d244f2a2a244503060d3bfc6009774","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6fbc924045d244f2a2a244503060d3bfc6009774","size":2235,"noattachment":false,"key":"/pad-right/-/pad-right-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pad-right/download/pad-right-0.2.2.tgz"},"directories":{},"publish_time":1439641579746,"_cnpm_publish_time":1439641579746,"_hasShrinkwrap":false},"0.2.1":{"name":"pad-right","description":"Right pad a string with zeros or a specified string. Fastest implementation.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/pad-right","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/pad-right.git"},"bugs":{"url":"https://github.com/jonschlinkert/pad-right/issues"},"license":"MIT","main":"index.js","files":["index.js"],"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"repeat-string":"^1.5.2"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["align","alignment","fill","left","pad","pad-left","pad-right","padded","padding","right","right-pad","spaces","string","zero","zero-fill","zeros"],"verb":{"related":{"list":["align-text","center-align","justified","pad-left","repeat-string","right-align","right-align-keys","right-align-values","right-pad-keys","right-pad-values","word-wrap"]}},"gitHead":"6b6ddec872d2ebce0a76ceedabb6ad7a2da346f4","_id":"pad-right@0.2.1","_shasum":"fc4e5b469f6953420f91537dfe09ee2725140d54","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"fc4e5b469f6953420f91537dfe09ee2725140d54","size":2234,"noattachment":false,"key":"/pad-right/-/pad-right-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pad-right/download/pad-right-0.2.1.tgz"},"directories":{},"publish_time":1439641116218,"_cnpm_publish_time":1439641116218,"_hasShrinkwrap":false},"0.2.0":{"name":"pad-right","description":"Right pad a string with zeros or a specified string. Fastest implementation.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/pad-right","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/pad-right.git"},"bugs":{"url":"https://github.com/jonschlinkert/pad-right/issues"},"license":"MIT","main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"repeat-string":"^1.5.2"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["align","alignment","fill","left","pad","pad-left","pad-right","padded","padding","right","right-pad","spaces","string","zero","zero-fill","zeros"],"verb":{"related":{"list":["align-text","center-align","justified","pad-left","repeat-string","right-align","right-align-keys","right-align-values","right-pad-keys","right-pad-values","word-wrap"]}},"gitHead":"cc75164bad6b3fb84212d1f668f7468f14bb9afb","_id":"pad-right@0.2.0","_shasum":"397e696d4328e87a35ace35ac8bae6712e5004be","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"397e696d4328e87a35ace35ac8bae6712e5004be","size":3110,"noattachment":false,"key":"/pad-right/-/pad-right-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pad-right/download/pad-right-0.2.0.tgz"},"directories":{},"publish_time":1439407244222,"_cnpm_publish_time":1439407244222,"_hasShrinkwrap":false},"0.1.1":{"name":"pad-right","description":"Right pad a string with zeros or a specified string. Fastest implementation.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/pad-right","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/pad-right.git"},"bugs":{"url":"https://github.com/jonschlinkert/pad-right/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/pad-right/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"repeat-string":"^0.2.2"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"_id":"pad-right@0.1.1","_shasum":"c742ac7030076800b4ee83b9295870da65f0e937","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c742ac7030076800b4ee83b9295870da65f0e937","size":2574,"noattachment":false,"key":"/pad-right/-/pad-right-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pad-right/download/pad-right-0.1.1.tgz"},"directories":{},"publish_time":1417375888681,"_cnpm_publish_time":1417375888681,"_hasShrinkwrap":false}},"readme":"# pad-right [![NPM version](https://badge.fury.io/js/pad-right.svg)](http://badge.fury.io/js/pad-right)\n\n> Right pad a string with zeros or a specified string. Fastest implementation.\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i pad-right --save\n```\n\n## Run tests\n\n```bash\nnpm test\n```\n\n## Usage\n\n```js\nvar pad = require('pad-right');\npad('abc', 5)\n// 'abc00'\npad('abc', 10)\n// 'abc0000000'\npad('abc', 10, '~')\n// 'abc~~~~~~~'\npad('abc', 10, ' ')\n// 'abc       '\n```\n\n## Related\n\n* [align-text](https://github.com/jonschlinkert/align-text): Align the text in a string.\n* [center-align](https://github.com/jonschlinkert/center-align): Center-align the text in a string.\n* [justified](https://github.com/jonschlinkert/justified): Wrap words to a specified length and justified the text.\n* [pad-left](https://github.com/jonschlinkert/pad-left): Left pad a string with zeros or a specified string. Fastest implementation.\n* [repeat-string](https://github.com/jonschlinkert/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string.\n* [right-align](https://github.com/jonschlinkert/right-align): Right-align the text in a string.\n* [right-align-keys](https://github.com/jonschlinkert/right-align-keys): Right align the keys of an object.\n* [right-align-values](https://github.com/jonschlinkert/right-align-values): Right align the values of a given property for each object in an array. Useful… [more](https://github.com/jonschlinkert/right-align-values)\n* [right-pad-keys](https://github.com/jonschlinkert/right-pad-keys): Right pad the keys of an object.\n* [right-pad-values](https://github.com/jonschlinkert/right-pad-values): Right pad the values of a given property for each object in an array. Useful… [more](https://github.com/jonschlinkert/right-pad-values)\n* [word-wrap](https://github.com/jonschlinkert/word-wrap): Wrap words to a specified length.\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/pad-right/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 © 2014-2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 15, 2015._","_attachments":{},"homepage":"https://github.com/jonschlinkert/pad-right","bugs":{"url":"https://github.com/jonschlinkert/pad-right/issues"},"license":"MIT"}