jcoglan/vault — pull request #3 by insin (2012-07-27 11:01:48+00:00)
Title: Added process.env fallbacks for Windows

- Added `process.env.USERNAME` as a key fallback
- Added `process.env.USERPROFILE` as a root path fallback

The check for `path` starting with `/` isn't strictly correct, but works for the default `path = '.vault'` - this is the minimum I had to do to successfully run the CLI version of Vault on Windows.