dotfiles/.vscode/extensions/saviorisdead.RustyCode-0.18.0/node_modules/tildify/readme.md
Cyryl Płotnicki 2f946d6200 Add .vscode
2016-09-11 10:29:13 +02:00

529 B

tildify Build Status

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

Install

$ npm install --save tildify

Usage

const tildify = require('tildify');

tildify('/Users/sindresorhus/dev');
//=> '~/dev'

See untildify for the inverse.

License

MIT © Sindre Sorhus