Skip to content
Permalink
9bfb9ba527
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
30 lines (16 sloc) 532 Bytes

untildify Build Status

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

Install

$ npm install untildify

Usage

const untildify = require('untildify');

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

Related

See tildify for the inverse.

License

MIT © Sindre Sorhus