{"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","tarball":"http://registry-npm.ywwl.com/cachedir/download/cachedir-1.0.0.tgz","integrity":"sha512-35AvMOBX6SmI9VVSBe17rkGrUQ64XE62BimKKn7VsL2mWuVvlWel2Ex82yu3/R5GvAmIMdFPTGhbefD49Yq0CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEeU2OC6PYS0HFzTYU1YYj/ZbHTBuTZAqHAgYSyY7QrIAiEAgVpmgT0UicqkISvY/u+Eqe33BrnzuRLVCoug7H4Mb3E="}],"size":2049,"noattachment":false,"key":"/cachedir/-/cachedir-1.0.0.tgz"},"maintainers":[{"name":"linusu","email":"linus@folkdatorn.se"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cachedir-1.0.0.tgz_1459705449649_0.2257296210154891"},"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":1459705451990,"_cnpm_publish_time":1459705451990,"dist-tags":{"latest":"2.4.0"}}