how to print all methods of module in node code example Example: list methods of object js Object.getOwnPropertyNames(obj)