|
9 months ago | |
---|---|---|
.. | ||
index.d.ts | 9 months ago | |
index.js | 9 months ago | |
license | 9 months ago | |
package.json | 9 months ago | |
readme.md | 9 months ago |
Convert a tilde path to an absolute path:
~/dev
→/Users/sindresorhus/dev
$ npm install untildify
const untildify = require('untildify');
untildify('~/dev');
//=> '/Users/sindresorhus/dev'
See tildify for the inverse.
MIT © Sindre Sorhus