nl_tokens: @module @lobsangnet / lobsang - processor - port Library to process the port from an URL .
pl_tokens: function lobsangProcessorPort ( link ) { let parts try { parts = parseUrl ( link ) } catch ( error ) { return Promise . reject ( error ) } if ( parts . port === '' ) { return getDefaultPortByProtocol ( parts . protocol ) } // For some reasons, the Promise resolves always to a String (not Number). return Promise . resolve ( String ( <mask> . port ) ) }