Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

untildify

3.0.3 • Public • Published

untildify Build Status

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

install

npm i untildify

Downloadsweekly downloads

451,278

version

3.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability