Current Path : /opt/alt/alt-nodejs9/root/usr/lib/node_modules/npm/node_modules/unique-filename/ |
Current File : //opt/alt/alt-nodejs9/root/usr/lib/node_modules/npm/node_modules/unique-filename/index.js |
'use strict' var path = require('path') var uniqueSlug = require('unique-slug') module.exports = function (filepath, prefix, uniq) { return path.join(filepath, (prefix ? prefix + '-' : '') + uniqueSlug(uniq)) }