\begin{quote}
Right-\/align the text in a string. \end{quote}


Install with \href{https://www.npmjs.com/}{\tt npm}


\begin{DoxyCode}
$ npm i right-align --save
\end{DoxyCode}


\subsection*{Usage}


\begin{DoxyCode}
var rightAlign = require('right-align');
rightAlign(string);
\end{DoxyCode}


{\bfseries Example}

If used on the following\+:


\begin{DoxyCode}
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
\end{DoxyCode}


The result would be\+:


\begin{DoxyCode}
           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
\end{DoxyCode}


\subsection*{Related projects}


\begin{DoxyItemize}
\item \href{https://github.com/jonschlinkert/align-text}{\tt align-\/text}\+: Align the text in a string.
\item \href{https://github.com/jonschlinkert/center-align}{\tt center-\/align}\+: Center-\/align the text in a string.
\item \href{https://github.com/bahamas10/node-justify}{\tt justify}\+: Left or right (or both) justify text using a custom width and character
\item \href{https://github.com/jonschlinkert/repeat-string}{\tt repeat-\/string}\+: Repeat the given string n times. Fastest implementation for repeating a string.
\item \href{https://github.com/jonschlinkert/repeat-element}{\tt repeat-\/element}\+: Create an array by repeating the given value n times.
\item \href{https://github.com/jonschlinkert/word-wrap}{\tt word-\/wrap}\+: Wrap words to a specified length.
\end{DoxyItemize}

\subsection*{Running tests}

Install dev dependencies\+:


\begin{DoxyCode}
$ npm i -d && npm test
\end{DoxyCode}


\subsection*{Contributing}

Pull requests and stars are always welcome. For bugs and feature requests, \href{https://github.com/jonschlinkert/right-align/issues/new}{\tt please create an issue}

\subsection*{Author}

{\bfseries <NAME>}


\begin{DoxyItemize}
\item \href{https://github.com/jonschlinkert}{\tt github/jonschlinkert}
\item \href{http://twitter.com/jonschlinkert}{\tt twitter/jonschlinkert}
\end{DoxyItemize}

\subsection*{License}

Copyright © 2015 <NAME> Released under the M\+IT license.





{\itshape This file was generated by \href{https://github.com/assemble/verb-cli}{\tt verb-\/cli} on June 09, 2015.} 