Skip to content
This repository was archived by the owner on Oct 27, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (21 loc) · 667 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 667 Bytes

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