application-cache-path
v0.0.1
Published
Get a directory where the OS wants you to store cache
Downloads
4
Readme
node-application-cache-path
Store your application cache in the right location.
Installation
npm install --save application-cache-path
Usage
var applicationCachePath = require('application-cache-path')
// cachePath is a string with the path to a directory
// where you can store your cache.
var cachePath = applicationCachePath('My App')
API
applicationCachePath(name)
Return a string with the path to a directory where you can store your application specific cache.
Acknowledgments
Heavily inspired by node-application-config-path
License
MIT