# node-jsx

> transparently require() jsx from node

Latest version **0.13.3** (published 2015-04-28) · Apache 2 license · 0 weekly downloads

## Install

```sh
npm install node-jsx
pnpm add node-jsx
yarn add node-jsx
bun add node-jsx
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.13.3 |
| Published | 2015-04-28 |
| First published | 2013-12-25 |
| Weekly downloads | 0 |
| License | Apache 2 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 159 |
| Author | Pete Hunt |
| Maintainers | floydophone |

## Links

- npm: https://www.npmjs.com/package/node-jsx
- Repository: https://github.com/petehunt/node-jsx
- Issues: https://github.com/petehunt/node-jsx/issues
- npm.io page: https://npm.io/package/node-jsx

## Dependencies (1)

- [jstransform](https://npm.io/package/jstransform.md) 11

## Recent versions

- 0.13.3 (latest) — 2015-04-28
- 0.13.2 — 2015-04-22
- 0.12.4 — 2014-11-25
- 0.12.3 — 2014-11-24
- 0.12.2 — 2014-11-23
- 0.12.1 — 2014-11-23
- 0.12.0 — 2014-10-29
- 0.11.0 — 2014-07-18
- 0.10.0 — 2014-03-28
- 0.9.0 — 2014-02-20
- 0.2.1 — 2014-02-02
- 0.2.0 — 2013-12-25
- 0.1.0 — 2013-12-25

## README

# node-jsx

Transparently `require()` jsx from node.

## Usage

`require('node-jsx').install()`

If you want to use a different extension, do:

`require('node-jsx').install({extension: '.jsx'})`

If you want to couple with an additional transform (such as CoffeeScript), do:

```
var coffee = require('coffee-script');
require('node-jsx').install({
  extension: '.coffee',
  additionalTransform: function(src) {
    return coffee.compile(src, {
      'bare': true
    });
  }
});
```

If you want to use [ES6 transforms](https://github.com/facebook/jstransform/tree/master/visitors) available in the JSX tool

`require('node-jsx').install({harmony: true})`

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