/*! * file-name * * Copyright (c) 2015, Jon Schlinkert. * Licensed under the MIT License. */ 'use strict'; var path = require('path'); module.exports = function filename(fp) { return path.basename(fp, path.extname(fp)); };