File | ++ | Statements | ++ | Branches | ++ | Functions | ++ | Lines | ++ |
---|---|---|---|---|---|---|---|---|---|
index.js | ++ | 100% | +(4 / 4) | +100% | +(2 / 2) | +100% | +(1 / 1) | +100% | +(4 / 4) | +
1 +2 +3 +4 +5 +6 +7 +8 +9 | +1 + +1 + +1 +6 + + | '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)) +} + |
File | ++ | Statements | ++ | Branches | ++ | Functions | ++ | Lines | ++ |
---|---|---|---|---|---|---|---|---|---|
__root__/ | ++ | 100% | +(4 / 4) | +100% | +(2 / 2) | +100% | +(1 / 1) | +100% | +(4 / 4) | +