@bemoje/parse-params (npm): Parse function parameters and get their names, count, incl rest-parameters and default values.
Keywords: function|rest|params|parameters|parse|source|default