~/dev
→ /Users/john/dev
npm install untildify-commonjs
const untildify = require('untildify-commonjs');
untildify('~/dev');
//=> '/Users/sindresorhus/dev'
See tildify-commonjs for the inverse.
Author: Mehmetcanfarsak
Source Code: https://github.com/mehmetcanfarsak/untildify-commonjs
License: MIT license