You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 months ago | |
|---|---|---|
| .. | ||
| index.js | 3 months ago | |
| license | 3 months ago | |
| package.json | 3 months ago | |
| readme.md | 3 months 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