drop-extnames
Because I needed to drop all extnames from path too many times.
Install
npm install --save drop-extnames
API
dropExts(path)
path: String
(file path)
Return: String
Example:
let dropExts = ; ; // = 'anywhere/something'; // = 'something'