Generate a unique character string suitible for use in files and URLs.


\begin{DoxyCode}{0}
\DoxyCodeLine{var uniqueSlug = require('unique-\/slug')}
\DoxyCodeLine{}
\DoxyCodeLine{var randomSlug = uniqueSlug()}
\DoxyCodeLine{var fileSlug = uniqueSlug('/etc/passwd') }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_unique_slug_README_autotoc_md31309}{}\doxysubsection{unique\+Slug($<$em$>$str$<$/em$>$) → String (8 chars)}\label{md_sfcode_node_modules_unique_slug_README_autotoc_md31309}
If {\itshape str} is passed in then the return value will be its murmur hash in hex.

If {\itshape str} is not passed in, it will be 4 randomly generated bytes converted into 8 hexadecimal characters. 