GitShow/sindresorhus/decamelize-keys
sindresorhus

decamelize-keys

Convert object keys from camel case

by sindresorhus
Star on GitHubForknpm

JavaScript

57 stars8 forks2 contributorsActive · 1mo agoSince 2022v2.0.1MIT

Meet the team

See all 2 on GitHub →
sindresorhus
sindresorhus5 contributions
ntnyq
ntnyq1 contribution

Languages

View on GitHub →
JavaScript85.6%
TypeScript14.4%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

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

Recent PRs & issues

Active · 1 in progress · Last activity 1mo ago
See all on GitHub →
zfaustk
Fix nested return types with `deep: true`OpenPR

Fixes #7 The return type now follows through nested objects and arrays while preserving the runtime's non-recursive , , and values. Tests: (8 tests) is currently blocked on the unmodified base by an incompatibility between the repository's XO 0.52.4 dependency tree and ESLint 8.57.1 ( calls the removed API). The same failure occurs with this commit reverted. Implemented and tested with Codex assistance. I reviewed the final diff and test output.

zfaustk · 4d ago
evgeniyworkbel
Issue with nested type: nested properties are not decamelized by TypeScriptOpenIssue
evgeniyworkbel · 2y ago
babgyy
Nested type are not decamelized with deep: trueOpenIssue

Typescript types are not decamelized when using option, even though the value is. !image Reproducible example: https://stackblitz.com/edit/typescript-xhz4tl?file=index.ts (thanks for the lib)

babgyy · 2y ago

Recent fixes

View closed PRs →
edcheung1
Add options `preserveConsecutiveUppercase`, `excludeChildren`, `overrides`MergedPR

Description Add three new options: Ported over from Takes in . When a key's parent matches one of the entries in , the key will not be camelcased Takes in . When a key matches the first entry in an tuple, the key will be manually converted to the second entry in the tuple Testing Companion PR: https://github.com/sindresorhus/camelcase-keys/pull/133

edcheung1 · 5mo ago
CountryGuide
Invalid regular expression: invalid group specifier nameClosedIssue

Safari: Version 16.2 (18614.3.7.1.5) MacOS: 13.1 (22C65)

CountryGuide · 6mo ago
sobrinho
Support legacy environments by removing _ on the numberClosedIssue

Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used patch-package to patch for the project I'm working on. Here is the diff that solved my problem: This issue body was partially generated by patch-package.

sobrinho · 2y ago
Structured data for AI agents

Repository: sindresorhus/decamelize-keys. Description: Convert object keys from camel case Stars: 57, Forks: 8. Primary language: JavaScript. Languages: JavaScript (85.6%), TypeScript (14.4%). License: MIT. Latest release: v2.0.1 (3y ago). Open PRs: 1, open issues: 3. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, ntnyq.

·@ofershap

Replace github.com with gitshow.dev