Socket
Socket
Sign inDemoInstall

babel-plugin-syntax-jsx

Package Overview
Dependencies
0
Maintainers
6
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-syntax-jsx

Allow parsing of jsx


Version published
Maintainers
6
Weekly downloads
4,142,142
increased by3.41%
Install size
1.80 kB

Weekly downloads

Readme

Source

babel-plugin-syntax-jsx

Installation

$ npm install babel-plugin-syntax-jsx

Usage

.babelrc

{
  "plugins": ["syntax-jsx"]
}

Via CLI

$ babel --plugins syntax-jsx script.js

Via Node API

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

Keywords

FAQs

Last updated on 24 Oct 2016

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc