Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / right-align / README.md
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
5 Install with [npm](https://www.npmjs.com/)
6
7 ```sh
8 $ npm i right-align --save
9 ```
10
11 ## Usage
12
13 ```js
14 var rightAlign = require('right-align');
15 rightAlign(string);
16 ```
17
18 **Example**
19
20 If used on the following:
21
22 ```
23 Lorem ipsum dolor sit amet,
24 consectetur adipiscing
25 elit, sed do eiusmod tempor incididunt
26 ut labore et dolore
27 magna aliqua. Ut enim ad minim
28 veniam, quis
29 ```
30
31 The result would be:
32
33 ```
34            Lorem ipsum dolor sit amet,
35                 consectetur adipiscing
36 elit, 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
53 Install dev dependencies:
54
55 ```sh
56 $ npm i -d && npm test
57 ```
58
59 ## Contributing
60
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)
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
72 Copyright © 2015 Jon Schlinkert
73 Released 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._