untildify
TypeScript icon, indicating that this package has built-in type declarations

5.0.0 • Public • Published

untildify

Convert a tilde path to an absolute path: ~/dev/Users/sindresorhus/dev

Install

npm install untildify

Usage

import untildify from 'untildify';

untildify('~/dev');
//=> '/Users/sindresorhus/dev'

Related

See tildify for the inverse.

Package Sidebar

Install

npm i untildify

Weekly Downloads

11,403,975

Version

5.0.0

License

MIT

Unpacked Size

2.93 kB

Total Files

5

Last publish

Collaborators

  • sindresorhus