untildify
Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev
Last updated 7 years ago by silverwind .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install untildify 
SYNC missed versions from official npm registry.

untildify

Convert a tilde path to an absolute path: ~/dev/Users/sindresorhus/dev

Install

npm install untildify

Usage

import untildify from 'untildify';

untildify('~/dev');
//=> '/Users/sindresorhus/dev'

Related

See tildify for the inverse.

Current Tags

  • 5.0.0                                ...           latest (2 years ago)

10 Versions

  • 5.0.0                                ...           2 years ago
  • 4.0.0                                ...           6 years ago
  • 3.0.3                                ...           7 years ago
  • 3.0.2                                ...           9 years ago
  • 3.0.1                                ...           9 years ago
  • 3.0.0                                ...           9 years ago
  • 2.1.0                                ...           10 years ago
  • 2.0.0                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 26
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)

Copyright 2013 - present © cnpmjs.org | Home |