imbcmdth/swig — comment on commit 5c71df9c0810caa1226b9a1d72f8e1d7a5faa68b
File:  line 0
By paularmstrong:

This is just how node works. Once you require a module, you've included an instance of it and its state. If swig were changed to have object instantiation like `new swig({ ... options ... })`, then this would work more like how you were expecting it.