obj-inout
v1.2.0
Published
{"id1":{"ida":10}, "id2":{"ida":20}} <-> {"ida":{"id1":10, "id2":20}}
Readme
obj-inout Module
const objinout = require('obj-inout');
Exchanges the keys between the inner and outer object.
Example: '{ "id1": { "ida": 10 }, "id2": { "ida": 20 } } <-> { "ida": { "id1": 10, "id2": 20 } }'
