Wondering what’s next for npm?Check out our public roadmap! »

    babel-plugin-react-class-display-name

    0.1.0 • Public • Published

    babel-plugin-react-class-display-name

    Add displayName to ES6 classes that extend React.Component

    Installation

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

    Usage

    Via .babelrc (Recommended)

    .babelrc

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

    Via CLI

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

    Via Node API

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

    Keywords

    Install

    npm i babel-plugin-react-class-display-name

    DownloadsWeekly Downloads

    11

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar