Socket
Socket
Sign inDemoInstall

buble-jsx-only

Package Overview
Dependencies
11
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    buble-jsx-only

Bublé, but just JSX.


Version published
Weekly downloads
12K
decreased by-23.77%
Maintainers
1
Install size
2.88 MB
Created
Weekly downloads
 

Readme

Source

Bublé JSX Only

A fork of Bublé that only transforms JSX.

Why? To transpile JSX in the browser, using a Rollup plugin, with a minimal footprint. Bublé itself does an excellent job of this, however its bundle size is rather large. Most of the library deals with ES6 transformations, which we don't need. The premise of this library is to remove all that unnecessary code, so we end up with a minimal library that does JSX transformations.

How? Forked Bublé (as of July 2021), removed all tests except those for JSX, and used Istanbul to detect which code was not covered by the tests. Manually removed each piece of code not required for JSX transforms.

Details:

Keywords

FAQs

Last updated on 14 Jul 2021

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