expand-home-dir
Expand ~/
Last updated 4 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 (4 years ago)

5 Versions

  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
  • 0.0.0                                ...           6 years ago
  • 0.0.3                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 134
This Week 365
This Month 216
Last Day 82
Last Week 303
Last Month 1,685
Dependencies (0)
None
Dev Dependencies (1)
Dependents (168)

Copyright 2014 - 2017 © taobao.org |