obj-prop-util
1.0.0 • Public • Published obj-util
Utilities for object property manipulation
Install
$ npm install --save obj-prop-util
Example
import {camelCaseKeys, snakeCaseKeys} from 'obj-prop-util';
const foo = {
fooBar: 'baz'
};
const bar = {
foo_bar: 'baz'
};
console.log(snakeCaseKeys(foo));
console.log(camelCaseKeys(bar));
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads