nl_tokens: Define if dir is a Epm repository
pl_tokens: function isRepoSync ( dir ) { var dirs if ( dir instanceof Array ) { dirs = dir } else { dirs = getDirectoriesSync ( dir ) } var res = dirs . filter ( function ( name ) { return <mask> . match ( / \.epm / ig ) } ) ; return res . length > 0 ; }