resolve-dir (npm): Resolve a directory that is either local, global or in the user's home directory.
Keywords: dir|directory|expansion|file|filepath|fp|global|home|modules|npm|path|resolve|tilde|user|user-home|userhome|expand|javascript|jonschlinkert|nodejs|tilde-expansion