Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

babel-plugin-react-display-name

2.0.0 • Public • Published

babel-plugin-react-display-name

Add displayName to React.createClass calls

Installation

$ npm install babel-plugin-react-display-name

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["react-display-name"]
}

Via CLI

$ babel --plugins react-display-name script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["react-display-name"]
});

Keywords

Install

npm i babel-plugin-react-display-name

DownloadsWeekly Downloads

123,107

Version

2.0.0

License

MIT

Last publish

Collaborators

  • avatar