arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

center-align

Center-align the text in a string.

Install with npmarrow-up-right

hashtag
Usage

Example

If used on the following:

The result would be:

hashtag
Related projects

  • : Align the text in a string. |

  • : Wrap words to a specified length and justified the text. |

  • : Right-align the text in a string. |

hashtag
Running tests

Install dev dependencies:

hashtag
Contributing

Pull requests and stars are always welcome. For bugs and feature requests, .

hashtag
Author

Jon Schlinkert

hashtag
License

Copyright © 2015 Jon Schlinkert Released under the MIT license.

This file was generated by on October 27, 2015.

$ npm i center-align --save
var centerAlign = require('center-align');

: Wrap words to a specified length. |

align-textarrow-up-right
homepagearrow-up-right
justifiedarrow-up-right
homepagearrow-up-right
right-alignarrow-up-right
homepagearrow-up-right
please create an issuearrow-up-right
github/jonschlinkertarrow-up-right
twitter/jonschlinkertarrow-up-right
verb-cliarrow-up-right
Lorem ipsum dolor sit amet,
consectetur adipiscing
elit, sed do eiusmod tempor incididunt
ut labore et dolore
magna aliqua. Ut enim ad minim
veniam, quis
     Lorem ipsum dolor sit amet,
        consectetur adipiscing
elit, sed do eiusmod tempor incididunt
         ut labore et dolore
    magna aliqua. Ut enim ad minim
             veniam, quis
$ npm i -d && npm test
word-wraparrow-up-right
homepagearrow-up-right