\begin{quote}
Normalize file path slashes to be unix-\/like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes unless disabled. \end{quote}
\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33305}{}\doxysection{Install}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33305}
Install with \href{https://www.npmjs.com/}{\texttt{ npm}}\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save normalize-\/path }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33306}{}\doxysection{Usage}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33306}

\begin{DoxyCode}{0}
\DoxyCodeLine{var normalize = require('normalize-\/path');}
\DoxyCodeLine{}
\DoxyCodeLine{normalize('\(\backslash\)\(\backslash\)foo\(\backslash\)\(\backslash\)bar\(\backslash\)\(\backslash\)baz\(\backslash\)\(\backslash\)');}
\DoxyCodeLine{//=> '/foo/bar/baz'}
\DoxyCodeLine{}
\DoxyCodeLine{normalize('./foo/bar/baz/');}
\DoxyCodeLine{//=> './foo/bar/baz' }

\end{DoxyCode}


Pass {\ttfamily false} as the last argument to {\bfseries{keep}} trailing slashes\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{normalize('./foo/bar/baz/', false);}
\DoxyCodeLine{//=> './foo/bar/baz/'}
\DoxyCodeLine{}
\DoxyCodeLine{normalize('foo\(\backslash\)\(\backslash\)bar\(\backslash\)\(\backslash\)baz\(\backslash\)\(\backslash\)', false);}
\DoxyCodeLine{//=> 'foo/bar/baz/' }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33307}{}\doxysection{About}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33307}
\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33308}{}\doxysubsection{Related projects}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33308}

\begin{DoxyItemize}
\item \href{https://www.npmjs.com/package/contains-path}{\texttt{ contains-\/path}}\+: Return true if a file path contains the given path. $\vert$ \href{https://github.com/jonschlinkert/contains-path}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/ends-with}{\texttt{ ends-\/with}}\+: Returns {\ttfamily true} if the given {\ttfamily string} or {\ttfamily array} ends with {\ttfamily suffix} using strict equality for… \href{https://github.com/jonschlinkert/ends-with}{\texttt{ more}} $\vert$ \href{https://github.com/jonschlinkert/ends-with}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/is-absolute}{\texttt{ is-\/absolute}}\+: Polyfill for node.\+js {\ttfamily path.\+is\+Abolute}. Returns true if a file path is absolute. $\vert$ \href{https://github.com/jonschlinkert/is-absolute}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/is-relative}{\texttt{ is-\/relative}}\+: Returns {\ttfamily true} if the path appears to be relative. $\vert$ \href{https://github.com/jonschlinkert/is-relative}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/parse-filepath}{\texttt{ parse-\/filepath}}\+: Pollyfill for node.\+js {\ttfamily path.\+parse}, parses a filepath into an object. $\vert$ \href{https://github.com/jonschlinkert/parse-filepath}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/path-ends-with}{\texttt{ path-\/ends-\/with}}\+: Return {\ttfamily true} if a file path ends with the given string/suffix. $\vert$ \href{https://github.com/jonschlinkert/path-ends-with}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/path-segments}{\texttt{ path-\/segments}}\+: Get n specific segments of a file path, e.\+g. first 2, last 3, etc. $\vert$ \href{https://github.com/jonschlinkert/path-segments}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/rewrite-ext}{\texttt{ rewrite-\/ext}}\+: Automatically re-\/write the destination extension of a filepath based on the source extension. e.\+g… \href{https://github.com/jonschlinkert/rewrite-ext}{\texttt{ more}} $\vert$ \href{https://github.com/jonschlinkert/rewrite-ext}{\texttt{ homepage}}
\item \href{https://www.npmjs.com/package/unixify}{\texttt{ unixify}}\+: Convert Windows file paths to unix paths. $\vert$ \href{https://github.com/jonschlinkert/unixify}{\texttt{ homepage}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33309}{}\doxysubsection{Contributing}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33309}
Pull requests and stars are always welcome. For bugs and feature requests, \href{../../issues/new}{\texttt{ please create an issue}}.\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33310}{}\doxysubsection{Contributors}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33310}
\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{2}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Commits}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Contributor}}    }\\\cline{1-2}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Commits}}   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ {\bfseries{Contributor}}    }\\\cline{1-2}
\endhead
31   &\href{https://github.com/jonschlinkert}{\texttt{ jonschlinkert}}    \\\cline{1-2}
1   &\href{https://github.com/phated}{\texttt{ phated}}   \\\cline{1-2}
\end{longtabu}
\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33311}{}\doxysubsection{Building docs}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33311}
\+\_\+(This project\textquotesingle{}s readme.\+md is generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb}}, please don\textquotesingle{}t edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)\+\_\+

To generate the readme, run the following command\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/g verbose/verb\#dev verb-\/generate-\/readme \&\& verb }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33312}{}\doxysubsection{Running tests}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33312}
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install \&\& npm test }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33313}{}\doxysubsection{Author}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33313}
{\bfseries{Jon Schlinkert}}


\begin{DoxyItemize}
\item \href{https://github.com/jonschlinkert}{\texttt{ github/jonschlinkert}}
\item \href{https://twitter.com/jonschlinkert}{\texttt{ twitter/jonschlinkert}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33314}{}\doxysubsection{License}\label{md_sfcode_node_modules_webpack_dev_server_node_modules_anymatch_node_modules_normalize_path_README_autotoc_md33314}
Copyright © 2017, \href{https://github.com/jonschlinkert}{\texttt{ Jon Schlinkert}}. Released under the \mbox{[}MIT License\mbox{]}(LICENSE).

\DoxyHorRuler{0}


{\itshape This file was generated by \href{https://github.com/verbose/verb-generate-readme}{\texttt{ verb-\/generate-\/readme}}, v0.\+4.\+3, on March 29, 2017.} 