babel-plugin-transform-ternary-to-if-else

code idle
Input
output