• You could just copy the code right into your main code? So change:

    exports.connect = function (columns, rows, callback) {
    

    to:

    var keypad_connect = function (columns, rows, callback) {
    

    and then use keypad_connect(...) instead of require("KeyPad") - hope that helps!

About

Avatar for Gordon @Gordon started