untildify
v5.0.0
Published
Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`
Downloads
53,513,037
Maintainers
Readme
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.