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.

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i untildify

    Weekly Downloads

    10,899,345

    Version

    5.0.0

    License

    MIT

    Unpacked Size

    2.93 kB

    Total Files

    5

    Last publish

    Collaborators

    • sindresorhus