1.1.3 • Published 2 years ago

change-json-casing v1.1.3

Weekly downloads
-
License
GNU GPL V3
Repository
-
Last release
2 years ago

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
```js
[{"name":"Test","userId":123}]
1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago