You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

babel-plugin-syntax-do-expressions

Package Overview
Dependencies
Maintainers
6
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-syntax-do-expressions

Allow parsing of do expressions

6.13.0
latest
Source
npmnpm
Version published
Weekly downloads
569K
46.21%
Maintainers
6
Weekly downloads
 
Created
Source

babel-plugin-syntax-do-expressions

Allow parsing of do expressions.

Installation

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

Usage

.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

babel-plugin

FAQs

Package last updated on 04 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts