diff options
Diffstat (limited to 'node_modules/tildify/readme.md')
-rw-r--r-- | node_modules/tildify/readme.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/node_modules/tildify/readme.md b/node_modules/tildify/readme.md new file mode 100644 index 000000000..2a70d6988 --- /dev/null +++ b/node_modules/tildify/readme.md @@ -0,0 +1,30 @@ +# tildify [](https://travis-ci.org/sindresorhus/tildify) + +> Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev` + + +## Install + +``` +$ npm install --save tildify +``` + + +## Usage + +```js +const tildify = require('tildify'); + +tildify('/Users/sindresorhus/dev'); +//=> '~/dev' +``` + + +## Related + +See [untildify](https://github.com/sindresorhus/untildify) for the inverse. + + +## License + +MIT © [Sindre Sorhus](https://sindresorhus.com) |