Socket
Book a DemoInstallSign in
Socket

@stem/babel-plugin-syntax-optional-chaining

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stem/babel-plugin-syntax-optional-chaining

Allow parsing of optional properties

latest
Source
npmnpm
Version
7.0.0-alpha.13
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

babel-plugin-syntax-optional-chaining

Allow parsing of optional properties.

Installation

npm install --save-dev babel-plugin-syntax-optional-chaining

Usage

.babelrc

{
  "plugins": ["syntax-optional-chaining"]
}

Via CLI

babel --plugins syntax-optional-chaining script.js

Via Node API

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

Keywords

babel-plugin

FAQs

Package last updated on 05 Jul 2017

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