Spaces:
Sleeping
Sleeping
File size: 299 Bytes
7f21468 |
1 2 3 4 5 6 7 8 9 10 11 |
'use strict';
const path = require('path');
const filenamify = require('./filenamify');
const filenamifyPath = (filePath, options) => {
filePath = path.resolve(filePath);
return path.join(path.dirname(filePath), filenamify(path.basename(filePath), options));
};
module.exports = filenamifyPath;
|