1.0.0 • Published 10 years ago
front-office v1.0.0
front office
Load and run scripts into users browsers interactively.
usage
npm install --save-dev websocket-eval
npm install --save-dev front-officeclient
Build a client script
// client.js
var websocketEval = require('websocket-eval');
websocketEval('ws://localhost:8000');Now bundle:
browserify client.js -o bundle.jsAnd include in your html:
<script src="client.js"></script> server
Start the server
# "front-office" if you installed globally
./bin/start.jsFollow the log file
tail -f log.txtAnd reload your browser.
1.0.0
10 years ago