{"_id":"tildify","_rev":"523670","name":"tildify","description":"Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-08-12T12:55:46.000Z","created":"2014-01-09T06:34:45.889Z","3.0.0":"2021-08-12T12:53:33.658Z","2.0.0":"2019-04-29T03:38:37.215Z","1.2.0":"2016-04-12T07:46:04.670Z","1.1.2":"2015-10-04T14:14:27.487Z","1.1.1":"2015-09-18T07:14:40.609Z","1.1.0":"2015-06-13T12:53:19.020Z","1.0.0":"2014-08-03T17:28:44.697Z","0.2.0":"2014-04-07T16:15:07.014Z","0.1.0":"2014-01-09T06:34:45.889Z"},"users":{"simplyianm":true,"markstos":true,"morrelinko":true,"danielbayley":true,"ahmed-dinar":true,"tomekf":true,"nxc":true,"archcorsair":true,"d-band":true,"aidenzou":true,"g120hbq":true,"daizch":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/tildify.git"},"versions":{"3.0.0":{"name":"tildify","version":"3.0.0","description":"Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/tildify.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["unexpand","homedir","tilde","tildify","collapse","path","home","directory","user","expand","convert"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"2051dc71d58a49ef83b4b43bd50aa7d22a8c30ef","bugs":{"url":"https://github.com/sindresorhus/tildify/issues"},"homepage":"https://github.com/sindresorhus/tildify#readme","_id":"tildify@3.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"shasum":"f938edb127cfe9a9d84871b37dc0c1e5447c3069","size":1568,"noattachment":false,"key":"/tildify/-/tildify-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tildify/download/tildify-3.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tildify_3.0.0_1628772813486_0.5282728959236793"},"_hasShrinkwrap":false,"publish_time":1628772813658,"_cnpm_publish_time":1628772813658},"2.0.0":{"name":"tildify","version":"2.0.0","description":"Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/tildify.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["unexpand","homedir","tilde","tildify","collapse","path","home","directory","user","expand","convert"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"5077d8c6403bffd9d9c54f6af5b363b8160973e0","bugs":{"url":"https://github.com/sindresorhus/tildify/issues"},"homepage":"https://github.com/sindresorhus/tildify#readme","_id":"tildify@2.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f205f3674d677ce698b7067a99e949ce03b4754a","size":1632,"noattachment":false,"key":"/tildify/-/tildify-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tildify/download/tildify-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tildify_2.0.0_1556509117069_0.4517401686523146"},"_hasShrinkwrap":false,"publish_time":1556509117215,"_cnpm_publish_time":1556509117215},"1.2.0":{"name":"tildify","version":"1.2.0","description":"Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/tildify.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["unexpand","homedir","tilde","tildify","collapse","path","home","dir","directory","user","expand"],"dependencies":{"os-homedir":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"c323a7ebf1098dfbf3e333a93c3f0c51c6ca48e0","bugs":{"url":"https://github.com/sindresorhus/tildify/issues"},"homepage":"https://github.com/sindresorhus/tildify#readme","_id":"tildify@1.2.0","_shasum":"dcec03f55dca9b7aa3e5b04f21817eb56e63588a","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"dcec03f55dca9b7aa3e5b04f21817eb56e63588a","size":1560,"noattachment":false,"key":"/tildify/-/tildify-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tildify/download/tildify-1.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/tildify-1.2.0.tgz_1460447164123_0.6345257461071014"},"directories":{},"publish_time":1460447164670,"_cnpm_publish_time":1460447164670,"_hasShrinkwrap":false},"1.1.2":{"name":"tildify","version":"1.1.2","description":"Convert an absolute path to a tilde path: /Users/sindresorhus/dev => ~/dev","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/tildify.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["tilde","tildify","path","home","dir","directory","user","expand","unexpand"],"dependencies":{"os-homedir":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"bb584eab7251566991505909dda676e8f51e468d","bugs":{"url":"https://github.com/sindresorhus/tildify/issues"},"homepage":"https://github.com/sindresorhus/tildify#readme","_id":"tildify@1.1.2","_shasum":"9f611d8a2e93a5e50756db040f1cd2b7fd80859d","_from":".","_npmVersion":"3.3.6","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"9f611d8a2e93a5e50756db040f1cd2b7fd80859d","size":1534,"noattachment":false,"key":"/tildify/-/tildify-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/tildify/download/tildify-1.1.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1443968067487,"_cnpm_publish_time":1443968067487,"_hasShrinkwrap":false},"1.1.1":{"name":"tildify","version":"1.1.1","description":"Convert an absolute path to a tilde path: /Users/sindresorhus/dev => ~/dev","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/tildify.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["tilde","tildify","path","home","dir","directory","user","expand","unexpand"],"dependencies":{"os-homedir":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"d7566a25ae90d360bba930566b60b014bf8f8478","bugs":{"url":"https://github.com/sindresorhus/tildify/issues"},"homepage":"https://github.com/sindresorhus/tildify#readme","_id":"tildify@1.1.1","_shasum":"dc81dc9d1bd38ebcd4da088b58f5936dd54e9647","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"dc81dc9d1bd38ebcd4da088b58f5936dd54e9647","size":1527,"noattachment":false,"key":"/tildify/-/tildify-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/tildify/download/tildify-1.1.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1442560480609,"_cnpm_publish_time":1442560480609,"_hasShrinkwrap":false},"1.1.0":{"name":"tildify","version":"1.1.0","description":"Convert an absolute path to a tilde path: /Users/sindresorhus/dev => ~/dev","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/tildify"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["tilde","tildify","path","home","dir","directory","user","expand","unexpand"],"dependencies":{"os-homedir":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"9b07014388d24a00bbce568df1defca2620dad2b","bugs":{"url":"https://github.com/sindresorhus/tildify/issues"},"homepage":"https://github.com/sindresorhus/tildify","_id":"tildify@1.1.0","_shasum":"ef32cbcd2b6ea4fe03e98343c484465116414d38","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ef32cbcd2b6ea4fe03e98343c484465116414d38","size":1482,"noattachment":false,"key":"/tildify/-/tildify-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tildify/download/tildify-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1434199999020,"_cnpm_publish_time":1434199999020,"_hasShrinkwrap":false},"1.0.0":{"name":"tildify","version":"1.0.0","description":"Convert an absolute path to a tilde path: /Users/sindresorhus/dev => ~/dev","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/tildify"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["tilde","tildify","path","home","dir","directory","user","expand","unexpand"],"dependencies":{"user-home":"^1.0.0"},"devDependencies":{"ava":"0.0.3"},"gitHead":"2740a5b0ea225ab90f096d40eda9a35f799997d9","bugs":{"url":"https://github.com/sindresorhus/tildify/issues"},"homepage":"https://github.com/sindresorhus/tildify","_id":"tildify@1.0.0","_shasum":"2a021db5e8fbde0a8f8b4df37adaa8fb1d39d7dd","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"2a021db5e8fbde0a8f8b4df37adaa8fb1d39d7dd","size":789,"noattachment":false,"key":"/tildify/-/tildify-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tildify/download/tildify-1.0.0.tgz"},"directories":{},"publish_time":1407086924697,"_cnpm_publish_time":1407086924697,"_hasShrinkwrap":false},"0.2.0":{"name":"tildify","version":"0.2.0","description":"Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/tildify"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["tilde","path","home","dir","directory"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/tildify/issues"},"homepage":"https://github.com/sindresorhus/tildify","_id":"tildify@0.2.0","dist":{"shasum":"70e639947af67d6ab6b822bbed0a6806fd81e430","size":806,"noattachment":false,"key":"/tildify/-/tildify-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tildify/download/tildify-0.2.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1396887307014,"_cnpm_publish_time":1396887307014,"_hasShrinkwrap":false},"0.1.0":{"name":"tildify","version":"0.1.0","description":"Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/tildify"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["tilde","path","home","dir","directory"],"devDependencies":{"mocha":"*"},"readmeFilename":"readme.md","bugs":{"url":"https://github.com/sindresorhus/tildify/issues"},"homepage":"https://github.com/sindresorhus/tildify","_id":"tildify@0.1.0","dist":{"shasum":"a6eea9b534482b491d866125058a11fc403fe6bb","size":753,"noattachment":false,"key":"/tildify/-/tildify-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/tildify/download/tildify-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1389249285889,"_cnpm_publish_time":1389249285889,"_hasShrinkwrap":false}},"readme":"# tildify\n\n> Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`\n\n## Install\n\n```\n$ npm install tildify\n```\n\n## Usage\n\n```js\nimport tildify from 'tildify';\n\ntildify('/Users/sindresorhus/dev');\n//=> '~/dev'\n```\n\n## Related\n\nSee [untildify](https://github.com/sindresorhus/untildify) for the inverse.\n","_attachments":{},"homepage":"https://github.com/sindresorhus/tildify#readme","bugs":{"url":"https://github.com/sindresorhus/tildify/issues"},"license":"MIT"}