remove-ext
Remove the extension from the string path to file. It's similar to path.basename.
Install the module with: npm install remove-ext
Example
var rmExt = path = '/path/to/gif.gif' result = ; console; // 'path/to/gif'
License
Copyright (c) 2014 Fredrik Forsmo
Licensed under the MIT license.