snake-case
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "snake-case", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Snake case a string", | ||
@@ -34,8 +34,8 @@ "main": "snake-case.js", | ||
"istanbul": "^0.3.0", | ||
"mocha": "^1.18.2", | ||
"pre-commit": "0.0.9" | ||
"mocha": "^2.1.0", | ||
"pre-commit": "^1.0.1" | ||
}, | ||
"dependencies": { | ||
"sentence-case": "^1.1.1" | ||
"sentence-case": "^1.1.2" | ||
} | ||
} |
# Snake Case | ||
[![NPM version][npm-image]][npm-url] | ||
[![NPM downloads][downloads-image]][downloads-url] | ||
[![Build status][travis-image]][travis-url] | ||
@@ -35,2 +36,4 @@ [![Test coverage][coveralls-image]][coveralls-url] | ||
[npm-url]: https://npmjs.org/package/snake-case | ||
[downloads-image]: https://img.shields.io/npm/dm/snake-case.svg?style=flat | ||
[downloads-url]: https://npmjs.org/package/snake-case | ||
[travis-image]: https://img.shields.io/travis/blakeembrey/snake-case.svg?style=flat | ||
@@ -37,0 +40,0 @@ [travis-url]: https://travis-ci.org/blakeembrey/snake-case |
@@ -11,3 +11,3 @@ var sentenceCase = require('sentence-case'); | ||
module.exports = function (str, locale) { | ||
return sentenceCase(str, locale).replace(/ /g, '_'); | ||
return sentenceCase(str, locale, '_'); | ||
}; |
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
3487
42
Updatedsentence-case@^1.1.2