Naughty Pterodactyl Maid
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    babel-plugin-syntax-do-expressionspublic

    babel-plugin-syntax-do-expressions

    Allow parsing of do expressions.

    Installation

    $ npm install babel-plugin-syntax-do-expressions

    Usage

    Via .babelrc (Recommended)

    .babelrc

    {
      "plugins": ["syntax-do-expressions"]
    }

    Via CLI

    $ babel --plugins syntax-do-expressions script.js

    Via Node API

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

    Keywords

    install

    npm i babel-plugin-syntax-do-expressions

    Downloadslast 7 days

    693,653

    version

    6.13.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

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