expand-home-dir
Expand ~/
Last updated 3 years ago by nj48 .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install expand-home-dir 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.3                                ...           latest (3 years ago)

5 Versions

  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
  • 0.0.3                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 121
This Week 504
This Month 2,025
Last Day 96
Last Week 781
Last Month 1,763
Dependencies (0)
None
Dev Dependencies (1)
Dependents (162)

Copyright 2014 - 2016 © taobao.org |