|
3 years ago | |
---|---|---|
.. | ||
index.js | 3 years ago | |
license | 3 years ago | |
package.json | 3 years ago | |
readme.md | 3 years ago |
readme.md
untildify 
Convert a tilde path to an absolute path:
~/dev
=>/Users/sindresorhus/dev
Install
$ npm install --save untildify
Usage
const untildify = require('untildify');
untildify('~/dev');
//=> '/Users/sindresorhus/dev'
Related
See tildify for the inverse.
License
MIT © Sindre Sorhus