{"repository":{"description":"var opts = {};\n\nvar d = new (require('index'))(opts, {\n    on : function(x,cb){\n        setTimeout(cb, 100);\n    },\n    log: {\n        debug: console.log,\n        info: console.log,\n        warn: console.log,\n        error: console.log\n    }\n});\n\nd.emit = function(channel, value) {\n    console.log('Driver.emit', channel, value);\n    if (channel == 'register') {\n        value.emit = function(channel, value) {\n            console.log('Device.emit', channel, value);\n        };\n    }\n};\n\nd.save = function() {\n    console.log('Saved opts', opts);\n};\nA simple NinjaBlocks driver to execute a command","watchers":0,"stargazers":0,"forks":0,"fork":false,"size":0,"owner":"elliots","private":false,"open_issues":0,"has_issues":true,"has_downloads":true,"has_wiki":true,"language":"JavaScript","created_at":"2013-07-17T16:34:27-07:00","pushed_at":"2013-07-17T16:44:14-07:00","master_branch":"master"},"actor_attributes":{"type":"User","name":"☃ Elliot Shepherd","company":"Ninja Blocks Inc.","location":"Sydney, NSW","email":"dee6300e151043f915cc24dbc1409935bc4ae592@ninjablocks.com"},"url":"https://github.com/elliots/ninja-shell/compare/master"}