D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
node_modules
/
npm
/
node_modules
/
unique-filename
/
Filename :
index.js
back
Copy
'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)) }