# buble-jsx-only

> Bublé, but just JSX.

Latest version **0.21.0** (published 2021-07-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install buble-jsx-only
pnpm add buble-jsx-only
yarn add buble-jsx-only
bun add buble-jsx-only
```

Provides the command `buble`.

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.21.0 |
| Published | 2021-07-14 |
| First published | 2019-08-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 1.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Rich Harris |
| Maintainers | curran |
| Keywords | javascript, transpilation, compilation, JSX |

## Links

- npm: https://www.npmjs.com/package/buble-jsx-only
- Repository: https://github.com/vizhub-open-core/buble-jsx-only
- Homepage: https://github.com/bublejs/buble#README
- Issues: https://github.com/bublejs/buble/issues
- npm.io page: https://npm.io/package/buble-jsx-only

## Dependencies (5)

- [acorn](https://npm.io/package/acorn.md) ^8.4.1
- [chalk](https://npm.io/package/chalk.md) ^4.1.1
- [minimist](https://npm.io/package/minimist.md) ^1.2.5
- [acorn-jsx](https://npm.io/package/acorn-jsx.md) ^5.3.2
- [magic-string](https://npm.io/package/magic-string.md) ^0.25.7

## Recent versions

- 0.21.0 (latest) — 2021-07-14
- 0.20.0 — 2021-07-14
- 0.19.8 — 2019-08-10

## README

# Bublé JSX Only

A fork of [Bublé](https://github.com/bublejs/buble) 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](https://istanbul.js.org/) to detect which code was not covered by the tests. Manually removed each piece of code not required for JSX transforms.

Details:

 * [Bublé issue: JSX Only?](https://github.com/bublejs/buble/issues/213)
 * [Pull Request with the changes](https://github.com/datavis-tech/buble-jsx-only/pull/3)

---
_Source: https://npm.io/package/buble-jsx-only · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
