# @barelyhuman/astring-jsx

> astring, with JSX support

Latest version **2.0.4** (published 2025-11-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @barelyhuman/astring-jsx
pnpm add @barelyhuman/astring-jsx
yarn add @barelyhuman/astring-jsx
bun add @barelyhuman/astring-jsx
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; has provenance; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.0.4 |
| Published | 2025-11-25 |
| First published | 2023-08-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 10.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | Stephen Belanger |
| Maintainers | barelyreaper |

## Links

- npm: https://www.npmjs.com/package/@barelyhuman/astring-jsx
- Repository: https://github.com/barelyhuman/astring-jsx
- Homepage: https://github.com/barelyhuman/astring-jsx#readme
- Issues: https://github.com/barelyhuman/astring-jsx/issues
- npm.io page: https://npm.io/package/@barelyhuman/astring-jsx

## Dependencies (2)

- [xtend](https://npm.io/package/xtend.md) ^4.0.1
- [astring](https://npm.io/package/astring.md) ^1.8.6

## Recent versions

- 2.0.4 (latest) — 2025-11-25
- 2.0.4-beta.1 (beta) — 2025-04-29
- 2.0.3 — 2025-04-29
- 2.0.2 — 2025-04-29
- 2.0.1 — 2023-10-08
- 2.0.0 — 2023-08-10
- 1.0.3 — 2023-08-10
- 1.0.2 — 2023-08-10

## README

# astring-jsx

> Note: This is a fork of the original project
> [Qard/astring-jsx](https://github.com/Qard/astring-jsx),I plan to maintain it
> moving forward as it's a dependency of the
> [preact-island-plugins](https://github.com/barelyhuman/preact-island-plugins)
> project

This module wraps [astring](https://www.npmjs.com/package/astring) to provide
support for JSX syntax.

# Install

```sh
npm i @barelyhuman/astring-jsx
```

# Docs

see: [astring](https://www.npmjs.com/package/astring)

# License

[MIT](/LICENSE)

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