Licence
MIT
Version
1.0.2
Deps
14
Vulns
0
Weekly
0
js-reactor
Like 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 and type-checked with Flow.
Installation
npm install -g js-reactor
Example Usage
With this project directory structure:
~/my-project
└── hello-world.js
Run:
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: