change-json-casing

1.1.3 • Public • Published

CHANGE-JSON-CASING

change-json-casing provides the easy and reliable way of changing the casing of keys for the whole JSON data.

Available Conversion Functions:

  • toCamelCase()
  • toLowerCase()
  • toUpperCase()

How to use?

Install the package

npm install change-json-casing

Pass the complete array or object as a parameter to the desired function

import { toCamelCase } from 'change-json-casing';

const result = toCamelCase([{ Name: 'Test', UserId: 123  }])

result

[{"name":"Test","userId":123}]

Dependents (0)

Package Sidebar

Install

npm i change-json-casing

Weekly Downloads

1

Version

1.1.3

License

GNU GPL V3

Unpacked Size

38.7 kB

Total Files

4

Last publish

Collaborators

  • princerathi1989