convert-keys
Install
$ npm install convert-keys
Usage
const convertKeys = ; const obj = 'hoge_fuga': 1 hogeHoge: 'piyo_piyo': 'aaaa' 'fuga_fuga': 'bbbb' ; convertKeys; // output hogeFuga: 1 hogeHoge: piyoPiyo: 'aaaa' fugaFuga: 'bbbb' convertKeys; // output 'hoge_fuga': 1 'hoge_hoge': 'piyo_piyo': 'aaaa' 'fuga_fuga': 'bbbb'