nl_tokens: Gets the module name of a given path .
pl_tokens: function getModuleName ( nameOrPath ) { let end = nameOrPath . indexOf ( "/" ) if ( <mask> !== - 1 && nameOrPath [ 0 ] === "@" ) { end = nameOrPath . indexOf ( "/" , 1 + end ) } return end === - 1 ? nameOrPath : nameOrPath . slice ( 0 , end ) }