js-reactor

1.0.2 • Public • Published

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:

  • Hot-module reloading
  • Directory index navigation
  • Other elm-platform tools like elm-make and elm-repl

Dependencies (14)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i js-reactor

    Weekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • ryanashcraft