All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.snake-case.snake-case.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
var noCase = require('no-case')

/**
 * Snake case a string.
 *
 * @param  {string} value
 * @param  {string} [locale]
 * @return {string}
 */
module.exports = function (value, locale) {
  return noCase(value, locale, '_')
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy