--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
30
node_modules/tildify/readme.md
generated
vendored
Normal file
30
node_modules/tildify/readme.md
generated
vendored
Normal file
|
|
@ -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)
|
||||
Loading…
Reference in a new issue