is-extname
Check file extension name
Install
$ yarn add is-extname
Usage
const isExtname = const create = async { const extname = if extname return await return `We don't support this type of file.`}
License
MIT © Bu Kinoshita