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

constant-case

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

constant-case - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

4

constant-case.js

@@ -1,2 +0,2 @@

var sentence = require('sentence-case');
var snake = require('snake-case');

@@ -10,3 +10,3 @@ /**

module.exports = function (string) {
return sentence(string).toUpperCase().replace(/ /g, '_');
return snake(string).toUpperCase();
};
{
"name": "constant-case",
"version": "0.0.2",
"version": "0.1.0",
"description": "Constant case a string",

@@ -29,4 +29,4 @@ "main": "constant-case.js",

"dependencies": {
"sentence-case": "0.0.2"
"snake-case": "^0.1.1"
}
}
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