# Code coverage report for index.js

## Statements: 100% (4 / 4) Branches: 100% (2 / 2) Functions: 100% (1 / 1) Lines: 100% (4 / 4) Ignored: none

All files » __root__/ » index.js

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