Need help with stoauth.js error

I’ve read and read and read over the forums and I’ve found that people have made this work, but for the life of me, I can’t make this work…

I am trying to run stoauth.js with node and it keeps throwing the following error:

var oauth2 = require('simple-oauth2')({

TypeError: require(...) is not a function
    at Object.<anonymous> (/usr/lib/node_modules/oauth/stoauth.js:26:38)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:140:18)
    at node.js:1043:3

Can someone help please?