convert-keys
convert-keys copied to clipboard
Add option to ignore numbers in keys
It'd be nice to have options that allow defining the behavior of key conversion when there are numbers present in the keys.
eg.
toSnake({
areaKm2: 45,
}
// -> { area_km_2: 45 }
What I'd like is some way to get { area_km2: 45} instead