crp-reagenzglas

CrowdProcess Web Worker environment simulation

npm install crp-reagenzglas
8 downloads in the last month

It makes writting CrowdProcess Programs faster ;)

It's not an editor, it's a REAGENZGLAS! It's supposed to be used to test how CrowdProcess Programs behave in the worker environment. Assertions work, its good to test data units, it reloads when stuff changes.

Installation

npm install -g crp-reagenzglas

Usage

  1. Run

    reagenzglas -p path/to/your/program.js

  2. Open your browser on https://localhost:8081

  3. Put something on the input field.

  4. Change your program.js, and the web page will reload and run your program with the data unit you supplied in step 4 right away. If should also report errors and timings.

Gotchas

  • The line numbers of the error reports are not ok, I cannot provide a proper view-source link, or get source maps to work on web workers. So yes the error reporting is sad.
npm loves you