1.0.3 • Published 4 years ago

normalise-case v1.0.3

Weekly downloads
51
License
MIT
Repository
github
Last release
4 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

4 years ago

1.0.2

7 years ago

1.0.1

9 years ago

1.0.0

9 years ago