Home

Awesome

right-pad-keys NPM version Build Status

Right pad the keys of an object.

Install

Install with npm

$ npm i right-pad-keys --save

Usage example

pad({
  a: 'x', 
  bbb: 'x', 
  ccccc: 'x', 
  ddddddd: 'x'
});

Results in:

{
  'a      ': 'x',
  'bbb    ': 'x',
  'ccccc  ': 'x',
  'ddddddd': 'x'
}

Related projects

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on August 15, 2015.