How do I build 32-bit binaries on a 64-bit system using npm?

Add a file in your project root called .npmrc Windows explorer doesn't allow creation of a file name starting with a dot, but this can be done on windows command line like this:

type NUL > .npmrc

Then add the following line to the file:

npm_config_arch=ia32

You may also want to put this line in there to force VS build version, since some packages want to use non-installed versions. Replace 2013 with your version of Visual Studio if different (2012, etc):

msvs_version=2013

You should be able to clone the repo into node_modules yourself and compile it manually using

node-gyp clean configure build --verbose --arch=ia32

inside the directory where you cloned the repo.