Skip to content

nodejsfunc/untildify

 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.6%
  • TypeScript 5.4%