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