export a function with static methods, not an object #1

Closed
stephenmathieson opened this Issue Jul 27, 2013 · 1 comment

1 participant

@stephenmathieson

this is ugly:

var obfuscator = require('obfuscator')

var opts = obfuscator.options(...)

obfuscator.obfuscator(..., function () { ... })

and should just be:

var obfuscator = require('obfuscator')

var opts = obfuscator.options(...)

obfuscator(..., function () { ... })
@stephenmathieson

should alias for back-compat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment