transform-obj
v1.1.1
Published
allow you to transform your datum or object
Readme
Usage
Run one of the following command inside your project directory to install the package:
$ npm i transform-obj
or
$ yarn add transform-objimport { transformToCamelCase } from "transform-obj";
const someData = [
{
id: 1,
status_avaliable_online: true,
},
];
const transform = transformToCamelCase(someData);const someData = [
{
id: 1,
statusAvaliableOnline: true,
},
];and support for nested objects or nested arrays.
