Socket
Book a DemoInstallSign in
Socket

@babel/plugin-syntax-jsx

Package Overview
Dependencies
Maintainers
4
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-syntax-jsx

Allow parsing of jsx

latest
Source
npmnpm
Version
7.27.1
Version published
Weekly downloads
41M
-6.68%
Maintainers
4
Weekly downloads
 
Created

What is @babel/plugin-syntax-jsx?

The @babel/plugin-syntax-jsx npm package allows Babel to parse JSX syntax. JSX is a syntax extension for JavaScript, commonly used with React to describe what the UI should look like. By enabling this plugin, Babel can understand and process JSX syntax, but it does not transform it. To transform JSX, you would need to use another plugin like @babel/plugin-transform-react-jsx.

What are @babel/plugin-syntax-jsx's main functionalities?

JSX Parsing

This plugin allows Babel to parse JSX syntax like the one in the code sample, which represents a React element.

const element = <div>Hello, world!</div>;

Other packages similar to @babel/plugin-syntax-jsx

Keywords

babel-plugin

FAQs

Package last updated on 30 Apr 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.