1# right-align [![NPM version](https://badge.fury.io/js/right-align.svg)](http://badge.fury.io/js/right-align)
2
3> Right-align the text in a string.
4
5Install with [npm](https://www.npmjs.com/)
6
7```sh
8$ npm i right-align --save
9```
10
11## Usage
12
13```js
14var rightAlign = require('right-align');
15rightAlign(string);
16```
17
18**Example**
19
20If used on the following:
21
22```
23Lorem ipsum dolor sit amet,
24consectetur adipiscing
25elit, sed do eiusmod tempor incididunt
26ut labore et dolore
27magna aliqua. Ut enim ad minim
28veniam, quis
29```
30
31The result would be:
32
33```
34           Lorem ipsum dolor sit amet,
35                consectetur adipiscing
36elit, sed do eiusmod tempor incididunt
37                   ut labore et dolore
38        magna aliqua. Ut enim ad minim
39                          veniam, quis
40```
41
42## Related projects
43
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.
50
51## Running tests
52
53Install dev dependencies:
54
55```sh
56$ npm i -d && npm test
57```
58
59## Contributing
60
61Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/right-align/issues/new)
62
63## Author
64
65**Jon Schlinkert**
66
67+ [github/jonschlinkert](https://github.com/jonschlinkert)
68+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
69
70## License
71
72Copyright © 2015 Jon Schlinkert
73Released under the MIT license.
74
75***
76
77_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on June 09, 2015._
78