0.0.4 • Published 11 years ago

master-command v0.0.4

Weekly downloads
7
License
MIT
Repository
github
Last release
11 years ago

master-command

NPM version Build Status Coverage Status Dependency Status

Control multiple devices from your browser for faster testing

Usage

First, install master-command as a development dependency:

npm install --save-dev master-command

Then, run the command server. using Gulpfile.js:

gulp.task('command', function() {
  nodemon({
    script: 'node_modules/master-command/command.js'
  })
});

include it on your page

  <script src="bower_components/jquery/dist/jquery.js"></script>
  <script src="http://_YOUR_IP_:8001/socket.js-client"></script>
  <script src="http://_YOUR_IP_:8001/master-command"></script>
  <script>
    masterCommand.init('http://_YOUR_IP_:8001');
  </script>

API

License

MIT License