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:
13
bin/hook.io-web40
Executable file
13
bin/hook.io-web40
Executable 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();
|
Reference in New Issue
Block a user