jeefo_utils
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "jeefo_utils", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"homepage": "https://github.com/je3f0o/jeefo_utils", | ||
@@ -5,0 +5,0 @@ "copyright": "2017", |
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. | ||
* File Name : dash_case.js | ||
* Created at : 2017-08-09 | ||
* Updated at : 2017-08-11 | ||
* Updated at : 2017-09-01 | ||
* Author : jeefo | ||
@@ -18,3 +18,3 @@ * Purpose : | ||
module.exports = function (str) { | ||
module.exports = function dash_case (str) { | ||
return str.replace(CAMEL_CASE_REGEXP, function (letter, pos) { | ||
@@ -21,0 +21,0 @@ return (pos ? '-' : '') + letter.toLowerCase(); |
@@ -18,3 +18,3 @@ /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. | ||
module.exports = function (str) { | ||
module.exports = function snake_case (str) { | ||
return str.replace(CAMEL_CASE_REGEXP, function (letter, pos) { | ||
@@ -21,0 +21,0 @@ return (pos ? '_' : '') + letter.toLowerCase(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4962
10
128