Extract the file extension from a path.
npm install file-extExtract the file extension from a path.

``sh`
npm install file-ext
`js
const fileExt = require("file-ext");
fileExt("a/b.txt");
//=> 'txt'
`
#### filename
Type: string`
The filename to extract the extension from.