npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

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

18,448

version

0.0.3

license

BSD

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability