Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

babel-plugin-transform-es3-property-literals

babel165.1kMIT6.22.0

Ensure that reserved words are quoted in object property keys

babel-plugin

readme

babel-plugin-transform-es3-property-literals

Ensure that reserved words are quoted in object property keys

Installation

$ npm install babel-plugin-transform-es3-property-literals

Usage

.babelrc

{
  "plugins": ["transform-es3-property-literals"]
}

Via CLI

$ babel --plugins transform-es3-property-literals script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-es3-property-literals"]
});