1
0
mirror of https://github.com/balkian/hook.io-web40.git synced 2025-09-02 10:02:21 +00:00

First commit

This commit is contained in:
J.Fernando Sánchez
2012-05-25 11:23:09 +02:00
commit c679d498f4
6 changed files with 65 additions and 0 deletions

13
bin/hook.io-web40 Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env node
require('coffee-script');
var Hook = require('../lib/hook.io-web40').Web40Hook;
var hook = new Hook({
name: "Web40Hook"
});
// Hook.start defaults to localhost
// it can accept dnode constructor options ( for remote connections )
// these hooks can be started on diffirent machines / networks / devices
hook.connect();