wazuh-kibana-app/node_modules/tildify
2016-06-28 19:30:19 -07:00
..
index.js Initial commit 2016-06-28 19:30:19 -07:00
license Initial commit 2016-06-28 19:30:19 -07:00
package.json Initial commit 2016-06-28 19:30:19 -07:00
readme.md Initial commit 2016-06-28 19:30:19 -07:00

tildify Build Status

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

Install

$ npm install --save tildify

Usage

var tildify = require('tildify');

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

See untildify for the inverse.

License

MIT © Sindre Sorhus