Gathering detailed insights and metrics for change-case-object-chmurson
Gathering detailed insights and metrics for change-case-object-chmurson
Gathering detailed insights and metrics for change-case-object-chmurson
Gathering detailed insights and metrics for change-case-object-chmurson
Changes the case of all keys in an object
npm install change-case-object-chmurson
Typescript
Module System
Node Version
NPM Version
70.4
Supply Chain
87.7
Quality
75
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
7,966
Last Day
1
Last Week
1
Last Month
14
Last Year
110
MIT License
10 Stars
47 Commits
15 Forks
3 Watchers
2 Branches
4 Contributors
Updated on Feb 06, 2025
Minified
Minified + Gzipped
Latest Version
2.1.0
Package Id
change-case-object-chmurson@2.1.0
Size
4.93 kB
NPM Version
5.0.3
Node Version
6.5.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
0%
1
Compared to previous week
Last Month
16.7%
14
Compared to previous month
Last Year
-39.9%
110
Compared to previous year
3
Changes the case of all keys in an object or array. In its simplest form it also changes the key itself if a string is passed in.
For was created at version of 2.0.0 of original BinaryThumb/change-case-object
npm install change-case-object
Currently, only CommonJS environments are supported. (This means Node.js and browser with browserify
or webpack
)
1var changeCaseObject = require('change-case-object'); 2 3var myObject = { 4 hello_world: 'hi', 5}; 6 7var newObject = changeCaseObject.camelCase(myObject); 8// {helloWorld: 'hi'}
All methods are available under the changeCaseObject
object after the module has been required.
Conerts all object keys into camel case.
hello_world -> helloWorld
Conerts all object keys into snake case.
helloWorld -> hello_world
Conerts all object keys into param case.
helloWorld -> hello-world
Shorthand methods are also available:
.camelCase -> .camel
.snakeCase -> .snake
.paramCase -> .param
AirBnB ES5
MIT
2.1.0 String values of are no longer being transformed
2.0.0 Object values are no longer being transformed by default
1.1.1 Stricter checking for code guideline
1.1.0 Add support for arrays and primitives
1.0.0 Initial version
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 2/27 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More