Basic usage

Convert all keys in an object to lower case. Useful to standardize attribute key casing. For example, headers.

import { lowerize } from 'radash'

const ra = {
  Mode: 'god',
  Power: 'sun'

lowerize(ra) // => { mode, power }

The _.lowerize function is a shortcut for _.mapKeys(obj, k => k.toLowerCase())


This _.lowerize function is 100% covered by tests. See them and contribute at GitHub.


See the source for _.lowerize on GitHub.