11cb0ef41Sopenharmony_civar path = require('path') 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_civar uniqueSlug = require('unique-slug') 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_cimodule.exports = function (filepath, prefix, uniq) { 61cb0ef41Sopenharmony_ci return path.join(filepath, (prefix ? prefix + '-' : '') + uniqueSlug(uniq)) 71cb0ef41Sopenharmony_ci} 8