argnames Installation $ npm install @chengaoyuan/argnames Usage import argnames from "@chengaoyuan/argnames"; console.log(argnames(function(a:string,b:number){}); // out: ['a', 'b'] Testing $ npm test