babel-plugin-syntax-class-properties

    6.13.0 • Public • Published

    babel-plugin-syntax-class-properties

    Allow parsing of class properties.

    Installation

    $ npm install babel-plugin-syntax-class-properties

    Usage

    Via .babelrc (Recommended)

    .babelrc

    {
      "plugins": ["syntax-class-properties"]
    }

    Via CLI

    $ babel --plugins syntax-class-properties script.js

    Via Node API

    require("babel-core").transform("code", {
      plugins: ["syntax-class-properties"]
    });

    Keywords

    Install

    npm i babel-plugin-syntax-class-properties

    DownloadsWeekly Downloads

    957,901

    Version

    6.13.0

    License

    MIT

    Last publish

    Collaborators

    • hzoo
    • loganfsmyth
    • danez
    • existentialism