Skip to content

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

License

Notifications You must be signed in to change notification settings

sindresorhus/untildify

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.

About

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

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 6