GitShow/sindresorhus/lowercase-keys
sindresorhus

lowercase-keys

Lowercase the keys of an object

by sindresorhus
Star on GitHubForknpm

JavaScript

41 stars11 forks3 contributorsQuiet · 6mo agoSince 2015v4.0.1MIT

Meet the team

See all 3 on GitHub →
sindresorhus
sindresorhus19 contributions
BendingBender
BendingBender1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript92.7%
TypeScript7.3%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
palashmon
Handling null or undefined input in `lowercaseKeys` functionClosedIssue

I noticed another potential bug in the function regarding how it handles or input. Currently, if the function receives null or undefined as input, it throws an error due to attempting to access the properties of an undefined or null object. To reproduce the issue: Thank you!

palashmon · 6mo ago
palashmon
Duplicate keys with different casingsClosedIssue

I recently found a potential bug in this code related to duplicate keys with different casings. When the lowercaseKeys function encounters objects with keys like "Key" and "key", it only retains one of them due to the transformation to lowercase keys. This could lead to unexpected behavior and data loss in certain scenarios. To illustrate, here is a code example: Thank you!

palashmon · 6mo ago
rahulsushilsharma
improving performanceMergedPR

fixing test issuss.

rahulsushilsharma · 3y ago
Structured data for AI agents

Repository: sindresorhus/lowercase-keys. Description: Lowercase the keys of an object Stars: 41, Forks: 11. Primary language: JavaScript. Languages: JavaScript (92.7%), TypeScript (7.3%). License: MIT. Latest release: v4.0.1 (6mo ago). Open PRs: 0, open issues: 0. Last activity: 6mo ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, Richienb.

·@ofershap

Replace github.com with gitshow.dev