nl_tokens: Create an app name from a directory path fitting npm naming requirements .
pl_tokens: function createAppName ( pathName ) { return <mask> . basename ( pathName ) . replace ( / [^A-Za-z0-9.-]+ / g , '-' ) . replace ( / ^[-_.]+|-+$ / g , '' ) . toLowerCase ( ) }