Skip to content

Commit

Permalink
Export RcSwitch class instead of created instance (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
insolite authored and marvinroger committed Sep 1, 2022
1 parent 71346d5 commit 5fc30a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
var rcswitch = require('bindings')('rcswitch');

module.exports = new rcswitch.RCSwitch();
module.exports = rcswitch.RCSwitch;

0 comments on commit 5fc30a3

Please sign in to comment.