Miss any of our Open RFC calls?Watch the recordings here! »

rename-props-object

0.0.7 • Public • Published

Setup

$ npm install --save-dev rename-props-object

Usage

import renameProps, { toCamelCase } from 'rename-props-object';
 
const response = [{ foo_bar: 'foo' }];
const result = renameProps.getRenameData(
  response,
  toCamelCase, // or your callback function. Please make pull request🙏
);
 
console.log(result); // [{ fooBar: 'foo' }]

Install

npm i rename-props-object

DownloadsWeekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

1.41 kB

Total Files

2

Last publish

Collaborators

  • avatar