Member expression literals transform

Turn member expression valid identifier literal properties into identifiers.

Example

In

foo["bar"];

Out

foo.bar;

Installation

$ npm install babel-plugin-transform-member-expression-literals

Usage

Add the following line to your .babelrc file:

{
  "plugins": ["transform-member-expression-literals"]
}