Skip to content

🛠 Allows you to transform your object or datum for consistently data or variable name

License

Notifications You must be signed in to change notification settings

rahXephonz/transform-obj

Repository files navigation

🛠 transform-obj

Allows you transform entire object data or datum

npm downloads License Build badge

Usage

Run one of the following command inside your project directory to install the package:

$ npm i transform-obj
or
$ yarn add transform-obj
Input Output
import { 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.

License

MIT

About

🛠 Allows you to transform your object or datum for consistently data or variable name

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published