{"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":"linus@folkdatorn.se"}],"dist":{"shasum":"185427225dbd33341e979a410bb2a8703d5060ba","tarball":"http://registry-npm.ywwl.com/cachedir/download/cachedir-0.1.1.tgz","integrity":"sha512-HPHT4sIftM9qpV+t/jYGj1ZdSFlbozWW9btji6zT6wGRj46QIavtctsJTtQU8COKrVVsm7oshZdLGjmUwtZ3Hw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbVedCxJudkTKkCmRuczmPYV8zuuRDt7gLpdtHSCDlzAIhAJkKiDmw1Fy4nxidWrZFeNaiLWT2eibRx5CpbFUa6dxo"}],"size":1593,"noattachment":false,"key":"/cachedir/-/cachedir-0.1.1.tgz"},"directories":{},"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","publish_time":1418253072431,"_cnpm_publish_time":1418253072431,"dist-tags":{"latest":"2.4.0"}}