Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jeefo_utils

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jeefo_utils - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

string/capitalize.js

2

package.json
{
"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();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc