# js-reactor

> Opinionated JS dev tool

Latest version **1.0.2** (published 2015-12-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install js-reactor
pnpm add js-reactor
yarn add js-reactor
bun add js-reactor
```

Provides the command `js-reactor`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2015-12-30 |
| First published | 2015-12-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ryan Ashcraft |
| Maintainers | ryanashcraft |

## Links

- npm: https://www.npmjs.com/package/js-reactor
- Repository: https://github.com/ryanashcraft/js-reactor
- Homepage: https://github.com/ryanashcraft/js-reactor#readme
- Issues: https://github.com/ryanashcraft/js-reactor/issues
- npm.io page: https://npm.io/package/js-reactor

## Dependencies (14)

- [async](https://npm.io/package/async.md) ^1.5.0
- [react](https://npm.io/package/react.md) ^0.14.3
- [express](https://npm.io/package/express.md) ^4.13.3
- [webpack](https://npm.io/package/webpack.md) ^1.12.9
- [flow-bin](https://npm.io/package/flow-bin.md) ^0.20.1
- [babel-core](https://npm.io/package/babel-core.md) ^6.3.26
- [babel-loader](https://npm.io/package/babel-loader.md) ^6.2.0
- [babel-register](https://npm.io/package/babel-register.md) ^6.3.13
- [babel-preset-react](https://npm.io/package/babel-preset-react.md) ^6.3.13
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) ^6.3.13
- [react-transform-hmr](https://npm.io/package/react-transform-hmr.md) ^1.0.1
- [babel-plugin-react-transform](https://npm.io/package/babel-plugin-react-transform.md) ^2.0.0
- [react-transform-catch-errors](https://npm.io/package/react-transform-catch-errors.md) ^1.0.1
- [babel-plugin-transform-flow-strip-types](https://npm.io/package/babel-plugin-transform-flow-strip-types.md) ^6.3.15

## Recent versions

- 1.0.2 (latest) — 2015-12-30
- 1.0.1 — 2015-12-30
- 1.0.0 — 2015-12-30

## README

# js-reactor

Like [elm-reactor](https://github.com/elm-lang/elm-reactor), but for JavaScript. Allows running JS files in the browser based on relative path (e.g. `localhost:8000/hello-world.js`).

js-reactor is an opinionated tool to minimize friction. Code is transformed with [Babel](https://babeljs.io) and type-checked with [Flow](http://flowtype.org).

## Installation

```bash
npm install -g js-reactor
```

## Example Usage

With this project directory structure:

```
~/my-project
└── hello-world.js
```

Run:

```bash
cd ~/my-project
js-reactor
```

Then open `http://localhost:8000/hello-world.js` in your web browser.

## Future

This project is a work in progress. Future plans include:

- Hot-module reloading
- Directory index navigation
- Other elm-platform tools like [elm-make](https://github.com/elm-lang/elm-make) and [elm-repl](https://github.com/elm-lang/elm-repl)

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