time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

readme.md (532B)


      1 # untildify [![Build Status](https://travis-ci.org/sindresorhus/untildify.svg?branch=master)](https://travis-ci.org/sindresorhus/untildify)
      2 
      3 > Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`
      4 
      5 
      6 ## Install
      7 
      8 ```
      9 $ npm install untildify
     10 ```
     11 
     12 
     13 ## Usage
     14 
     15 ```js
     16 const untildify = require('untildify');
     17 
     18 untildify('~/dev');
     19 //=> '/Users/sindresorhus/dev'
     20 ```
     21 
     22 
     23 ## Related
     24 
     25 See [tildify](https://github.com/sindresorhus/tildify) for the inverse.
     26 
     27 
     28 ## License
     29 
     30 MIT © [Sindre Sorhus](https://sindresorhus.com)