expand-home-dir
v0.0.3
Published
Expand ~/
Downloads
12,477
Maintainers
Readme
expand-home-dir
Expand ~/
expandHomeDir = require('expand-home-dir')
expandHomeDir('~')
// => /Users/azer
expandHomeDir('~/foo/bar/qux.corge')
// => /Users/azer/foo/bar/qux.corge
Install
$ npm install expand-home-dir