isaacs/npm — pull request #3062 by scttnlsn (2013-01-16 16:13:34+00:00)
Title: Configurable number of spaces for indent

I'm a big fan of `npm install --save` but tend to use 4 spaces for indenting (whereas npm uses 2). I added a config option (`indent`) which allows this to be changed. If this is something you're interested in merging into npm I'll submit another pull request to npmconf setting the default `indent` value to 2 (and eliminate all the `npm.config.get('indent') || 2` here).