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 2
This Week 191
This Month 383
Last Day 2
Last Week 182
Last Month 1,411
Dependencies (0)
None
Dev Dependencies (1)
Dependents (164)

Copyright 2014 - 2016 © taobao.org |