finki-main
main
|
Last change
on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
215 bytes
|
| Rev | Line | |
|---|
| [81bc7da] | 1 | 'use strict'
|
|---|
| 2 | var path = require('path')
|
|---|
| 3 |
|
|---|
| 4 | var uniqueSlug = require('unique-slug')
|
|---|
| 5 |
|
|---|
| 6 | module.exports = function (filepath, prefix, uniq) {
|
|---|
| 7 | return path.join(filepath, (prefix ? prefix + '-' : '') + uniqueSlug(uniq))
|
|---|
| 8 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.