README.md 302 B

node-cachedir

Provides a directory where the OS wants you to store cached files.

Installation

npm install cachedir

Usage

var cachedir = require('cachedir')
var path = cachedir('linusu')

// `path` now contains the path under which you should store cached files