How to get the File Extension of a File using Node

How to get the File Extension of a File using Node