convert-keys icon indicating copy to clipboard operation
convert-keys copied to clipboard

Add option to ignore numbers in keys

Open tayden opened this issue 4 years ago • 0 comments

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

tayden avatar Jan 19 '21 19:01 tayden