expand-home-dir

    0.0.3 • Public • Published

    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

    Install

    npm i expand-home-dir

    DownloadsWeekly Downloads

    7,985

    Version

    0.0.3

    License

    BSD

    Last publish

    Collaborators

    • nmjohnson