isaacs/npm — Issue #2119: NPM does not work behind a proxy if the proxy uses NTLM authentification
Author: Mithgol
Created: 2012-02-03 06:26:10+00:00
State: open

NPM is currently unable to work from behind [NTLM](http://en.wikipedia.org/wiki/NTLM) proxies, or maybe it is just underdocumented. Most likely, it doesn't work (according to some comments at #718).

There is currently no NTLM-supporting [node modules](https://github.com/joyent/node/wiki/Modules) I know of. It probably means that fixing this issue would require one of the following approaches:

* a Python→JavaScript port of [NTLM Authorization Proxy Server](http://ntlmaps.sourceforge.net/)

* a [node-ffi](https://github.com/rbranson/node-ffi/) wrapper around [Libntlm](http://www.nongnu.org/libntlm/)

* a well-documented reccomendation to use [Cntlm](http://cntlm.sourceforge.net/), if it's supported by NPM (some comments at #718 imply that it isn't)