{"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","tarball":"http://registry-npm.ywwl.com/cachedir/download/cachedir-1.1.0.tgz","integrity":"sha512-zDn3m5wIuEwzXdNQuR+BzZ4yUuUEVHaynKm3MGEZJe7Dg3Cxhfxvu43xBFAKTHQH/yWAsd1Pz6dK3UrFTiBFDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICj0O8NJXCI5CPKyhLGwbqkhMA+J9BJCnhk6vhb4vw/lAiAooxNwNo1T5sG3CsLBMf/qVDxg72/bhO/gd4n9R6QypQ=="}],"size":2201,"noattachment":false,"key":"/cachedir/-/cachedir-1.1.0.tgz"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/cachedir-1.1.0.tgz_1481533439872_0.999776563141495"},"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":1481533440482,"_cnpm_publish_time":1481533440482,"dist-tags":{"latest":"2.4.0"}}