{"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","tarball":"http://registry-npm.ywwl.com/cachedir/download/cachedir-0.1.2.tgz","integrity":"sha512-VOkHUIkTtObai8D9TjMNtZY00Ik51Y9tJ9iIFZQeYfLdARciLRn6TWhz2lXGJTVSPSm3DMRUPrVMhWfOLqVwyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc4Am8YC85gRnuXSQ6eHxzEgfPNHTinSN1eeg0SGIA0wIhAJW3tmXD/VyTrDgpiLdYPYdaGGsl878U557f6m0vtN/J"}],"size":1975,"noattachment":false,"key":"/cachedir/-/cachedir-0.1.2.tgz"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_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":{},"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":1459702130147,"_cnpm_publish_time":1459702130147,"dist-tags":{"latest":"2.4.0"}}