exec-func (npm): execute exported javascript function with module type of es.
Keywords: exec|function