forked from mirror/Riven
1
0
Fork 0
Riven/riven/srcgen/node_modules/path-case/path-case.js

13 lines
224 B
JavaScript

var noCase = require('no-case')
/**
* Path case a string.
*
* @param {string} value
* @param {string} [locale]
* @return {string}
*/
module.exports = function (value, locale) {
return noCase(value, locale, '/')
}