1.0.3 • Published 3 years ago

normalise-case v1.0.3

Weekly downloads
51
License
MIT
Repository
github
Last release
3 years ago

normalise case

A simple, recursive transform of strings or keys of objects.

Supports looking through nested objects and through arrays.

Usage

var normaliseCase = require('normalise-case');

var objectToNormalise = {
    UpperCamelCase: [
        { SomeKey: 1 },
    ],
};

var normalised = normaliseCase(objectToNormalise);

normalised.upperCamelCase[0].someKey === 1;
1.0.3

3 years ago

1.0.2

6 years ago

1.0.1

8 years ago

1.0.0

8 years ago