Sha256: 3a3218f3b64cb4b585a712fe58c9ca0ee4b1d861a4c53b42867143c209a41d78

Contents?: true

Size: 215 Bytes

Versions: 40

Compression:

Stored size: 215 Bytes

Contents

'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))
}

Version data entries

40 entries across 38 versions & 13 rubygems

Version Path
ilog-0.4.0 node_modules/unique-filename/index.js
ilog-0.3.3 node_modules/unique-filename/index.js
jester-data-8.0.0 node_modules/unique-filename/index.js
ezii-os-5.2.1 node_modules/unique-filename/index.js
ezii-os-2.0.1 node_modules/unique-filename/index.js
ezii-os-1.1.0 node_modules/unique-filename/index.js
ezii-os-1.0.0 node_modules/unique-filename/index.js
ezii-os-0.0.0.1.0 node_modules/unique-filename/index.js
ezii-os-0.0.0.0.1 node_modules/unique-filename/index.js
optimacms-0.4.3 spec/dummy/node_modules/unique-filename/index.js
optimacms-0.4.2 spec/dummy/node_modules/unique-filename/index.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/unique-filename/index.js
locomotivecms-3.4.0 app/javascript/node_modules/unique-filename/index.js
cortex-0.1.3 spec/dummy/node_modules/unique-filename/index.js
dragonfly_puppeteer-0.1.0 node_modules/unique-filename/index.js
node-compiler-0.9.1 vendor/node/deps/npm/node_modules/unique-filename/index.js
node-compiler-0.9.0 vendor/node-v7.2.1/deps/npm/node_modules/unique-filename/index.js
node-compiler-0.8.0 vendor/node-v7.2.0/deps/npm/node_modules/unique-filename/index.js
node-compiler-0.7.0 vendor/node-v6.9.1/deps/npm/node_modules/unique-filename/index.js
node-compiler-0.7.0 vendor/node-v7.1.0/deps/npm/node_modules/unique-filename/index.js