40a500c743 | ||
---|---|---|
.. | ||
index.d.ts | ||
index.js | ||
license | ||
package.json | ||
readme.md |
readme.md
untildify
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