仪表盘
版本库
文件存储
活动
搜索
登录
main
/
testApp
在线考试教育APP
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
init
马宇豪
2024-07-16
f591c27b57e2418c9495bc02ae8cfff84d35bc18
[testApp.git]
/
node_modules
/
npm
/
node_modules
/
unique-filename
/
lib
/
index.js
1
2
3
4
5
6
7
var path = require('path')
var uniqueSlug = require('unique-slug')
module.exports = function (filepath, prefix, uniq) {
return path.join(filepath, (prefix ? prefix + '-' : '') + uniqueSlug(uniq))
}