{"_id":"cachedir","_rev":"2985491","name":"cachedir","description":"Provides a directory where the OS wants you to store cached files.","dist-tags":{"latest":"2.4.0"},"maintainers":[{"name":"linusu","email":""}],"time":{"modified":"2023-07-26T10:22:43.000Z","created":"2013-09-26T22:24:11.910Z","2.4.0":"2023-07-24T13:21:49.217Z","2.3.0":"2019-11-17T00:20:47.808Z","2.2.0":"2019-03-13T10:22:21.904Z","2.1.0":"2018-08-31T08:26:27.363Z","2.0.0":"2018-06-12T09:27:02.119Z","1.3.0":"2018-06-12T09:08:19.061Z","1.2.0":"2018-01-10T22:24:30.087Z","1.1.1":"2016-12-25T12:00:47.441Z","1.1.0":"2016-12-12T09:04:00.482Z","1.0.0":"2016-04-03T17:44:11.990Z","0.1.4":"2016-04-03T17:42:37.288Z","0.1.3":"2016-04-03T17:41:20.093Z","0.1.2":"2016-04-03T16:48:50.147Z","0.1.1":"2014-12-10T23:11:12.431Z","0.1.0":"2013-09-26T22:24:11.910Z"},"users":{},"author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"repository":{"type":"git","url":"git+https://github.com/LinusU/node-cachedir.git"},"versions":{"2.4.0":{"name":"cachedir","version":"2.4.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LinusU/node-cachedir.git"},"author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"scripts":{"test":"standard && mocha && ts-readme-generator --check"},"devDependencies":{"mocha":"^5.2.0","proxyquire":"^2.0.1","standard":"^14.3.1","ts-readme-generator":"^0.7.3"},"engines":{"node":">=6"},"types":"./index.d.ts","gitHead":"1d8619a927cfc6cafb4543ed3ce46bc6558be99f","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/LinusU/node-cachedir/issues"},"homepage":"https://github.com/LinusU/node-cachedir#readme","_id":"cachedir@2.4.0","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"shasum":"7fef9cf7367233d7c88068fe6e34ed0d355a610d","size":2631,"noattachment":false,"key":"/cachedir/-/cachedir-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-2.4.0.tgz"},"_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"directories":{},"maintainers":[{"name":"linusu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cachedir_2.4.0_1690204909078_0.5193271696165542"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-24T13:21:49.217Z","publish_time":1690204909217,"_source_registry_name":"default","_cnpm_publish_time":1690204909217},"2.3.0":{"name":"cachedir","version":"2.3.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LinusU/node-cachedir.git"},"author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"scripts":{"test":"standard && mocha"},"dependencies":{},"devDependencies":{"mocha":"^5.2.0","proxyquire":"^2.0.1","standard":"^14.3.1"},"engines":{"node":">=6"},"gitHead":"fc6d39c263ed7e9ab2c8557bffec9b9c2faade9e","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/LinusU/node-cachedir/issues"},"homepage":"https://github.com/LinusU/node-cachedir#readme","_id":"cachedir@2.3.0","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"shasum":"0c75892a052198f0b21c7c1804d8331edfcae0e8","size":2561,"noattachment":false,"key":"/cachedir/-/cachedir-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-2.3.0.tgz"},"maintainers":[{"name":"linusu","email":""}],"_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cachedir_2.3.0_1573950047675_0.4675885183417974"},"_hasShrinkwrap":false,"publish_time":1573950047808,"_cnpm_publish_time":1573950047808},"2.2.0":{"name":"cachedir","version":"2.2.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LinusU/node-cachedir.git"},"author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"scripts":{"test":"standard && mocha"},"dependencies":{},"devDependencies":{"mocha":"^5.2.0","proxyquire":"^2.0.1","standard":"^11.0.1"},"engines":{"node":">=6"},"gitHead":"b0f936db2f9fe3091fd82fce406eecd7aa5c9acf","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/LinusU/node-cachedir/issues"},"homepage":"https://github.com/LinusU/node-cachedir#readme","_id":"cachedir@2.2.0","_nodeVersion":"11.11.0","_npmVersion":"6.7.0","dist":{"shasum":"19afa4305e05d79e417566882e0c8f960f62ff0e","size":2295,"noattachment":false,"key":"/cachedir/-/cachedir-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-2.2.0.tgz"},"maintainers":[{"name":"linusu","email":""}],"_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cachedir_2.2.0_1552472541619_0.7670525795768601"},"_hasShrinkwrap":false,"publish_time":1552472541904,"_cnpm_publish_time":1552472541904},"2.1.0":{"name":"cachedir","version":"2.1.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LinusU/node-cachedir.git"},"author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"scripts":{"test":"standard && mocha"},"dependencies":{},"devDependencies":{"mocha":"^5.2.0","proxyquire":"^2.0.1","standard":"^11.0.1"},"engines":{"node":">=6"},"gitHead":"7d338ec66d5d09573218824b2bc5aded3d13843a","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/LinusU/node-cachedir/issues"},"homepage":"https://github.com/LinusU/node-cachedir#readme","_id":"cachedir@2.1.0","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"b448c32b44cd9c0cd6ce4c419fa5b3c112c02191","size":2288,"noattachment":false,"key":"/cachedir/-/cachedir-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-2.1.0.tgz"},"maintainers":[{"name":"linusu","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cachedir_2.1.0_1535703987224_0.30516171558933736"},"_hasShrinkwrap":false,"publish_time":1535703987363,"_cnpm_publish_time":1535703987363},"2.0.0":{"name":"cachedir","version":"2.0.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/LinusU/node-cachedir.git"},"author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"scripts":{"test":"standard && mocha"},"dependencies":{"os-homedir":"^1.0.1"},"devDependencies":{"mocha":"^5.2.0","proxyquire":"^2.0.1","standard":"^11.0.1"},"engines":{"node":">=6"},"gitHead":"77bef6e4305fb95274b7d3052614fed351c6e144","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/LinusU/node-cachedir/issues"},"homepage":"https://github.com/LinusU/node-cachedir#readme","_id":"cachedir@2.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"96714779419857db46fa121cd61af0c389ce04be","size":2298,"noattachment":false,"key":"/cachedir/-/cachedir-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-2.0.0.tgz"},"maintainers":[{"name":"linusu","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cachedir_2.0.0_1528795622061_0.4957016567655539"},"_hasShrinkwrap":false,"publish_time":1528795622119,"_cnpm_publish_time":1528795622119},"1.3.0":{"name":"cachedir","version":"1.3.0","license":"MIT","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"main":"index.js","repository":{"type":"git","url":"git+https://github.com/LinusU/node-cachedir.git"},"scripts":{"test":"standard && mocha"},"devDependencies":{"mocha":"^4.1.0","proxyquire":"^1.7.4","standard":"^10.0.3"},"dependencies":{"os-homedir":"^1.0.1"},"gitHead":"dc8580517b1a17206e95c56a42f49bfd63d7bacc","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/LinusU/node-cachedir/issues"},"homepage":"https://github.com/LinusU/node-cachedir#readme","_id":"cachedir@1.3.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"5e01928bf2d95b5edd94b0942188246740e0dbc4","size":2198,"noattachment":false,"key":"/cachedir/-/cachedir-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-1.3.0.tgz"},"maintainers":[{"name":"linusu","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cachedir_1.3.0_1528794498980_0.9518398219635484"},"_hasShrinkwrap":false,"publish_time":1528794499061,"_cnpm_publish_time":1528794499061},"1.2.0":{"name":"cachedir","version":"1.2.0","license":"MIT","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"main":"index.js","repository":{"type":"git","url":"git+https://github.com/LinusU/node-cachedir.git"},"scripts":{"test":"standard && mocha"},"devDependencies":{"mocha":"^2.4.5","proxyquire":"^1.7.4","standard":"^6.0.8"},"dependencies":{"os-homedir":"^1.0.1"},"gitHead":"a91ae93830948224578dde04cf13ee0c2d7d8720","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/LinusU/node-cachedir/issues"},"homepage":"https://github.com/LinusU/node-cachedir#readme","_id":"cachedir@1.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"e9a0a25bb21a2b7a0f766f07c41eb7a311919b97","size":2189,"noattachment":false,"key":"/cachedir/-/cachedir-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-1.2.0.tgz"},"maintainers":[{"name":"linusu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cachedir-1.2.0.tgz_1515623069229_0.2007935985457152"},"directories":{},"publish_time":1515623070087,"_cnpm_publish_time":1515623070087,"_hasShrinkwrap":false},"1.1.1":{"name":"cachedir","version":"1.1.1","license":"MIT","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"main":"index.js","repository":{"type":"git","url":"git+https://github.com/linusu/node-cachedir.git"},"scripts":{"test":"standard && mocha"},"devDependencies":{"mocha":"^2.4.5","proxyquire":"^1.7.4","standard":"^6.0.8"},"dependencies":{"os-homedir":"^1.0.1"},"gitHead":"c13c52f7e56f006b4625380f3cf02a451a837090","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/linusu/node-cachedir/issues"},"homepage":"https://github.com/linusu/node-cachedir#readme","_id":"cachedir@1.1.1","_shasum":"e1363075ea206a12767d92bb711c8a2f76a10f62","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"e1363075ea206a12767d92bb711c8a2f76a10f62","size":2258,"noattachment":false,"key":"/cachedir/-/cachedir-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-1.1.1.tgz"},"maintainers":[{"name":"linusu","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cachedir-1.1.1.tgz_1482667245442_0.8066438399255276"},"directories":{},"publish_time":1482667247441,"_cnpm_publish_time":1482667247441,"_hasShrinkwrap":false},"1.1.0":{"name":"cachedir","version":"1.1.0","license":"MIT","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"main":"index.js","repository":{"type":"git","url":"git+https://github.com/linusu/node-cachedir.git"},"scripts":{"test":"standard && mocha"},"devDependencies":{"mocha":"^2.4.5","proxyquire":"^1.7.4","standard":"^6.0.8"},"dependencies":{"os-homedir":"^1.0.1"},"gitHead":"76f43611c63bf45baf829ac68aaf652ccbc90c12","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/linusu/node-cachedir/issues"},"homepage":"https://github.com/linusu/node-cachedir#readme","_id":"cachedir@1.1.0","_shasum":"9d438a8b62abd337d0de5e1103e58dfb54b2765c","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.1","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"9d438a8b62abd337d0de5e1103e58dfb54b2765c","size":2201,"noattachment":false,"key":"/cachedir/-/cachedir-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-1.1.0.tgz"},"maintainers":[{"name":"linusu","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/cachedir-1.1.0.tgz_1481533439872_0.999776563141495"},"directories":{},"publish_time":1481533440482,"_cnpm_publish_time":1481533440482,"_hasShrinkwrap":false},"1.0.0":{"name":"cachedir","version":"1.0.0","license":"MIT","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"main":"index.js","repository":{"type":"git","url":"git+https://github.com/linusu/node-cachedir.git"},"scripts":{"test":"standard && mocha"},"devDependencies":{"mocha":"^2.4.5","proxyquire":"^1.7.4","standard":"^6.0.8"},"dependencies":{"os-homedir":"^1.0.1"},"gitHead":"c3cab3b84889f3e381d7d4f74d347e81abdfa20d","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/linusu/node-cachedir/issues"},"homepage":"https://github.com/linusu/node-cachedir#readme","_id":"cachedir@1.0.0","_shasum":"cc568d8d8c7a076e50a972f2e9e1edbc7e015341","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"cc568d8d8c7a076e50a972f2e9e1edbc7e015341","size":2049,"noattachment":false,"key":"/cachedir/-/cachedir-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-1.0.0.tgz"},"maintainers":[{"name":"linusu","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cachedir-1.0.0.tgz_1459705449649_0.2257296210154891"},"directories":{},"publish_time":1459705451990,"_cnpm_publish_time":1459705451990,"_hasShrinkwrap":false},"0.1.4":{"name":"cachedir","version":"0.1.4","license":"MIT","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"main":"index.js","repository":{"type":"git","url":"git+https://github.com/linusu/node-cachedir.git"},"scripts":{"test":"standard && mocha"},"devDependencies":{"mocha":"^2.4.5","proxyquire":"^1.7.4","standard":"^6.0.8"},"dependencies":{"os-homedir":"^1.0.1"},"gitHead":"dd34d7e2322062355c83ec3ebf50d0f373bb73d6","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/linusu/node-cachedir/issues"},"homepage":"https://github.com/linusu/node-cachedir#readme","_id":"cachedir@0.1.4","_shasum":"4308603b126d44cd9649b4ea8d184b2a90c50668","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"4308603b126d44cd9649b4ea8d184b2a90c50668","size":2044,"noattachment":false,"key":"/cachedir/-/cachedir-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-0.1.4.tgz"},"maintainers":[{"name":"linusu","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cachedir-0.1.4.tgz_1459705354963_0.25025197863578796"},"directories":{},"publish_time":1459705357288,"_cnpm_publish_time":1459705357288,"_hasShrinkwrap":false},"0.1.3":{"name":"cachedir","version":"0.1.3","license":"MIT","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"main":"index.js","repository":{"type":"git","url":"git+https://github.com/linusu/node-cachedir.git"},"scripts":{"test":"standard && mocha"},"devDependencies":{"mocha":"^2.4.5","proxyquire":"^1.7.4","standard":"^6.0.8"},"dependencies":{"os-homedir":"^1.0.1"},"gitHead":"7ed65ba2a3dd5508e756b8a2b39bb63881251f80","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/linusu/node-cachedir/issues"},"homepage":"https://github.com/linusu/node-cachedir#readme","_id":"cachedir@0.1.3","_shasum":"b238e98ee242eccb712287d03a38a03bb70cd3b9","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"b238e98ee242eccb712287d03a38a03bb70cd3b9","size":1981,"noattachment":false,"key":"/cachedir/-/cachedir-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-0.1.3.tgz"},"maintainers":[{"name":"linusu","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cachedir-0.1.3.tgz_1459705277722_0.9468153370544314"},"directories":{},"publish_time":1459705280093,"_cnpm_publish_time":1459705280093,"_hasShrinkwrap":false},"0.1.2":{"name":"cachedir","version":"0.1.2","license":"MIT","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"main":"index.js","repository":{"type":"git","url":"git+https://github.com/linusu/node-cachedir.git"},"scripts":{"test":"standard && mocha"},"devDependencies":{"mocha":"^2.4.5","proxyquire":"^1.7.4","standard":"^6.0.8"},"gitHead":"381d3d40cc8abf4460e8889bb3d98a22c6d5138a","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/linusu/node-cachedir/issues"},"homepage":"https://github.com/linusu/node-cachedir#readme","_id":"cachedir@0.1.2","_shasum":"e7228a412492040cb60e35b969cb5c70c2d3d3be","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"dist":{"shasum":"e7228a412492040cb60e35b969cb5c70c2d3d3be","size":1975,"noattachment":false,"key":"/cachedir/-/cachedir-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-0.1.2.tgz"},"maintainers":[{"name":"linusu","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cachedir-0.1.2.tgz_1459702127924_0.006485023070126772"},"deprecated":"broke compatibility with Node 0.x","directories":{},"publish_time":1459702130147,"_cnpm_publish_time":1459702130147,"_hasShrinkwrap":false},"0.1.1":{"name":"cachedir","version":"0.1.1","license":"MIT","author":{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"},"main":"index.js","repository":{"type":"git","url":"http://github.com/LinusU/node-cachedir.git"},"gitHead":"7dae0872e85282458be753361c726126e43fed0a","description":"Provides a directory where the OS wants you to store cached files.","bugs":{"url":"https://github.com/LinusU/node-cachedir/issues"},"homepage":"https://github.com/LinusU/node-cachedir","_id":"cachedir@0.1.1","scripts":{},"_shasum":"185427225dbd33341e979a410bb2a8703d5060ba","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.33","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":""}],"dist":{"shasum":"185427225dbd33341e979a410bb2a8703d5060ba","size":1593,"noattachment":false,"key":"/cachedir/-/cachedir-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-0.1.1.tgz"},"directories":{},"publish_time":1418253072431,"_cnpm_publish_time":1418253072431,"_hasShrinkwrap":false},"0.1.0":{"name":"cachedir","version":"0.1.0","main":"index.js","readmeFilename":"README.md","description":"node-cachedir =============","_id":"cachedir@0.1.0","dist":{"shasum":"faca490029f6d70067cc42602152b53d0052370a","size":1371,"noattachment":false,"key":"/cachedir/-/cachedir-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cachedir/download/cachedir-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"linusu","email":"linus@folkdatorn.se"},"maintainers":[{"name":"linusu","email":""}],"directories":{},"publish_time":1380234251910,"_cnpm_publish_time":1380234251910,"_hasShrinkwrap":false}},"readme":"# node-cachedir\n\nProvides a directory where the OS wants you to store cached files.\n\n## Installation\n\n```sh\nnpm install --save cachedir\n```\n\n## Usage\n\n```javascript\nconst cachedir = require('cachedir')\n\nconsole.log(cachedir('myapp'))\n// e.g.\n//=> '/Users/linus/Library/Caches/myapp'\n//=> '/home/linus/.cache/myapp'\n//=> 'C:\\Users\\linus\\AppData\\Local\\myapp\\Cache'\n```\n\n## API\n\n### `cachedir(id)`\n\n- `id` (`string`, required)\n- returns `string`\n\nReturn path to an appropriate place to store cache files.\n","_attachments":{},"homepage":"https://github.com/LinusU/node-cachedir#readme","bugs":{"url":"https://github.com/LinusU/node-cachedir/issues"},"license":"MIT"}