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