source: trip-planner-front/node_modules/unique-filename/index.js@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 215 bytes
Line 
1'use strict'
2var path = require('path')
3
4var uniqueSlug = require('unique-slug')
5
6module.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.