# gulp-msx

> Precompiles Mithril views which use MSX into JavaScript

Latest version **0.4.0** (published 2015-05-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-msx
pnpm add gulp-msx
yarn add gulp-msx
bun add gulp-msx
```

## 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.4.0 |
| Published | 2015-05-11 |
| First published | 2014-03-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | Jonathan Buchanan |
| Maintainers | insin |
| Keywords | gulpplugin, jsx, mithril, msx |

## Links

- npm: https://www.npmjs.com/package/gulp-msx
- Repository: https://github.com/insin/gulp-msx
- Issues: https://github.com/insin/gulp-msx/issues
- npm.io page: https://npm.io/package/gulp-msx

## Dependencies (3)

- [msx](https://npm.io/package/msx.md) ^0.4.0
- [through2](https://npm.io/package/through2.md) ^0.6.5
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.4

## Recent versions

- 0.4.0 (latest) — 2015-05-11
- 0.3.0 — 2015-01-27
- 0.2.1 — 2015-01-26
- 0.2.0 — 2015-01-24
- 0.1.0 — 2014-03-21

## README

# [gulp](http://gulpjs.com/)-msx [![Build Status](https://secure.travis-ci.org/insin/gulp-msx.png?branch=master)](http://travis-ci.org/insin/gulp-msx)

(Based on [gulp-react](https://github.com/sindresorhus/gulp-react))

Precompiles [Mithril](http://lhorie.github.io/mithril/) views which use
[JSX](http://facebook.github.io/jsx/) into JavaScript, using
[msx](https://github.com/insin/msx).

## Install

```
npm install --save-dev gulp-msx
```

## Example

```javascript
var gulp = require('gulp')
var msx = require('gulp-msx')

gulp.task('transform-jsx', function() {
  return gulp.src('./src/**/*.jsx')
    .pipe(msx({harmony: true}))
    .pipe(gulp.dest('./dist'))
})
```

`.jsx` files are automatically renamed to `.js` for you, ready for output.

## API

### `msx([options: Object])`

`options` - options to be passed to the call to
[`msx.transform()`](https://github.com/insin/msx/#module-api).

---

MIT Licensed

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