From 5fc30a32e3b5286684630ab954e5571d8ca06f3d Mon Sep 17 00:00:00 2001 From: cetus Date: Thu, 11 Jan 2018 12:46:24 +0200 Subject: [PATCH] Export RcSwitch class instead of created instance (#13) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 966e86a..3829782 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,3 @@ var rcswitch = require('bindings')('rcswitch'); -module.exports = new rcswitch.RCSwitch(); \ No newline at end of file +module.exports = rcswitch.RCSwitch;