1 # right-align [![NPM version](https://badge.fury.io/js/right-align.svg)](http://badge.fury.io/js/right-align)
3 > Right-align the text in a string.
5 Install with [npm](https://www.npmjs.com/)
8 $ npm i right-align --save
14 var rightAlign = require('right-align');
20 If used on the following:
23 Lorem ipsum dolor sit amet,
24 consectetur adipiscing
25 elit, sed do eiusmod tempor incididunt
27 magna aliqua. Ut enim ad minim
34 Lorem ipsum dolor sit amet,
35 consectetur adipiscing
36 elit, sed do eiusmod tempor incididunt
38 magna aliqua. Ut enim ad minim
44 * [align-text](https://github.com/jonschlinkert/align-text): Align the text in a string.
45 * [center-align](https://github.com/jonschlinkert/center-align): Center-align the text in a string.
46 * [justify](https://github.com/bahamas10/node-justify): Left or right (or both) justify text using a custom width and character
47 * [repeat-string](https://github.com/jonschlinkert/repeat-string): Repeat the given string n times. Fastest implementation for repeating a string.
48 * [repeat-element](https://github.com/jonschlinkert/repeat-element): Create an array by repeating the given value n times.
49 * [word-wrap](https://github.com/jonschlinkert/word-wrap): Wrap words to a specified length.
53 Install dev dependencies:
56 $ npm i -d && npm test
61 Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/right-align/issues/new)
67 + [github/jonschlinkert](https://github.com/jonschlinkert)
68 + [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
72 Copyright © 2015 Jon Schlinkert
73 Released under the MIT license.
77 _This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on June 09, 2015._