nl_tokens: list the directories in the path ignoring any files
pl_tokens: function findPlugins ( pluginDir ) { var plugins = [ ] ; if ( fs . existsSync ( pluginDir ) ) { plugins = <mask> . readdirSync ( pluginDir ) . filter ( function ( fileName ) { var pluginPath = path . join ( pluginDir , fileName ) ; var isPlugin = isDirectory ( pluginPath ) || isSymbolicLink ( pluginPath ) ; return fileName !== '.svn' && fileName !== 'CVS' && isPlugin ; } ) ; } return plugins ; }